Merge commit '2.5.0' into moonshot-packaging-fixes
[shibboleth/sp.git] / msi / WiX / ShibbolethSP-install-dlg.wxs
diff --git a/msi/WiX/ShibbolethSP-install-dlg.wxs b/msi/WiX/ShibbolethSP-install-dlg.wxs
new file mode 100644 (file)
index 0000000..f6d1310
--- /dev/null
@@ -0,0 +1,117 @@
+<?xml version='1.0' encoding='UTF-8'?>\r
+\r
+<!-- Licensed to the University Corporation for Advanced Internet\r
+     Development, Inc. (UCAID) under one or more contributor license\r
+     agreements.  See the NOTICE file distributed with this work for\r
+     additional information regarding copyright ownership. The UCAID\r
+     licenses this file to You under the Apache License, Version 2.0\r
+     (the 'License'); you may not use this file except in compliance\r
+     with the License.  You may obtain a copy of the License at\r
+     \r
+     http://www.apache.org/licenses/LICENSE-2.0\r
+     \r
+     Unless required by applicable law or agreed to in writing, software\r
+     distributed under the License is distributed on an 'AS IS' BASIS,\r
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\r
+     implied.  See the License for the specific language governing\r
+     permissions and limitations under the License.  -->\r
+\r
+<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>\r
+  <!-- This file contains the description of the dialog which captures installation\r
+       values for first time installs -->\r
+  <Fragment>\r
+\r
+    <UI>\r
+\r
+      <!-- This Dialog sets up:\r
+           - INSTALLDIR\r
+           - INSTALL_32BIT (if a 64bit machine)\r
+           - INSTALL_ISAPI_FILTER (if IIS about)\r
+           - SHIB_FILE_EXTENSION (if IIS about)\r
+        -->\r
+\r
+      <Dialog Id='InstallDirDlgShib' Width='370' Height='270' Title='[ProductName] Setup'>\r
+        <!-- Stuff at the top: picture, some text, a line -->\r
+        <Control Id='TopBitMap' Type='Bitmap' X='0' Y='0' Width='370' Height='44' Text='WixUI_Bmp_Banner' />\r
+        <Control Id='TopInfo' Type='Text' X='15' Y='6' Width='150' Height='12' \r
+                 Text='{\WixUI_Font_Title}Configure Shibboleth' Transparent='yes'/>\r
+        <Control Id='TopDetailed' Type='Text' X='25' Y='24' Width='320' Height='12' \r
+                 Text='Please choose where to install the Shibboleth SP and other installation options' Transparent='yes'/>\r
+        <Control Id='TopLine' Type='Line' X='0' Y='44' Width='370' Height='1' />\r
+\r
+        <!-- Buttons to control Shibboleth Setup -->\r
+        <Control Id='DescriptionLine1' Type='Text' X='25' Y='51' Height='12' Width='320' \r
+                 Text='The files for [ProductName] will be installed in the following folder.'/>\r
+\r
+        <Control Id='DescriptionLine2' Type='Text' X='25' Y='70' Height='12' Width='320' \r
+                 Text='To install into a different folder, click the Browse button, and select another folder.'/>\r
+\r
+        <Control Id='DescriptionLine3' Type='Text' X='25' Y='90' Height='24' Width='320' \r
+                 Text='You can choose not to install [ProductName] by clicking Cancel to exit the installer.' />\r
+\r
+        <!-- Where? -->\r
+        <Control Id='Dest' Type='Edit' X='25' Y='115' Width='228' Height='17' Property='INSTALLDIR' Text='[INSTALLDIR]' />\r
+        <Control Id='ChangeFolder' Type='PushButton' X='265' Y='115' Height='17' Width='56' Text='B&amp;rowse...'>\r
+          <Publish Event='SpawnDialog' Value='BrowseDlg' Order='1'>1</Publish>\r
+          <Publish Event='[_BrowseProperty]' Value='[WIXUI_INSTALLDIR]' Order='1'>1</Publish>\r
+        </Control>\r
+\r
+        <!-- Service? -->\r
+        <Control Id='InstallShibd' Type='Text' X='25' Y='148' Height='17' Width='235' \r
+                 Text='The Shibboleth Daemon will be installed as a service.' />\r
+\r
+        <!-- 32 Bits? -->\r
+        <Control Id='Install32Bit' Type='CheckBox' X='265' Y='146' Height='17' Width='80'\r
+                 Property='INSTALL_32BIT' CheckBoxValue='TRUE' \r
+                 Text='Run as 32-Bit'>\r
+          <Condition Action='show'>IS64BITINSTALL = "TRUE"</Condition>\r
+          <Condition Action='hide'>IS64BITINSTALL &lt;&gt; "TRUE"</Condition>\r
+        </Control>\r
+\r
+        <!-- ISAPI? -->\r
+        <Control Id='InstallISAPI' Type='CheckBox' X='25' Y='175' Height='17' Width='160'\r
+                 Property='INSTALL_ISAPI_FILTER' CheckBoxValue='TRUE' \r
+                 Text='Install ISAPI modules into IIS'>\r
+          <Condition Action='show'>IISMAJORVERSION</Condition>\r
+          <Condition Action='hide'>NOT IISMAJORVERSION</Condition>\r
+        </Control>\r
+        <Control Id='FileExtensionText' Type='Text' X='185' Y='178' Height='17' Width='96'\r
+                 Text='IIS Script Extension'>\r
+          <Condition Action='show'>IISMAJORVERSION</Condition>\r
+          <Condition Action='hide'>NOT IISMAJORVERSION</Condition>\r
+        </Control>\r
+        <Control Id='FileExtensionEdit' Type='Edit' X='285' Y='175' Height='17' Width='50'\r
+                 Property='SHIB_FILE_EXTENSION' Text='[SHIB_FILE_EXTENSION]'>\r
+          <Condition Action='show'>IISMAJORVERSION</Condition>\r
+          <Condition Action='hide'>NOT IISMAJORVERSION</Condition>\r
+          <Condition Action='enable'>INSTALL_ISAPI_FILTER = "TRUE"</Condition>\r
+          <Condition Action='disable'>INSTALL_ISAPI_FILTER &lt;&gt; "TRUE"</Condition>\r
+        </Control>\r
+\r
+        <!-- Stuff at the bottom: line, Back,Next, [space] Cancel -->\r
+        <Control Id='BottomLine' Type='Line' X='0' Y='234' Width='370' Height='1' />\r
+        <Control Id='Back' Type='PushButton' X='180' Y='243' Width='56' Height='17' Text='&amp;Back'>\r
+          <Publish  Event='NewDialog' Value='LicenseAgreementDlg'>1</Publish>\r
+        </Control>\r
+\r
+        <Control Id='Next' Type='PushButton' X='236' Y='243' Width='56' Height='17' Text='&amp;Next' Default='yes'>\r
+          <Publish Event='SetTargetPath' Value='[WIXUI_INSTALLDIR]'>1</Publish>\r
+          <Publish Event='DoAction' Value='WixUIValidatePath' >\r
+            NOT WIXUI_DONTVALIDATEPATH\r
+          </Publish>\r
+          <Publish Event='SpawnDialog' Value='InvalidDirDlg' >\r
+            NOT WIXUI_DONTVALIDATEPATH AND WIXUI_INSTALLDIR_VALID&lt;&gt;"1"\r
+          </Publish>\r
+          <Publish Event='NewDialog' Value='VerifyReadyDlg'>\r
+            WIXUI_DONTVALIDATEPATH OR WIXUI_INSTALLDIR_VALID="1"\r
+          </Publish>\r
+        </Control>\r
+\r
+        <Control Id='Cancel' Type='PushButton' X='304' Y='243' Width='56' Height='17' Text='&amp;Cancel' Cancel='yes'>\r
+          <Publish  Event='SpawnDialog' Value='CancelDlg'>1</Publish>\r
+        </Control>\r
+      </Dialog>\r
+\r
+    </UI>\r
+  </Fragment>\r
+</Wix>\r