source: trunk/Installer/Installers/MapGuide/MapGuide.wxs

Last change on this file was 9051, checked in by jng, 6 days ago

#2742: Change the IISVERSIONMAJOR check in the Windows installer so that it passes on Windows 10 (that bundles IIS 10.0). Since the versions of windows we support will have IIS >= 7, we don't really have to check for IISVERSIONMAJOR >= "#7". Instead, we change this check to (NOT IISVERSIONMAJOR = "#0"), which basically says IIS just have to be present, we can safely assume it will be version 7 or higher (thus appcmd.exe will be present).

File size: 86.6 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<Wix
3  xmlns="http://schemas.microsoft.com/wix/2006/wi"
4  xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"
5  xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension"
6  >
7    <?if "$(var.MgPlatform)" = "x64" ?>
8      <?define Win64 = "yes" ?>
9      <?define PlatformProgramFilesFolder = "ProgramFiles64Folder" ?>
10    <?else ?>
11      <?define Win64 = "no" ?>
12      <?define PlatformProgramFilesFolder = "ProgramFilesFolder" ?>
13    <?endif ?>
14    <Product
15           Id="*"
16           UpgradeCode="5D9A7D8D-485E-43E0-A4C8-3582E4D80051"
17           Name="$(var.MgTitle)"
18           Version="$(var.MgVersion)"
19           Manufacturer="!(loc.ProductManufacturer)"
20           Language="!(loc.LANG)" >
21
22        <Package InstallerVersion="300" Compressed="yes" Platform="$(var.MgPlatform)" />
23
24        <Media Id="1" Cabinet="MapGuideOpenSource.cab" EmbedCab="yes" CompressionLevel="none" />
25
26        <!-- Initial MapGuide Web Configuration: APACHE | IIS | MANUAL
27             RegSearches are for uninstall -->
28        <Property Id="MGWEB_CONFIG" Secure="yes" Value="APACHE">
29          <RegistrySearch
30            Id="MgWebConfigRs"
31            Type="raw"
32            Root="HKLM"
33            Win64="$(var.Win64)"
34            Key="$(var.MgRegKey)"
35            Name="MGWEB_CONFIG" />
36        </Property>
37        <Property Id="APACHE_API_TYPE" Secure="yes" Value="PHP" />
38        <Property Id="IIS_API_TYPE" Secure="yes" Value="PHP">
39          <RegistrySearch
40            Id="IisApiTypeRs"
41            Type="raw"
42            Root="HKLM"
43            Win64="$(var.Win64)"
44            Key="$(var.MgRegKey)"
45            Name="IIS_API_TYPE"  />
46        </Property>
47        <Property Id="MGSERVER_IP" Secure="yes" Value="127.0.0.1" />
48        <Property Id="APACHE_PORT" Secure="yes" Value="8008" />
49        <Property Id="APACHE_VERSION" Secure="yes" Value="2.4.18" />
50        <Property Id="PHP_VERSION" Secure="yes" Value="5.6.23" />
51        <Property Id="MG_VERSION_MAJOR_MINOR" Secure="yes" Value="3.1" />
52        <Property Id="APP_POOL_NAME" Secure="yes" Value="MapGuide31AppPool">
53            <RegistrySearch
54            Id="MgAppPoolNameRs"
55            Type="raw"
56            Root="HKLM"
57            Win64="$(var.Win64)"
58            Key="$(var.MgRegKey)"
59            Name="APP_POOL_NAME"  />
60        </Property>
61        <!-- Server Port Settings  -->
62        <Property Id="MG_ADMIN_PORT" Secure="yes" Value="2810" />
63        <Property Id="MG_CLIENT_PORT" Secure="yes" Value="2811" />
64        <Property Id="MG_SITE_PORT" Secure="yes" Value="2812" />
65        <!-- Used by FdoRegUtil.exe -->
66        <Property Id="FDO_VERSION_SMALL" Secure="yes" Value="4.1" />
67        <Property Id="FDO_VERSION" Secure="yes" Value="4.1.0.0" />
68        <!-- IIS vars -->
69        <Property Id="ASPNETVERSION" Value="v4.0" />
70        <!-- Don't try to use MG_VERSION_MAJOR_MINOR here. I tried. Just accept it and hardcode the number -->
71        <Property Id="PHP_FCGI_HANDLER_NAME" Value="MapGuide_3.1_PHP_via_FastCGI" />
72        <Property Id="MAPAGENT_ISAPI_NAME" Value="MapGuide 3.1 MapAgent ISAPI handler" />
73
74        <!--
75        These are currently static, though there is opportunity in the future for these
76        properties to be exposed in the dialog UI.
77        -->
78        <Property Id="SITE_ID" Secure="yes" Value="1" />
79        <Property Id="VIRTUALDIR" Secure="yes" Value="mapguide">
80            <RegistrySearch
81            Id="MgVirtualDirRs"
82            Type="raw"
83            Root="HKLM"
84            Win64="$(var.Win64)"
85            Key="$(var.MgRegKey)"
86            Name="VIRTUALDIR"  />
87        </Property>
88        <Property Id="MG_WEBSITE" Secure="yes" Value="Default Web Site">
89            <RegistrySearch
90            Id="MgWebsiteRs"
91            Type="raw"
92            Root="HKLM"
93            Win64="$(var.Win64)"
94            Key="$(var.MgRegKey)"
95            Name="MG_WEBSITE"  />
96        </Property>
97
98        <!-- Add Remove Programs metadata -->
99        <Property Id="ARPHELPLINK" Value="http://mapguide.osgeo.org" />
100        <Property Id="ARPURLINFOABOUT" Value="http://mapguide.osgeo.org" />
101        <Property Id="ARPPRODUCTICON" Value="OSGeo.ico" />
102       
103        <Property Id="ALLUSERS">1</Property>
104
105        <!-- we need to know what version of IIS is installed (if any) to see what options to offer during install UI, and
106             which custom actions to run during installation -->
107        <Property Id="IISVERSIONMAJOR" Value="#0" Secure="yes">
108            <RegistrySearch
109            Id="SearchRegIISVERSIONMAJOR"
110            Root="HKLM"
111            Win64="$(var.Win64)"
112            Key="Software\Microsoft\InetStp"
113            Name="MajorVersion"
114            Type="raw" />
115        </Property>
116
117        <Icon Id="OSGeo.ico" SourceFile="..\..\Support\Graphics\OSGeo.ico" />
118       
119        <Directory Id="TARGETDIR" Name="SourceDir">
120            <Directory Id="WindowsFolder">
121                <Directory Id="System32Folder" Name="System32">
122                    <Directory Id="IISROOTLOCATION" Name="inetsrv">
123
124                    </Directory>
125                </Directory>
126            </Directory>
127            <Directory Id="ProgramMenuFolder" Name="Programs"/>
128            <Directory Id="DesktopFolder" Name="Desktop"/>
129            <Directory Id="$(var.PlatformProgramFilesFolder)">
130                <Directory Id="OSGeoFolder" Name="OSGeo">
131                    <Directory Id="INSTALLLOCATION" Name="MapGuide">
132                        <!-- These are "aliases", set in the individual feature libraries.-->
133                        <Directory Id="WebParentFolder" />
134                        <Directory Id="ServerParentFolder" />
135                        <Directory Id="CsMapParentFolder" />
136                    </Directory>
137                </Directory>
138            </Directory>
139        </Directory>
140
141        <!-- The actual features are defined in the individual WiX libraries, e.g. MapGuideServer.wxs -->
142        <FeatureRef Id="CSMapFeature"/>
143        <FeatureRef Id="ServerFeature"/>
144        <FeatureRef Id="WebExtensionsFeature"/>
145
146        <UIRef Id="WixUI_Common"/>
147
148        <!-- These control UI elements -->
149        <WixVariable Id="WixUILicenseRtf" Value="Resources/LGPL21.rtf" />
150        <WixVariable Id="WixUIBannerBmp" Value="Resources/InstallerSmall.bmp" />
151        <WixVariable Id="WixUIDialogBmp" Value="Resources/InstallerLarge.bmp" />
152
153        <!-- Required to allow browsing for install directory -->
154        <Property Id="WIXUI_INSTALLDIR" Value="INSTALLLOCATION" />
155
156        <!-- This is required, it allows us to set MGWEB_CONFIG from two different dialog boxes -->
157        <Property Id="MgWeb_Config_IIS" Value="APACHE" />
158        <Property Id="MgWeb_Config_NoIIS" Value="APACHE" />
159        <CustomAction Id="MgWeb_Config_To_IIS_CA" Property="MgWeb_Config_IIS" Value="[MGWEB_CONFIG]" />
160        <CustomAction Id="MgWeb_Config_To_NoIIS_CA" Property="MgWeb_Config_NoIIS" Value="[MGWEB_CONFIG]" />
161        <CustomAction Id="MgWeb_Config_From_IIS_CA" Property="MGWEB_CONFIG" Value="[MgWeb_Config_IIS]" />
162        <CustomAction Id="MgWeb_Config_From_NoIIS_CA" Property="MGWEB_CONFIG" Value="[MgWeb_Config_NoIIS]" />
163       
164        <UI>
165            <TextStyle Id="WixUI_Font_Normal" FaceName="Tahoma" Size="8" />
166            <TextStyle Id="WixUI_Font_Bigger" FaceName="Tahoma" Size="12" />
167            <TextStyle Id="WixUI_Font_Title" FaceName="Tahoma" Size="8" Bold="yes" />
168
169            <Property Id="DefaultUIFont" Value="WixUI_Font_Normal" />
170
171            <DialogRef Id="BrowseDlg" />
172            <DialogRef Id="DiskCostDlg" />
173            <DialogRef Id="ErrorDlg" />
174            <DialogRef Id="FatalError" />
175            <DialogRef Id="FilesInUse" />
176            <DialogRef Id="MsiRMFilesInUse" />
177            <DialogRef Id="PrepareDlg" />
178            <DialogRef Id="ProgressDlg" />
179            <DialogRef Id="ResumeDlg" />
180            <DialogRef Id="UserExit" />
181
182            <!-- Dialog to warn about .NET Framework not found on system -->
183            <Dialog Id="DisabledFeaturesDialog" Width="370" Height="270" Title="!(loc.InstallerTitle)">
184                <!--
185                    Some features will not be available
186                   
187                    If you want to use these features, click on cancel and
188                    correct the problem before proceeding with installation
189
190                       IIS is not installed, so it will not be available as an installation choice.
191                       
192                       The .NET Framework 4.0 was not found, so the .NET Web Extensions for IIS will not be available
193                   
194                -->
195                <Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Transparent="yes" NoPrefix="yes" Text="{\WixUI_Font_Title}!(loc.DisabledFeaturesDialog_Title)" />
196                <Control Id="Description" Type="Text" X="25" Y="23" Width="280" Height="15" Transparent="yes" NoPrefix="yes" Text="!(loc.DisabledFeaturesDialog_Description)" />
197                <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="!(loc.InstallDirDlgBannerBitmap)" />
198                <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />
199
200                <Control Id="TxtMessageIIS" Type="Text" X="30" Y="110" Width="316" Height="26" Text="!(loc.DisabledFeaturesDialog_IIS)">
201                    <Condition Action="hide">NOT IISVERSIONMAJOR=&quot;#0&quot;</Condition>
202                </Control>
203                <Control Id="TxtMessageDotNet" Type="Text" X="30" Y="150" Width="302" Height="30" Text="!(loc.DisabledFeaturesDialog_DotNet)">
204                    <Condition Action="hide">NETFRAMEWORK40FULL</Condition>
205                </Control>
206                <Control Id="TxtMessageInstructions" Type="Text" X="22" Y="64" Width="318" Height="27" Text="!(loc.DisabledFeaturesDialog_Instructions)" />
207               
208                <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.NextButtonText)" />
209                <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Text="!(loc.BackButtonText)" />
210                <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="!(loc.CancelButtonText)" />
211            </Dialog>
212
213            <Dialog Id="FastCgiWarningDlg" Width="370" Height="270" Title="!(loc.InstallerTitle)">
214                <!--
215                    MapGuide IIS Configuration requires FastCGI to be enabled on this system
216                   
217                    You can follow the link below for more information on how to enable FastCGI
218                   
219                    http://www.iis.net/fastcgi/configuration
220                   
221                    You can ignore this message if FastCGI for IIS is already enabled. Otherwise
222                    you must cancel this installation and enable FastCGI first
223                -->
224                <Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Transparent="yes" NoPrefix="yes" Text="{\WixUI_Font_Title}!(loc.FastCgiDialog_Title)" />
225                <Control Id="Description" Type="Text" X="25" Y="23" Width="280" Height="15" Transparent="yes" NoPrefix="yes" Text="!(loc.FastCgiDialog_Description)" />
226                <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="!(loc.InstallDirDlgBannerBitmap)" />
227                <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />
228
229                <Control Id="TxtInstructions" Type="Text" Width="316" Height="30" X="25" Y="60" Text="!(loc.FastCgiDialog_Instructions)" />
230                <Control Id="TxtInstructions2" Type="Text" Width="316" Height="17" X="25" Y="100" Text="!(loc.FastCgiDialog_Instructions2)" />
231                <Control Id="TxtLink" Type="Text" Width="318" Height="17" X="30" Y="120" Text="!(loc.FastCgiDialog_Link)" />
232                <Control Id="TxtInstructions3" Type="Text" Width="318" Height="34" X="25" Y="140" Text="!(loc.FastCgiDialog_Instructions3)" />
233
234                <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.NextButtonText)" />
235                <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Text="!(loc.BackButtonText)" />
236                <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="!(loc.CancelButtonText)" />
237            </Dialog>
238           
239            <!-- Dialog to choose web server configuration: IIS / Apache / Manual -->
240            <Dialog Id="WebServerConfigDlgIIS" Width="370" Height="270" Title="!(loc.InstallerTitle)">
241                <!--
242                    Select the type of web server configuration you want
243               
244                    ( ) Bundled Configuration
245               
246                    Install and configure Apache, PHP, and Tomcat. Choose either a PHP or Java
247                    development environment for use with MapGuide
248               
249                    ( ) IIS Configuration
250               
251                    Install PHP and auto-configure IIS. Choose either a PHP or .NET development
252                    environment for use with MapGuide
253               
254                    ( ) Manual Configuration
255                   
256                    Install all required components for PHP, .NET and Java development, but don't configure
257                    a web server.
258                -->
259                <Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Transparent="yes" NoPrefix="yes" Text="{\WixUI_Font_Title}!(loc.WebServerConfigDlg_Title)" />
260                <Control Id="Description" Type="Text" X="25" Y="23" Width="280" Height="15" Transparent="yes" NoPrefix="yes" Text="!(loc.WebServerConfigDlg_Description)" />
261                <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="!(loc.InstallDirDlgBannerBitmap)" />
262                <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />
263               
264                <Control Property="MgWeb_Config_IIS" Id="RdWebConfigIIS" Type="RadioButtonGroup" X="30" Y="60" Height="138" Width="290">
265                    <RadioButtonGroup Property="MgWeb_Config_IIS">
266                        <RadioButton Text="{\WixUI_Font_Title}!(loc.WebServerConfigDlg_Apache)" ToolTip="!(loc.WebServerConfigDlg_Apache_Tooltip)" Value="APACHE" X="25" Y="10" Width="200" Height="45" />
267                        <RadioButton Text="{\WixUI_Font_Title}!(loc.WebServerConfigDlg_IIS)" ToolTip="!(loc.WebServerConfigDlg_IIS_Tooltip)" Value="IIS" X="25" Y="40" Width="200" Height="45" />
268                        <RadioButton Text="{\WixUI_Font_Title}!(loc.WebServerConfigDlg_Manual)" ToolTip="!(loc.WebServerConfigDlg_Manual_Tooltip)" Value="MANUAL" X="25" Y="70" Width="200" Height="45" />
269                    </RadioButtonGroup>
270                 </Control>
271
272                <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.NextButtonText)" />
273                <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Text="!(loc.BackButtonText)" />
274                <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="!(loc.CancelButtonText)" />
275            </Dialog>
276
277            <!-- Dialog to choose web server configuration: IIS / Apache / Manual -->
278            <Dialog Id="WebServerConfigDlgNoIIS" Width="370" Height="270" Title="!(loc.InstallerTitle)">
279                <!--
280                    Select the type of web server configuration you want
281               
282                    ( ) Bundled Configuration
283               
284                    Install and configure Apache, PHP, and Tomcat. Choose either a PHP or Java
285                    development environment for use with MapGuide
286               
287                    ( ) Manual Configuration
288                   
289                    Install all required components for PHP, .NET and Java development, but don't configure
290                    a web server.
291                -->
292                <Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Transparent="yes" NoPrefix="yes" Text="{\WixUI_Font_Title}!(loc.WebServerConfigDlg_Title)" />
293                <Control Id="Description" Type="Text" X="25" Y="23" Width="280" Height="15" Transparent="yes" NoPrefix="yes" Text="!(loc.WebServerConfigDlg_Description)" />
294                <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="!(loc.InstallDirDlgBannerBitmap)" />
295                <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />
296               
297                <Control Property="MgWeb_Config_NoIIS" Id="RdWebConfigIIS" Type="RadioButtonGroup" X="30" Y="60" Height="190" Width="290">
298                    <RadioButtonGroup Property="MgWeb_Config_NoIIS">
299                        <RadioButton Text="{\WixUI_Font_Title}!(loc.WebServerConfigDlg_Apache)" ToolTip="!(loc.WebServerConfigDlg_Apache_Tooltip)" Value="APACHE" X="25" Y="10" Width="200" Height="45" />
300                        <RadioButton Text="{\WixUI_Font_Title}!(loc.WebServerConfigDlg_Manual)" ToolTip="!(loc.WebServerConfigDlg_Manual_Tooltip)" Value="MANUAL" X="25" Y="40" Width="200" Height="45" />
301                    </RadioButtonGroup>
302                </Control>
303
304                <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.NextButtonText)" />
305                <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Text="!(loc.BackButtonText)" />
306                <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="!(loc.CancelButtonText)" />
307            </Dialog>
308
309            <Dialog Id="ServerConfigDlg" Width="370" Height="270" Title="!(loc.InstallerTitle)">
310                <!--
311               
312                MapGuide Server will be installed using the following port numbers. The Server and Web Tier configuration
313                files will be set to use the specified port numbers below.
314               
315                Admin Connection Port: _______
316                Client Connection Port: _______
317                Site Connection Port: _______
318               
319                -->
320                <Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Transparent="yes" NoPrefix="yes" Text="{\WixUI_Font_Title}!(loc.ServerConfigDlg_Title)" />
321                <Control Id="Description" Type="Text" X="25" Y="23" Width="280" Height="15" Transparent="yes" NoPrefix="yes" Text="!(loc.ServerConfigDlg_Description)" />
322                <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="!(loc.InstallDirDlgBannerBitmap)" />
323                <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />
324
325                <Control Id="LblPrompt" Type="Text" X="20" Y="60" Text="!(loc.ServerConfigDlg_Prompt)" Width="320" Height="30" />
326
327                <Control Id="LblAdminPort" Type="Text" X="20" Y="100" Text="{\WixUI_Font_Title}!(loc.ServerConfigDlg_AdminPortNo)" Width="140" Height="15" />
328                <Control Id="NumAdminPort" Type="Edit" Property="MG_ADMIN_PORT" X="170" Y="100" Width="80" Height="15" />
329                <Control Id="LblClientPort" Type="Text" X="20" Y="120" Text="{\WixUI_Font_Title}!(loc.ServerConfigDlg_ClientPortNo)" Width="140" Height="15" />
330                <Control Id="NumClientPort" Type="Edit" Property="MG_CLIENT_PORT" X="170" Y="120" Width="80" Height="15" />
331                <Control Id="LblSitePort" Type="Text" X="20" Y="140" Text="{\WixUI_Font_Title}!(loc.ServerConfigDlg_SitePortNo)" Width="140" Height="15" />
332                <Control Id="NumSitePort" Type="Edit" Property="MG_SITE_PORT" X="170" Y="140" Width="80" Height="15" />
333
334                <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.NextButtonText)" />
335                <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Text="!(loc.BackButtonText)" />
336                <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="!(loc.CancelButtonText)" />
337            </Dialog>
338           
339            <!-- Dialog to configure Apache settings: Port, PHP/Java -->
340            <Dialog Id="ApacheConfigDlg" Width="370" Height="270" Title="!(loc.InstallerTitle)">
341                <Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Transparent="yes" NoPrefix="yes" Text="{\WixUI_Font_Title}!(loc.ApacheConfigDlg_Title)" />
342                <Control Id="Description" Type="Text" X="25" Y="23" Width="280" Height="15" Transparent="yes" NoPrefix="yes" Text="!(loc.ApacheConfigDlg_Description)" />
343                <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="!(loc.InstallDirDlgBannerBitmap)" />
344                <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />
345                <!--
346                    Set up the development environment
347               
348                    Web Server Port Number:  _______________________
349                    Virtual Directory Name:  _______________________
350                    Development Environment:
351                   
352                    ( ) PHP
353                    ( ) Java
354                -->
355                <Control Id="LblServerPort" Type="Text" Text="{\WixUI_Font_Title}!(loc.ApacheConfigDlg_PortNo)" X="20" Y="60" Width="120" Height="15" />
356                <Control Id="TxtServerPort" Type="Edit" Property="APACHE_PORT" X="150" Y="60" Width="120" Height="15" />
357                <Control Id="LblVdirName" Type="Text" Text="{\WixUI_Font_Title}!(loc.ApacheConfigDlg_VDirName)" X="20" Y="80" Width="120" Height="15" />
358                <Control Id="TxtVdirName" Type="Edit" Property="VIRTUALDIR" X="150" Y="80" Width="120" Height="15" />
359                <Control Id="LblDevEnv" Type="Text" Text="{\WixUI_Font_Title}!(loc.ApacheConfigDlg_DevEnv)" X="20" Y="110" Width="120" Height="15" />
360                <Control Id="RdApacheApiType" Property="APACHE_API_TYPE" Type="RadioButtonGroup" X="20" Y="130" Height="100" Width="290">
361                    <RadioButtonGroup Property="APACHE_API_TYPE">
362                        <RadioButton Text="PHP" Value="PHP" X="25" Y="10" Width="200" Height="45" />
363                        <RadioButton Text="Java" Value="JAVA" X="25" Y="40" Width="200" Height="45" />
364                    </RadioButtonGroup>
365                </Control>
366
367                <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.NextButtonText)" />
368                <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Text="!(loc.BackButtonText)" />
369                <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="!(loc.CancelButtonText)" />
370            </Dialog>
371
372            <!-- Dialog to configure IIS settings: PHP/.net -->
373            <Dialog Id="IISLangConfigDlg" Width="370" Height="270" Title="!(loc.InstallerTitle)">
374                <Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Transparent="yes" NoPrefix="yes" Text="{\WixUI_Font_Title}!(loc.IISLangConfigDlg_Title)" />
375                <Control Id="Description" Type="Text" X="25" Y="23" Width="280" Height="15" Transparent="yes" NoPrefix="yes" Text="!(loc.IISLangConfigDlg_Description)" />
376                <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="!(loc.InstallDirDlgBannerBitmap)" />
377                <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />
378                <!--
379                Virtual Directory Name:  __________________________________
380                Development environment:
381               
382                ( ) PHP
383                ( ) .NET
384                -->
385                <Control Id="LblVDirName" Type="Text" Text="{\WixUI_Font_Title}!(loc.IISLangConfigDlg_VDirName)" X="20" Y="60" Width="120" Height="15" />
386                <Control Id="TxtVDirName" Type="Edit" Property="VIRTUALDIR" X="150" Y="60" Width="120" Height="15" />
387                <Control Id="LblDevEnv" Type="Text" Text="{\WixUI_Font_Title}!(loc.IISLangConfigDlg_DevEnv)" X="20" Y="80" Width="120" Height="15" />
388                <Control Id="RdIIsApiType" Property="IIS_API_TYPE" Type="RadioButtonGroup" Text="{\WixUI_Font_Title}!(loc.IISLangConfigDlg_DevEnv)" X="30" Y="90" Height="100" Width="290">
389                    <RadioButtonGroup Property="IIS_API_TYPE">
390                        <RadioButton Text="PHP" Value="PHP" X="25" Y="10" Width="200" Height="45" />
391                        <RadioButton Text=".NET" Value="DOTNET" X="25" Y="40" Width="200" Height="45" />
392                    </RadioButtonGroup>
393                </Control>
394                <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.NextButtonText)" />
395                <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Text="!(loc.BackButtonText)" />
396                <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="!(loc.CancelButtonText)" />
397            </Dialog>
398
399            <!-- Dialog to configure IIS7 specific things -->
400            <Dialog Id="IIS7ConfigDlg" Width="370" Height="270" Title="!(loc.InstallerTitle)">
401                <Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Transparent="yes" NoPrefix="yes" Text="{\WixUI_Font_Title}IIS 7.0 Configuration" />
402                <Control Id="Description" Type="Text" X="25" Y="23" Width="280" Height="15" Transparent="yes" NoPrefix="yes" Text="Configure IIS 7.0 Settings" />
403                <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="!(loc.InstallDirDlgBannerBitmap)" />
404                <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />
405
406                <!--
407                 
408                  Create an application pool: ___________________________
409                 
410                  It is recommended to create an application pool if you are running mixed
411                  ASP.net application environments on your web server.
412                 
413                -->
414                <Control Id="LblAppPool" Type="Text" Text="!(loc.IIS7ConfigDlg_AppPool)" X="20" Y="80" Width="240" Height="15" />
415                <Control Id="TxtAppPool" Type="Edit" Property="APP_POOL_NAME" X="20" Y="100" Width="240" Height="15" />
416                <Control Id="LblAppPoolDescription" Type="Text" Text="!(loc.IIS7ConfigDlg_AppPoolDescription)" X="20" Y="120" Width="240" Height="45" />
417
418                <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.NextButtonText)" />
419                <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Text="!(loc.BackButtonText)" />
420                <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="!(loc.CancelButtonText)" />
421            </Dialog>
422
423            <!-- Dialog to configure MG Server IP address -->
424            <Dialog Id="IPConfigDlg" Width="370" Height="270" Title="!(loc.InstallerTitle)">
425                <Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Transparent="yes" NoPrefix="yes" Text="{\WixUI_Font_Title}!(loc.IPConfigDlg_Title)" />
426                <Control Id="Description" Type="Text" X="25" Y="23" Width="280" Height="15" Transparent="yes" NoPrefix="yes" Text="!(loc.IPConfigDlg_Description)" />
427                <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="!(loc.InstallDirDlgBannerBitmap)" />
428                <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />
429                <!--
430                Enter the MapGuide Server site server IP address:
431               
432                ______________________________________________
433               
434                The site server IP address defaults to localhost (127.0.0.1)
435               
436                -->
437                <Control Id="LblServerIP" Type="Text" Text="!(loc.IPConfigDlg_IPAddress)" X="20" Y="80" Width="240" Height="15" />
438                <Control Id="TxtServerPort" Type="Edit" Property="MGSERVER_IP" X="30" Y="100" Width="120" Height="15" />
439                <Control Id="LblNote" Type="Text" Text="!(loc.IPConfigDlg_Note)" X="20" Y="120" Width="320" Height="15" />
440               
441                <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.NextButtonText)" />
442                <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Text="!(loc.BackButtonText)" />
443                <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="!(loc.CancelButtonText)" />
444            </Dialog>
445
446            <!-- Utility browse dialog to locate installation directory -->
447            <Publish Dialog="BrowseDlg" Control="OK" Event="DoAction" Value="WixUIValidatePath" Order="3">1</Publish>
448            <Publish Dialog="BrowseDlg" Control="OK" Event="SpawnDialog" Value="InvalidDirDlg" Order="4"><![CDATA[WIXUI_INSTALLDIR_VALID<>"1"]]></Publish>
449
450         
451            <!-- This section controls the order and custom UI events performed as user navigates the UI  -->
452         
453            <Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="LicenseAgreementDlg">1</Publish>
454           
455            <Publish Dialog="LicenseAgreementDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg">1</Publish>
456            <Publish Dialog="LicenseAgreementDlg" Control="Next" Event="NewDialog" Value="ServerConfigDlg" Order="1">LicenseAccepted=&quot;1&quot;</Publish>
457            <Publish Dialog="LicenseAgreementDlg" Control="Next" Event="NewDialog" Value="DisabledFeaturesDialog" Order="2">LicenseAccepted=&quot;1&quot; AND (IISVERSIONMAJOR=&quot;#0&quot; OR (NOT NETFRAMEWORK40FULL))</Publish>
458
459            <Publish Dialog="DisabledFeaturesDialog" Control="Next" Event="NewDialog" Value="ServerConfigDlg" Order="1">1</Publish>
460            <Publish Dialog="DisabledFeaturesDialog" Control="Back" Event="NewDialog" Value="LicenseAgreementDlg">1</Publish>
461            <Publish Dialog="DisabledFeaturesDialog" Control="Cancel" Event="SpawnDialog" Value="CancelDlg">1</Publish>
462
463            <Publish Dialog="ServerConfigDlg" Control="Next" Event="NewDialog" Value="WebServerConfigDlgIIS" Order="1">NOT IISVERSIONMAJOR=&quot;#0&quot;</Publish>
464            <Publish Dialog="ServerConfigDlg" Control="Next" Event="NewDialog" Value="WebServerConfigDlgNoIIS" Order="2">IISVERSIONMAJOR=&quot;#0&quot;</Publish>
465            <Publish Dialog="ServerConfigDlg" Control="Back" Event="NewDialog" Value="LicenseAgreementDlg" Order="2">1</Publish>
466            <Publish Dialog="ServerConfigDlg" Control="Cancel" Event="SpawnDialog" Value="CancelDlg">1</Publish>
467
468            <Publish Dialog="WebServerConfigDlgIIS" Control="Next" Event="DoAction" Value="MgWeb_Config_From_IIS_CA" Order="1">1</Publish>
469            <!-- This "resets" the feature tree in case someone starts down a path then changes their mind -->
470            <Publish Dialog="WebServerConfigDlgIIS" Control="Next" Event="AddLocal" Value="ALL" Order="2">1</Publish>
471            <!-- Turn off these FDO providers by default since they require external libraries not bundled in this installer. -->
472            <Publish Dialog="WebServerConfigDlgIIS" Control="Next" Event="Remove" Value="FdoArcSdeProviderFeature" Order="3">1</Publish>
473            <Publish Dialog="WebServerConfigDlgIIS" Control="Next" Event="Remove" Value="FdoKingOracleProviderFeature" Order="4">1</Publish>
474            <Publish Dialog="WebServerConfigDlgIIS" Control="Next" Event="Remove" Value="FdoMySqlProviderFeature" Order="5">1</Publish>
475            <!-- If Apache, or IIS and the .Net Framework is not installed, set feature default for the ASPX viewer to not install -->
476            <Publish Dialog="WebServerConfigDlgIIS" Control="Next" Event="Remove" Value="WebExtMapViewerASPXFeature" Order="6">(MGWEB_CONFIG=&quot;APACHE&quot;) OR (MGWEB_CONFIG=&quot;IIS&quot; AND NOT NETFRAMEWORK40FULL)</Publish>
477            <Publish Dialog="WebServerConfigDlgIIS" Control="Next" Event="NewDialog" Value="ApacheConfigDlg" Order="7">MGWEB_CONFIG=&quot;APACHE&quot;</Publish>
478            <Publish Dialog="WebServerConfigDlgIIS" Control="Next" Event="NewDialog" Value="FastCgiWarningDlg" Order="8">MGWEB_CONFIG=&quot;IIS&quot;</Publish>
479            <!-- If IIS, set feature defaults for Apache, Tomcat, and JSP viewer to not install -->
480            <!--
481            Turn off:
482                - Apache
483                - Tomcat
484                - Java Viewer
485                - Java Viewer Sample
486                - Java DevGuide Sample
487                - PHP Viewer Sample
488                - PHP DevGuide Sample
489            -->
490            <Publish Dialog="WebServerConfigDlgIIS" Control="Next" Event="Remove" Value="WebExtApacheFeature" Order="10">MGWEB_CONFIG=&quot;IIS&quot;</Publish>
491            <Publish Dialog="WebServerConfigDlgIIS" Control="Next" Event="Remove" Value="WebExtTomcatFeature" Order="11">MGWEB_CONFIG=&quot;IIS&quot;</Publish>
492            <Publish Dialog="WebServerConfigDlgIIS" Control="Next" Event="Remove" Value="WebExtMapViewerJSPFeature" Order="12">MGWEB_CONFIG=&quot;IIS&quot;</Publish>
493            <Publish Dialog="WebServerConfigDlgIIS" Control="Next" Event="Remove" Value="WebExtJavaDevGuideSamplesFeature" Order="13">MGWEB_CONFIG=&quot;IIS&quot;</Publish>
494            <Publish Dialog="WebServerConfigDlgIIS" Control="Next" Event="Remove" Value="WebExtJavaViewerSampleFeature" Order="14">MGWEB_CONFIG=&quot;IIS&quot;</Publish>
495                  <Publish Dialog="WebServerConfigDlgIIS" Control="Next" Event="Remove" Value="WebExtPhpDevGuideSamplesFeature">MGWEB_CONFIG=&quot;IIS&quot;</Publish>
496                  <Publish Dialog="WebServerConfigDlgIIS" Control="Next" Event="Remove" Value="WebExtPhpViewerSampleFeature">MGWEB_CONFIG=&quot;IIS&quot;</Publish>
497            <Publish Dialog="WebServerConfigDlgIIS" Control="Next" Event="NewDialog" Value="IPConfigDlg" Order="13">MGWEB_CONFIG=&quot;MANUAL&quot;</Publish>
498            <Publish Dialog="WebServerConfigDlgIIS" Control="Back" Event="NewDialog" Value="LicenseAgreementDlg">1</Publish>
499            <Publish Dialog="WebServerConfigDlgIIS" Control="Cancel" Event="SpawnDialog" Value="CancelDlg">1</Publish>
500
501            <!-- Show the FastCGI warning before advancing to any IIS configuration dialog -->
502            <Publish Dialog="FastCgiWarningDlg" Control="Next" Event="NewDialog" Value="IISLangConfigDlg" Order="1">MGWEB_CONFIG=&quot;IIS&quot; AND NETFRAMEWORK40FULL</Publish>
503            <Publish Dialog="FastCgiWarningDlg" Control="Next" Event="NewDialog" Value="IIS7ConfigDlg" Order="2">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND (NOT NETFRAMEWORK40FULL)</Publish>
504            <Publish Dialog="FastCgiWarningDlg" Control="Back" Event="NewDialog" Value="WebServerConfigDlgIIS">1</Publish>
505            <Publish Dialog="FastCgiWarningDlg" Control="Cancel" Event="SpawnDialog" Value="CancelDlg">1</Publish>
506
507            <Publish Dialog="WebServerConfigDlgNoIIS" Control="Next" Event="DoAction" Value="MgWeb_Config_From_NoIIS_CA" Order="1">1</Publish>
508            <!-- This "resets" the feature tree in case someone starts down a path then changes their mind -->
509            <Publish Dialog="WebServerConfigDlgNoIIS" Control="Next" Event="AddLocal" Value="ALL" Order="2">1</Publish>
510            <!-- Turn off these FDO providers by default since they require external libraries not bundled in this installer. -->
511            <Publish Dialog="WebServerConfigDlgNoIIS" Control="Next" Event="Remove" Value="FdoArcSdeProviderFeature" Order="3">1</Publish>
512            <Publish Dialog="WebServerConfigDlgNoIIS" Control="Next" Event="Remove" Value="FdoKingOracleProviderFeature" Order="4">1</Publish>
513            <Publish Dialog="WebServerConfigDlgNoIIS" Control="Next" Event="Remove" Value="FdoMySqlProviderFeature" Order="5">1</Publish>
514            <Publish Dialog="WebServerConfigDlgNoIIS" Control="Next" Event="Remove" Value="FdoPostgreSqlProviderFeature" Order="6">1</Publish>
515            <!-- If Apache, set feature default for the ASPX viewer to not install -->
516            <!--
517            Turn off:
518                - .net Viewer
519                - .net Viewer Sample
520                - .net DevGuide Sample
521            -->
522            <Publish Dialog="WebServerConfigDlgNoIIS" Control="Next" Event="Remove" Value="WebExtMapViewerASPXFeature" Order="7">MGWEB_CONFIG=&quot;APACHE&quot;</Publish>
523            <Publish Dialog="WebServerConfigDlgNoIIS" Control="Next" Event="Remove" Value="WebExtDotNetViewerSampleFeature" Order="8">MGWEB_CONFIG=&quot;APACHE&quot;</Publish>
524            <Publish Dialog="WebServerConfigDlgNoIIS" Control="Next" Event="Remove" Value="WebExtDotNetDevGuideSamplesFeature" Order="9">MGWEB_CONFIG=&quot;APACHE&quot;</Publish>
525            <Publish Dialog="WebServerConfigDlgNoIIS" Control="Next" Event="NewDialog" Value="ApacheConfigDlg" Order="10">MGWEB_CONFIG=&quot;APACHE&quot;</Publish>
526            <Publish Dialog="WebServerConfigDlgNoIIS" Control="Next" Event="NewDialog" Value="IPConfigDlg" Order="11">MGWEB_CONFIG=&quot;MANUAL&quot;</Publish>
527            <Publish Dialog="WebServerConfigDlgNoIIS" Control="Back" Event="NewDialog" Value="LicenseAgreementDlg">1</Publish>
528            <Publish Dialog="WebServerConfigDlgNoIIS" Control="Cancel" Event="SpawnDialog" Value="CancelDlg">1</Publish>
529
530            <Publish Dialog="ApacheConfigDlg" Control="Next" Event="NewDialog" Value="IPConfigDlg">1</Publish>
531            <!-- Set default features based on Java API choice - AddLocal required in case user changes mind and comes back -->
532            <!--
533            Turn off:
534                - .net Viewer
535                - PHP Viewer
536                - .net Viewer Sample
537                - PHP Viewer Sample
538                - .net DevGuide Sample
539                - PHP DevGuide Sample
540            -->
541            <Publish Dialog="ApacheConfigDlg" Control="Next" Event="Remove" Value="WebExtMapViewerPHPFeature">APACHE_API_TYPE=&quot;JAVA&quot;</Publish>
542            <Publish Dialog="ApacheConfigDlg" Control="Next" Event="Remove" Value="WebExtMapViewerASPXFeature">APACHE_API_TYPE=&quot;JAVA&quot;</Publish>
543            <Publish Dialog="ApacheConfigDlg" Control="Next" Event="Remove" Value="WebExtDotNetDevGuideSamplesFeature">APACHE_API_TYPE=&quot;JAVA&quot;</Publish>
544            <Publish Dialog="ApacheConfigDlg" Control="Next" Event="Remove" Value="WebExtPhpDevGuideSamplesFeature">APACHE_API_TYPE=&quot;JAVA&quot;</Publish>
545            <Publish Dialog="ApacheConfigDlg" Control="Next" Event="Remove" Value="WebExtDotNetViewerSampleFeature">APACHE_API_TYPE=&quot;JAVA&quot;</Publish>
546            <Publish Dialog="ApacheConfigDlg" Control="Next" Event="Remove" Value="WebExtPhpViewerSampleFeature">APACHE_API_TYPE=&quot;JAVA&quot;</Publish>
547            <Publish Dialog="ApacheConfigDlg" Control="Next" Event="AddLocal" Value="WebExtTomcatFeature">APACHE_API_TYPE=&quot;JAVA&quot;</Publish>
548            <Publish Dialog="ApacheConfigDlg" Control="Next" Event="AddLocal" Value="WebExtMapViewerJSPFeature">APACHE_API_TYPE=&quot;JAVA&quot;</Publish>
549            <!-- Set default features based on PHP API choice - AddLocal required in case user changes mind and comes back -->
550            <!--
551            Turn off:
552                - .net Viewer
553                - Java Viewer
554                - Tomcat
555                - .net Viewer Sample
556                - Java Viewer Sample
557                - .net DevGuide Sample
558                - Java DevGuide Sample
559            -->
560            <Publish Dialog="ApacheConfigDlg" Control="Next" Event="Remove" Value="WebExtTomcatFeature">APACHE_API_TYPE=&quot;PHP&quot;</Publish>
561            <Publish Dialog="ApacheConfigDlg" Control="Next" Event="Remove" Value="WebExtMapViewerJSPFeature">APACHE_API_TYPE=&quot;PHP&quot;</Publish>
562            <Publish Dialog="ApacheConfigDlg" Control="Next" Event="Remove" Value="WebExtMapViewerASPXFeature">APACHE_API_TYPE=&quot;PHP&quot;</Publish>
563            <Publish Dialog="ApacheConfigDlg" Control="Next" Event="Remove" Value="WebExtJavaDevGuideSamplesFeature">APACHE_API_TYPE=&quot;PHP&quot;</Publish>
564            <Publish Dialog="ApacheConfigDlg" Control="Next" Event="Remove" Value="WebExtDotNetDevGuideSamplesFeature">APACHE_API_TYPE=&quot;PHP&quot;</Publish>
565            <Publish Dialog="ApacheConfigDlg" Control="Next" Event="Remove" Value="WebExtJavaViewerSampleFeature">APACHE_API_TYPE=&quot;PHP&quot;</Publish>
566            <Publish Dialog="ApacheConfigDlg" Control="Next" Event="Remove" Value="WebExtDotNetViewerSampleFeature">APACHE_API_TYPE=&quot;PHP&quot;</Publish>
567            <Publish Dialog="ApacheConfigDlg" Control="Next" Event="AddLocal" Value="WebExtMapViewerPHPFeature">APACHE_API_TYPE=&quot;PHP&quot;</Publish>
568            <!-- Handle special "Back" actions to set UI properties -->
569            <Publish Dialog="ApacheConfigDlg" Control="Back" Event="DoAction" Value="MgWeb_Config_To_NoIIS_CA" Order="1">IISVERSIONMAJOR=&quot;#0&quot;</Publish>
570            <Publish Dialog="ApacheConfigDlg" Control="Back" Event="NewDialog" Value="WebServerConfigDlgNoIIS" Order="2">IISVERSIONMAJOR=&quot;#0&quot;</Publish>
571            <Publish Dialog="ApacheConfigDlg" Control="Back" Event="DoAction" Value="MgWeb_Config_To_IIS_CA" Order="1">NOT IISVERSIONMAJOR=&quot;#0&quot;</Publish>
572            <Publish Dialog="ApacheConfigDlg" Control="Back" Event="NewDialog" Value="WebServerConfigDlgIIS" Order="2">NOT IISVERSIONMAJOR=&quot;#0&quot;</Publish>
573            <Publish Dialog="ApacheConfigDlg" Control="Cancel" Event="SpawnDialog" Value="CancelDlg">1</Publish>
574
575            <Publish Dialog="IISLangConfigDlg" Control="Next" Event="NewDialog" Value="IIS7ConfigDlg" Order="1">(NOT IISVERSIONMAJOR=&quot;#0&quot;)</Publish>
576            <!-- Default feature settings for PHP API - AddLocal required in case user changes mind and comes back -->
577            <Publish Dialog="IISLangConfigDlg" Control="Next" Event="Remove" Value="WebExtMapViewerASPXFeature">IIS_API_TYPE=&quot;PHP&quot;</Publish>
578            <Publish Dialog="IISLangConfigDlg" Control="Next" Event="Remove" Value="WebExtDotNetDevGuideSamplesFeature">IIS_API_TYPE=&quot;PHP&quot;</Publish>
579            <Publish Dialog="IISLangConfigDlg" Control="Next" Event="Remove" Value="WebExtDotNetViewerSampleFeature">IIS_API_TYPE=&quot;PHP&quot;</Publish>
580            <Publish Dialog="IISLangConfigDlg" Control="Next" Event="AddLocal" Value="WebExtMapViewerPHPFeature">IIS_API_TYPE=&quot;PHP&quot;</Publish>
581            <!-- Default feature settings for ASP.Net API - AddLocal required in case user changes mind and comes back -->
582            <Publish Dialog="IISLangConfigDlg" Control="Next" Event="Remove" Value="WebExtMapViewerPHPFeature">IIS_API_TYPE=&quot;DOTNET&quot;</Publish>
583            <Publish Dialog="IISLangConfigDlg" Control="Next" Event="Remove" Value="WebExtPhpDevGuideSamplesFeature">IIS_API_TYPE=&quot;DOTNET&quot;</Publish>
584            <Publish Dialog="IISLangConfigDlg" Control="Next" Event="Remove" Value="WebExtPhpViewerSampleFeature">IIS_API_TYPE=&quot;DOTNET&quot;</Publish>
585            <Publish Dialog="IISLangConfigDlg" Control="Next" Event="AddLocal" Value="WebExtMapViewerASPXFeature">IIS_API_TYPE=&quot;DOTNET&quot;</Publish>
586            <!-- Handle special "Back" actions to set UI properties -->
587            <Publish Dialog="IISLangConfigDlg" Control="Back" Event="DoAction" Value="MgWeb_Config_To_IIS_CA" Order="1">1</Publish>
588            <Publish Dialog="IISLangConfigDlg" Control="Back" Event="NewDialog" Value="WebServerConfigDlgIIS" Order="2">1</Publish>
589            <Publish Dialog="IISLangConfigDlg" Control="Cancel" Event="SpawnDialog" Value="CancelDlg">1</Publish>
590           
591            <Publish Dialog="IIS7ConfigDlg" Control="Next" Event="NewDialog" Value="IPConfigDlg">1</Publish>
592            <Publish Dialog="IIS7ConfigDlg" Control="Back" Event="NewDialog" Value="IISLangConfigDlg" Order="1">NETFRAMEWORK40FULL</Publish>
593            <Publish Dialog="IIS7ConfigDlg" Control="Back" Event="DoAction" Value="MgWeb_Config_To_IIS_CA" Order="2">NOT NETFRAMEWORK40FULL</Publish>
594            <Publish Dialog="IIS7ConfigDlg" Control="Back" Event="NewDialog" Value="WebServerConfigDlgIIS" Order="3">NOT NETFRAMEWORK40FULL</Publish>
595            <Publish Dialog="IIS7ConfigDlg" Control="Cancel" Event="SpawnDialog" Value="CancelDlg">1</Publish>
596
597            <Publish Dialog="IPConfigDlg" Control="Next" Event="NewDialog" Value="InstallDirDlg">1</Publish>
598            <Publish Dialog="IPConfigDlg" Control="Back" Event="NewDialog" Value="IIS7ConfigDlg" Order="1">(NOT IISVERSIONMAJOR=&quot;#0&quot;) AND MGWEB_CONFIG=&quot;IIS&quot;</Publish>
599            <Publish Dialog="IPConfigDlg" Control="Back" Event="NewDialog" Value="ApacheConfigDlg" Order="2">MGWEB_CONFIG=&quot;APACHE&quot;</Publish>
600            <Publish Dialog="IPConfigDlg" Control="Back" Event="DoAction" Value="MgWeb_Config_To_IIS_CA" Order="3">(NOT IISVERSIONMAJOR=&quot;#0&quot;) AND ( (IISVERSIONMAJOR=&quot;#5&quot; AND (NOT NETFRAMEWORK40FULL)) OR (MGWEB_CONFIG=&quot;MANUAL&quot; ))</Publish>
601            <Publish Dialog="IPConfigDlg" Control="Back" Event="NewDialog" Value="WebServerConfigDlgIIS" Order="4">(NOT IISVERSIONMAJOR=&quot;#0&quot;) AND ( (IISVERSIONMAJOR=&quot;#5&quot; AND (NOT NETFRAMEWORK40FULL) AND MGWEB_CONFIG=&quot;IIS&quot; ) OR (MGWEB_CONFIG=&quot;MANUAL&quot; ))</Publish>
602            <Publish Dialog="IPConfigDlg" Control="Back" Event="DoAction" Value="MgWeb_Config_To_NoIIS_CA" Order="5">IISVERSIONMAJOR=&quot;#0&quot;</Publish>
603            <Publish Dialog="IPConfigDlg" Control="Back" Event="NewDialog" Value="WebServerConfigDlgNoIIS" Order="6">IISVERSIONMAJOR=&quot;#0&quot; AND MGWEB_CONFIG=&quot;MANUAL&quot;</Publish>
604            <Publish Dialog="IPConfigDlg" Control="Cancel" Event="SpawnDialog" Value="CancelDlg">1</Publish>
605
606            <Publish Dialog="InstallDirDlg" Control="Back" Event="NewDialog" Value="IPConfigDlg">1</Publish>
607            <Publish Dialog="InstallDirDlg" Control="Next" Event="SetTargetPath" Value="[WIXUI_INSTALLDIR]" Order="1">1</Publish>
608            <Publish Dialog="InstallDirDlg" Control="Next" Event="DoAction" Value="WixUIValidatePath" Order="2">1</Publish>
609            <Publish Dialog="InstallDirDlg" Control="Next" Event="SpawnDialog" Value="InvalidDirDlg" Order="3"><![CDATA[WIXUI_INSTALLDIR_VALID<>"1"]]></Publish>
610            <Publish Dialog="InstallDirDlg" Control="Next" Event="NewDialog" Value="CustomizeDlg" Order="4"><![CDATA[WIXUI_INSTALLDIR_VALID="1"]]></Publish>
611            <Publish Dialog="InstallDirDlg" Control="ChangeFolder" Property="_BrowseProperty" Value="[WIXUI_INSTALLDIR]" Order="1">1</Publish>
612            <Publish Dialog="InstallDirDlg" Control="ChangeFolder" Event="SpawnDialog" Value="BrowseDlg" Order="2">1</Publish>
613
614            <Publish Dialog="CustomizeDlg" Control="Back" Event="NewDialog" Value="MaintenanceTypeDlg" Order="1">Installed</Publish>
615            <Publish Dialog="CustomizeDlg" Control="Back" Event="NewDialog" Value="InstallDirDlg" Order="7">NOT Installed</Publish>
616            <Publish Dialog="CustomizeDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg">1</Publish>
617
618            <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="CustomizeDlg" Order="1">NOT Installed OR WixUI_InstallMode = &quot;Change&quot;</Publish>
619            <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="MaintenanceTypeDlg" Order="2">Installed</Publish>
620
621            <Publish Dialog="MaintenanceWelcomeDlg" Control="Next" Event="NewDialog" Value="MaintenanceTypeDlg">1</Publish>
622
623            <Publish Dialog="MaintenanceTypeDlg" Control="ChangeButton" Event="NewDialog" Value="CustomizeDlg">1</Publish>
624            <Publish Dialog="MaintenanceTypeDlg" Control="RepairButton" Event="NewDialog" Value="VerifyReadyDlg">1</Publish>
625            <Publish Dialog="MaintenanceTypeDlg" Control="RemoveButton" Event="NewDialog" Value="VerifyReadyDlg">1</Publish>
626            <Publish Dialog="MaintenanceTypeDlg" Control="Back" Event="NewDialog" Value="MaintenanceWelcomeDlg">1</Publish>
627
628            <Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog" Value="Return" Order="999">1</Publish>
629
630
631
632            <!-- Progress messages (so the user knows what's happening under the hood) - could use more of these... -->
633            <ProgressText Action="UpdateApacheConfig">!(loc.UpdateApacheConfig)</ProgressText>
634            <ProgressText Action="UpdatePhpIni">!(loc.UpdatePhpIni)</ProgressText>
635            <ProgressText Action="InstallApacheServiceCA">!(loc.InstallApacheServiceCA)</ProgressText>
636            <ProgressText Action="InstallTomcatServiceCA">!(loc.InstallTomcatServiceCA)</ProgressText>
637            <ProgressText Action="MgServerInstallCA">!(loc.MgServerInstallCA)</ProgressText>
638            <ProgressText Action="MgServerUninstallCA">!(loc.MgServerUninstallCA)</ProgressText>
639            <ProgressText Action="RemoveApacheServiceCA">!(loc.RemoveApacheServiceCA)</ProgressText>
640            <ProgressText Action="RemoveTomcatServiceCA">!(loc.RemoveTomcatServiceCA)</ProgressText>
641            <ProgressText Action="MapGuideIIS7_I_UnlockSiteHandlers">!(loc.MapGuideIIS7_I_UnlockSiteHandlers)</ProgressText>
642            <ProgressText Action="MapGuideIIS7_I_CreateMapGuideApp">!(loc.MapGuideIIS7_I_CreateMapGuideApp)</ProgressText>
643            <ProgressText Action="MapGuideIIS7_I_SelectXmlCompat">!(loc.MapGuideIIS7_I_SelectXmlCompat)</ProgressText>
644            <ProgressText Action="MapGuideIIS7_I_CreatePhpScriptMapping">!(loc.MapGuideIIS7_I_CreatePhpScriptMapping)</ProgressText>
645            <ProgressText Action="MapGuideIIS7_I_CreateMapAgentApp">!(loc.MapGuideIIS7_I_CreateMapAgentApp)</ProgressText>
646            <ProgressText Action="MapGuideIIS7_I_SetMapAgentHandlerAccess">!(loc.MapGuideIIS7_I_SetMapAgentHandlerAccess)</ProgressText>
647            <ProgressText Action="MapGuideIIS7_I_CreateMapAgentScriptHandling">!(loc.MapGuideIIS7_I_CreateMapAgentScriptHandling)</ProgressText>
648            <ProgressText Action="MapGuideIIS7_I_EnableMapAgentExtension">!(loc.MapGuideIIS7_I_EnableMapAgentExtension)</ProgressText>
649            <ProgressText Action="MapGuideIIS7_I_AssignMapGuideAppPool">!(loc.MapGuideIIS7_I_AssignMapGuideAppPool)</ProgressText>
650            <ProgressText Action="MapGuideIIS7_I_AssignMapAgentAppPool">!(loc.MapGuideIIS7_I_AssignMapAgentAppPool)</ProgressText>
651            <ProgressText Action="MapGuideIIS7_I_UnlockHttpErrorsMain">!(loc.MapGuideIIS7_I_UnlockHttpErrorsMain)</ProgressText>
652            <ProgressText Action="MapGuideIIS7_I_UnlockHttpErrorsWebSite">!(loc.MapGuideIIS7_I_UnlockHttpErrorsWebSite)</ProgressText>
653            <ProgressText Action="MapGuideIIS7_I_UnlockHttpErrorsMapGuide">!(loc.MapGuideIIS7_I_UnlockHttpErrorsMapGuide)</ProgressText>
654            <ProgressText Action="MapGuideIIS7_I_Reset401Handler">!(loc.MapGuideIIS7_I_Reset401Handler)</ProgressText>
655            <ProgressText Action="MapGuideIIS7_I_AddJsonMime">!(loc.MapGuideIIS7_I_AddJsonMime)</ProgressText>
656            <ProgressText Action="MapGuideIIS7_I_CreateViewerPhp">!(loc.MapGuideIIS7_I_CreateViewerPhp)</ProgressText>
657            <ProgressText Action="MapGuideIIS7_I_SetViewerDocPhp">!(loc.MapGuideIIS7_I_SetViewerDocPhp)</ProgressText>
658            <ProgressText Action="MapGuideIIS7_I_AssignViewerAppPoolPhp">!(loc.MapGuideIIS7_I_AssignViewerAppPoolPhp)</ProgressText>
659            <ProgressText Action="MapGuideIIS7_I_CreateViewerNet">!(loc.MapGuideIIS7_I_CreateViewerNet)</ProgressText>
660            <ProgressText Action="MapGuideIIS7_I_SetViewerDocNet">!(loc.MapGuideIIS7_I_SetViewerDocNet)</ProgressText>
661            <ProgressText Action="MapGuideIIS7_I_AssignViewerAppPoolNet">!(loc.MapGuideIIS7_I_AssignViewerAppPoolNet)</ProgressText>
662            <ProgressText Action="MapGuideIIS7_I_CreateMapViewerNet">!(loc.MapGuideIIS7_I_CreateMapViewerNet)</ProgressText>
663            <ProgressText Action="MapGuideIIS7_I_SetMapViewerDocNet">!(loc.MapGuideIIS7_I_SetMapViewerDocNet)</ProgressText>
664            <ProgressText Action="MapGuideIIS7_I_AssignMapViewerAppPoolNet">!(loc.MapGuideIIS7_I_AssignMapViewerAppPoolNet)</ProgressText>
665            <ProgressText Action="MapGuideIIS7_I_CreateViewerSampleNet">!(loc.MapGuideIIS7_I_CreateViewerSampleNet)</ProgressText>
666            <ProgressText Action="MapGuideIIS7_I_SetViewerDocViewerSampleNet">!(loc.MapGuideIIS7_I_SetViewerDocViewerSampleNet)</ProgressText>
667            <ProgressText Action="MapGuideIIS7_I_AssignViewerAppPoolViewerSampleNet">!(loc.MapGuideIIS7_I_AssignViewerAppPoolViewerSampleNet)</ProgressText>
668            <ProgressText Action="MapGuideIIS7_I_CreateViewerDevGuideSamplesNet">!(loc.MapGuideIIS7_I_CreateViewerDevGuideSamplesNet)</ProgressText>
669            <ProgressText Action="MapGuideIIS7_I_SetViewerDocDevGuideSamplesNet">!(loc.MapGuideIIS7_I_SetViewerDocDevGuideSamplesNet)</ProgressText>
670            <ProgressText Action="MapGuideIIS7_I_AssignViewerAppPoolDevGuideSamplesNet">!(loc.MapGuideIIS7_I_AssignViewerAppPoolDevGuideSamplesNet)</ProgressText>
671            <ProgressText Action="MapGuideIIS7_U_ClearMapAgentRestriction">!(loc.MapGuideIIS7_U_ClearMapAgentRestriction)</ProgressText>
672            <ProgressText Action="MapGuideIIS7_U_RemoveViewer">!(loc.MapGuideIIS7_U_RemoveViewer)</ProgressText>
673            <ProgressText Action="MapGuideIIS7_U_RemoveMapAgent">!(loc.MapGuideIIS7_U_RemoveMapAgent)</ProgressText>
674            <ProgressText Action="MapGuideIIS7_U_RemoveMapGuide">!(loc.MapGuideIIS7_U_RemoveMapGuide)</ProgressText>
675            <ProgressText Action="MapGuideIIS7_U_DeleteAppPool">!(loc.MapGuideIIS7_U_DeleteAppPool)</ProgressText>
676            <ProgressText Action="AspNetRegIIS">!(loc.AspNetRegIIS)</ProgressText>
677            <ProgressText Action="FdoRegArcSde">!(loc.FdoRegArcSde)</ProgressText>
678            <ProgressText Action="FdoRegSdf">!(loc.FdoRegSdf)</ProgressText>
679            <ProgressText Action="FdoRegShp">!(loc.FdoRegShp)</ProgressText>
680            <ProgressText Action="FdoRegWfs">!(loc.FdoRegWfs)</ProgressText>
681            <ProgressText Action="FdoRegWms">!(loc.FdoRegWms)</ProgressText>
682            <ProgressText Action="FdoRegOdbc">!(loc.FdoRegOdbc)</ProgressText>
683            <ProgressText Action="FdoRegMySql">!(loc.FdoRegMySql)</ProgressText>
684            <ProgressText Action="FdoRegGdal">!(loc.FdoRegGdal)</ProgressText>
685            <ProgressText Action="FdoRegOgr">!(loc.FdoRegOgr)</ProgressText>
686            <ProgressText Action="FdoRegPostgreSql">!(loc.FdoRegPostgreSql)</ProgressText>
687            <ProgressText Action="FdoRegOracle">!(loc.FdoRegOracle)</ProgressText>
688            <ProgressText Action="FdoRegSqlServer">!(loc.FdoRegSqlServer)</ProgressText>
689            <ProgressText Action="FdoRegSlt">!(loc.FdoRegSlt)</ProgressText>
690            <ProgressText Action="FdoUnRegArcSde">!(loc.FdoUnRegArcSde)</ProgressText>
691            <ProgressText Action="FdoUnRegSdf">!(loc.FdoUnRegSdf)</ProgressText>
692            <ProgressText Action="FdoUnRegShp">!(loc.FdoUnRegShp)</ProgressText>
693            <ProgressText Action="FdoUnRegWfs">!(loc.FdoUnRegWfs)</ProgressText>
694            <ProgressText Action="FdoUnRegWms">!(loc.FdoUnRegWms)</ProgressText>
695            <ProgressText Action="FdoUnRegOdbc">!(loc.FdoUnRegOdbc)</ProgressText>
696            <ProgressText Action="FdoUnRegMySql">!(loc.FdoUnRegMySql)</ProgressText>
697            <ProgressText Action="FdoUnRegGdal">!(loc.FdoUnRegGdal)</ProgressText>
698            <ProgressText Action="FdoUnRegOgr">!(loc.FdoUnRegOgr)</ProgressText>
699            <ProgressText Action="FdoUnRegPostgreSql">!(loc.FdoUnRegPostgreSql)</ProgressText>
700            <ProgressText Action="FdoUnRegOracle">!(loc.FdoUnRegOracle)</ProgressText>
701            <ProgressText Action="FdoUnRegSqlServer">!(loc.FdoUnRegSqlServer)</ProgressText>
702            <ProgressText Action="FdoUnRegSlt">!(loc.FdoUnRegSlt)</ProgressText>
703        </UI>
704
705        <InstallUISequence />
706
707        <InstallExecuteSequence>
708
709          <!-- IIS7 Base properties for deferred actions -->
710            <Custom Action="MapGuideIIS7_I_AppCmd_Cmd" After="CostFinalize">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
711            <Custom Action="MapGuideIIS7_I_CreateFastCgi_Cmd" After="MapGuideIIS7_I_AppCmd_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
712            <Custom Action="MapGuideIIS7_I_CreateAppPool_Cmd" After="MapGuideIIS7_I_CreateFastCgi_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
713            <Custom Action="MapGuideIIS7_I_SetAppPoolProp_Cmd" After="MapGuideIIS7_I_CreateAppPool_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
714           
715            <?if "$(var.MgPlatform)" = "x64" ?>
716            <Custom Action="MapGuideIIS7_I_UnlockSrvHandlers_Cmd" After="MapGuideIIS7_I_SetAppPoolProp_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
717            <?else ?>
718            <Custom Action="MapGuideIIS7_I_Set32BitAppPool_Cmd" After="MapGuideIIS7_I_SetAppPoolProp_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
719            <Custom Action="MapGuideIIS7_I_UnlockSrvHandlers_Cmd" After="MapGuideIIS7_I_Set32BitAppPool_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
720            <?endif ?>
721           
722            <Custom Action="MapGuideIIS7_I_UnlockSiteHandlers_Cmd" After="MapGuideIIS7_I_UnlockSrvHandlers_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
723            <Custom Action="MapGuideIIS7_I_CreateMapGuideApp_Cmd" After="MapGuideIIS7_I_UnlockSiteHandlers_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
724            <Custom Action="MapGuideIIS7_I_SelectXmlCompat_Cmd" After="MapGuideIIS7_I_CreateMapGuideApp_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
725            <Custom Action="MapGuideIIS7_I_CreatePhpScriptMapping_Cmd" After="MapGuideIIS7_I_SelectXmlCompat_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
726            <Custom Action="MapGuideIIS7_I_CreateMapAgentApp_Cmd" After="MapGuideIIS7_I_CreatePhpScriptMapping_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
727            <Custom Action="MapGuideIIS7_I_SetMapAgentHandlerAccess_Cmd" After="MapGuideIIS7_I_CreateMapAgentApp_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
728            <Custom Action="MapGuideIIS7_I_CreateMapAgentScriptHandling_Cmd" After="MapGuideIIS7_I_SetMapAgentHandlerAccess_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
729            <Custom Action="MapGuideIIS7_I_EnableMapAgentExtension_Cmd" After="MapGuideIIS7_I_CreateMapAgentScriptHandling_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
730            <Custom Action="MapGuideIIS7_I_AssignMapGuideAppPool_Cmd" After="MapGuideIIS7_I_EnableMapAgentExtension_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
731            <Custom Action="MapGuideIIS7_I_AssignMapAgentAppPool_Cmd" After="MapGuideIIS7_I_AssignMapGuideAppPool_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
732            <Custom Action="MapGuideIIS7_I_UnlockHttpErrorsMain_Cmd" After="MapGuideIIS7_I_AssignMapAgentAppPool_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
733            <Custom Action="MapGuideIIS7_I_UnlockHttpErrorsWebSite_Cmd" After="MapGuideIIS7_I_UnlockHttpErrorsMain_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
734            <Custom Action="MapGuideIIS7_I_UnlockHttpErrorsMapGuide_Cmd" After="MapGuideIIS7_I_UnlockHttpErrorsWebSite_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
735            <Custom Action="MapGuideIIS7_I_Reset401Handler_Cmd" After="MapGuideIIS7_I_UnlockHttpErrorsMapGuide_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
736            <Custom Action="MapGuideIIS7_I_AddJsonMime_Cmd" After="MapGuideIIS7_I_Reset401Handler_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
737
738            <!-- IIS7 PHP Viewer properties for deferred actions -->
739            <Custom Action="MapGuideIIS7_I_CreateViewerPhp_Cmd" After="MapGuideIIS7_I_AddJsonMime_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND IIS_API_TYPE=&quot;PHP&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
740            <Custom Action="MapGuideIIS7_I_SetViewerDocPhp_Cmd" After="MapGuideIIS7_I_CreateViewerPhp_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND IIS_API_TYPE=&quot;PHP&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
741            <Custom Action="MapGuideIIS7_I_AssignViewerAppPoolPhp_Cmd" After="MapGuideIIS7_I_SetViewerDocPhp_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND IIS_API_TYPE=&quot;PHP&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
742
743            <!-- IIS7 ASP.Net Viewer properties for deferred actions -->
744            <Custom Action="MapGuideIIS7_I_CreateViewerNet_Cmd" After="MapGuideIIS7_I_Reset401Handler_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND IIS_API_TYPE=&quot;DOTNET&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
745            <Custom Action="MapGuideIIS7_I_SetViewerDocNet_Cmd" After="MapGuideIIS7_I_CreateViewerNet_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND IIS_API_TYPE=&quot;DOTNET&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
746            <Custom Action="MapGuideIIS7_I_AssignViewerAppPoolNet_Cmd" After="MapGuideIIS7_I_SetViewerDocNet_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND IIS_API_TYPE=&quot;DOTNET&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
747
748            <!-- mapviewernet -->
749            <Custom Action="MapGuideIIS7_I_CreateMapViewerNet_Cmd" After="MapGuideIIS7_I_AssignViewerAppPoolNet_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND IIS_API_TYPE=&quot;DOTNET&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
750            <Custom Action="MapGuideIIS7_I_SetMapViewerDocNet_Cmd" After="MapGuideIIS7_I_CreateMapViewerNet_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND IIS_API_TYPE=&quot;DOTNET&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
751            <Custom Action="MapGuideIIS7_I_AssignMapViewerAppPoolNet_Cmd" After="MapGuideIIS7_I_SetMapViewerDocNet_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND IIS_API_TYPE=&quot;DOTNET&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
752
753            <!-- .net viewer sample -->
754            <Custom Action="MapGuideIIS7_I_CreateViewerSampleNet_Cmd" After="MapGuideIIS7_I_AssignMapViewerAppPoolNet_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND IIS_API_TYPE=&quot;DOTNET&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2 AND &amp;WebExtDotNetViewerSampleFeature&gt;2</Custom>
755            <Custom Action="MapGuideIIS7_I_SetViewerDocViewerSampleNet_Cmd" After="MapGuideIIS7_I_CreateViewerSampleNet_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND IIS_API_TYPE=&quot;DOTNET&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2 AND &amp;WebExtDotNetViewerSampleFeature&gt;2</Custom>
756            <Custom Action="MapGuideIIS7_I_AssignViewerAppPoolViewerSampleNet_Cmd" After="MapGuideIIS7_I_SetViewerDocViewerSampleNet_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND IIS_API_TYPE=&quot;DOTNET&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2 AND &amp;WebExtDotNetViewerSampleFeature&gt;2</Custom>
757
758            <!-- .net devguide sample -->
759            <Custom Action="MapGuideIIS7_I_CreateViewerDevGuideSamplesNet_Cmd" After="MapGuideIIS7_I_AssignViewerAppPoolViewerSampleNet_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND IIS_API_TYPE=&quot;DOTNET&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2 AND &amp;WebExtDotNetDevGuideSamplesFeature&gt;2</Custom>
760            <Custom Action="MapGuideIIS7_I_SetViewerDocDevGuideSamplesNet_Cmd" After="MapGuideIIS7_I_CreateViewerDevGuideSamplesNet_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND IIS_API_TYPE=&quot;DOTNET&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2 AND &amp;WebExtDotNetDevGuideSamplesFeature&gt;2</Custom>
761            <Custom Action="MapGuideIIS7_I_AssignViewerAppPoolDevGuideSamplesNet_Cmd" After="MapGuideIIS7_I_SetViewerDocDevGuideSamplesNet_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND IIS_API_TYPE=&quot;DOTNET&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2 AND &amp;WebExtDotNetDevGuideSamplesFeature&gt;2</Custom>
762           
763            <!-- IIS7 Base deferred CAs -->
764            <Custom Action="MapGuideIIS7_I_CreateAppPool" After="InstallFiles">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
765            <Custom Action="MapGuideIIS7_I_CreateFastCgi" After="MapGuideIIS7_I_CreateAppPool">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
766            <Custom Action="MapGuideIIS7_I_SetAppPoolProp" After="MapGuideIIS7_I_CreateFastCgi">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
767           
768            <?if "$(var.MgPlatform)" = "x64" ?>
769            <Custom Action="MapGuideIIS7_I_UnlockSrvHandlers" After="MapGuideIIS7_I_SetAppPoolProp">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
770            <?else ?>
771            <Custom Action="MapGuideIIS7_I_Set32BitAppPool" After="MapGuideIIS7_I_SetAppPoolProp">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
772            <Custom Action="MapGuideIIS7_I_UnlockSrvHandlers" After="MapGuideIIS7_I_Set32BitAppPool">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
773            <?endif ?>
774           
775            <Custom Action="MapGuideIIS7_I_UnlockSiteHandlers" After="MapGuideIIS7_I_UnlockSrvHandlers">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
776            <Custom Action="MapGuideIIS7_I_CreateMapGuideApp" After="MapGuideIIS7_I_UnlockSiteHandlers">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
777            <Custom Action="MapGuideIIS7_I_SelectXmlCompat" After="MapGuideIIS7_I_CreateMapGuideApp">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
778            <Custom Action="MapGuideIIS7_I_CreatePhpScriptMapping" After="MapGuideIIS7_I_SelectXmlCompat">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
779            <Custom Action="MapGuideIIS7_I_CreateMapAgentApp" After="MapGuideIIS7_I_CreatePhpScriptMapping">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
780            <Custom Action="MapGuideIIS7_I_SetMapAgentHandlerAccess" After="MapGuideIIS7_I_CreateMapAgentApp">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
781            <Custom Action="MapGuideIIS7_I_CreateMapAgentScriptHandling" After="MapGuideIIS7_I_SetMapAgentHandlerAccess">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
782            <Custom Action="MapGuideIIS7_I_EnableMapAgentExtension" After="MapGuideIIS7_I_CreateMapAgentScriptHandling">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
783            <Custom Action="MapGuideIIS7_I_AssignMapGuideAppPool" After="MapGuideIIS7_I_EnableMapAgentExtension">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
784            <Custom Action="MapGuideIIS7_I_AssignMapAgentAppPool" After="MapGuideIIS7_I_AssignMapGuideAppPool">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
785            <Custom Action="MapGuideIIS7_I_UnlockHttpErrorsMain" After="MapGuideIIS7_I_AssignMapAgentAppPool">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
786            <Custom Action="MapGuideIIS7_I_UnlockHttpErrorsWebSite" After="MapGuideIIS7_I_UnlockHttpErrorsMain">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
787            <Custom Action="MapGuideIIS7_I_UnlockHttpErrorsMapGuide" After="MapGuideIIS7_I_UnlockHttpErrorsWebSite">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
788            <Custom Action="MapGuideIIS7_I_Reset401Handler" After="MapGuideIIS7_I_UnlockHttpErrorsMapGuide">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
789            <Custom Action="MapGuideIIS7_I_AddJsonMime" After="MapGuideIIS7_I_Reset401Handler">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
790
791          <!-- IIS7 PHP Viewer deferred CAs -->
792            <Custom Action="MapGuideIIS7_I_CreateViewerPhp" After="MapGuideIIS7_I_AddJsonMime">MGWEB_CONFIG=&quot;IIS&quot; AND IIS_API_TYPE=&quot;PHP&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
793            <Custom Action="MapGuideIIS7_I_SetViewerDocPhp" After="MapGuideIIS7_I_CreateViewerPhp">MGWEB_CONFIG=&quot;IIS&quot; AND IIS_API_TYPE=&quot;PHP&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
794            <Custom Action="MapGuideIIS7_I_AssignViewerAppPoolPhp" After="MapGuideIIS7_I_SetViewerDocPhp">MGWEB_CONFIG=&quot;IIS&quot; AND IIS_API_TYPE=&quot;PHP&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
795
796          <!-- IIS7 DOTNET Viewer deferred CAs -->
797            <Custom Action="MapGuideIIS7_I_CreateViewerNet" After="MapGuideIIS7_I_Reset401Handler">MGWEB_CONFIG=&quot;IIS&quot; AND IIS_API_TYPE=&quot;DOTNET&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
798            <Custom Action="MapGuideIIS7_I_SetViewerDocNet" After="MapGuideIIS7_I_CreateViewerNet">MGWEB_CONFIG=&quot;IIS&quot; AND IIS_API_TYPE=&quot;DOTNET&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
799            <Custom Action="MapGuideIIS7_I_AssignViewerAppPoolNet" After="MapGuideIIS7_I_SetViewerDocNet">MGWEB_CONFIG=&quot;IIS&quot; AND IIS_API_TYPE=&quot;DOTNET&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2</Custom>
800
801            <Custom Action="MapGuideIIS7_I_CreateMapViewerNet" After="MapGuideIIS7_I_AssignViewerAppPoolNet">MGWEB_CONFIG=&quot;IIS&quot; AND IIS_API_TYPE=&quot;DOTNET&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2 AND &amp;WebExtMapViewerASPXFeature&gt;2</Custom>
802            <Custom Action="MapGuideIIS7_I_SetMapViewerDocNet" After="MapGuideIIS7_I_CreateMapViewerNet">MGWEB_CONFIG=&quot;IIS&quot; AND IIS_API_TYPE=&quot;DOTNET&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2 AND &amp;WebExtMapViewerASPXFeature&gt;2</Custom>
803            <Custom Action="MapGuideIIS7_I_AssignMapViewerAppPoolNet" After="MapGuideIIS7_I_SetMapViewerDocNet">MGWEB_CONFIG=&quot;IIS&quot; AND IIS_API_TYPE=&quot;DOTNET&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2 AND &amp;WebExtMapViewerASPXFeature&gt;2</Custom>
804
805            <Custom Action="MapGuideIIS7_I_CreateViewerSampleNet" After="MapGuideIIS7_I_AssignMapViewerAppPoolNet">MGWEB_CONFIG=&quot;IIS&quot; AND IIS_API_TYPE=&quot;DOTNET&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2 AND &amp;WebExtDotNetViewerSampleFeature&gt;2</Custom>
806            <Custom Action="MapGuideIIS7_I_SetViewerDocViewerSampleNet" After="MapGuideIIS7_I_CreateViewerSampleNet">MGWEB_CONFIG=&quot;IIS&quot; AND IIS_API_TYPE=&quot;DOTNET&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2 AND &amp;WebExtDotNetViewerSampleFeature&gt;2</Custom>
807            <Custom Action="MapGuideIIS7_I_AssignViewerAppPoolViewerSampleNet" After="MapGuideIIS7_I_SetViewerDocViewerSampleNet">MGWEB_CONFIG=&quot;IIS&quot; AND IIS_API_TYPE=&quot;DOTNET&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2 AND &amp;WebExtDotNetViewerSampleFeature&gt;2</Custom>
808
809            <Custom Action="MapGuideIIS7_I_CreateViewerDevGuideSamplesNet" After="MapGuideIIS7_I_AssignViewerAppPoolViewerSampleNet">MGWEB_CONFIG=&quot;IIS&quot; AND IIS_API_TYPE=&quot;DOTNET&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2 AND &amp;WebExtDotNetDevGuideSamplesFeature&gt;2</Custom>
810            <Custom Action="MapGuideIIS7_I_SetViewerDocDevGuideSamplesNet" After="MapGuideIIS7_I_CreateViewerDevGuideSamplesNet">MGWEB_CONFIG=&quot;IIS&quot; AND IIS_API_TYPE=&quot;DOTNET&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2 AND &amp;WebExtDotNetDevGuideSamplesFeature&gt;2</Custom>
811            <Custom Action="MapGuideIIS7_I_AssignViewerAppPoolDevGuideSamplesNet" After="MapGuideIIS7_I_SetViewerDocDevGuideSamplesNet">MGWEB_CONFIG=&quot;IIS&quot; AND IIS_API_TYPE=&quot;DOTNET&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature&gt;2 AND &amp;WebExtDotNetDevGuideSamplesFeature&gt;2</Custom>
812
813          <!-- IIS7 UNINSTALL deferred action properties -->
814            <Custom Action="MapGuideIIS7_U_AppCmd_Cmd" After="InstallInitialize">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature=2</Custom>
815            <Custom Action="MapGuideIIS7_U_ClearMapAgentRestriction_Cmd" After="MapGuideIIS7_U_AppCmd_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature=2</Custom>
816            <Custom Action="MapGuideIIS7_U_RemoveDotNetSamples_Cmd" After="MapGuideIIS7_U_ClearMapAgentRestriction_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature=2</Custom>
817            <Custom Action="MapGuideIIS7_U_RemoveDotNetViewerSample_Cmd" After="MapGuideIIS7_U_RemoveDotNetSamples_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature=2</Custom>
818            <Custom Action="MapGuideIIS7_U_RemoveViewer_Cmd" After="MapGuideIIS7_U_RemoveDotNetViewerSample_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature=2</Custom>
819            <Custom Action="MapGuideIIS7_U_RemoveViewerNet_Cmd" After="MapGuideIIS7_U_RemoveViewer_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature=2</Custom>
820            <Custom Action="MapGuideIIS7_U_RemoveMapAgent_Cmd" After="MapGuideIIS7_U_RemoveViewerNet_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature=2</Custom>
821            <Custom Action="MapGuideIIS7_U_RemoveMapGuide_Cmd" After="MapGuideIIS7_U_RemoveMapAgent_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature=2</Custom>
822            <Custom Action="MapGuideIIS7_U_DeleteAppPool_Cmd" After="MapGuideIIS7_U_RemoveMapGuide_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature=2</Custom>
823
824          <!-- IIS7 UNINSTALL deferred CAs -->
825            <Custom Action="MapGuideIIS7_U_ClearMapAgentRestriction" After="MapGuideIIS7_U_DeleteAppPool_Cmd">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature=2</Custom>
826            <Custom Action="MapGuideIIS7_U_RemoveDotNetSamples" After="MapGuideIIS7_U_ClearMapAgentRestriction">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature=2</Custom>
827            <Custom Action="MapGuideIIS7_U_RemoveDotNetViewerSample" After="MapGuideIIS7_U_RemoveDotNetSamples">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature=2</Custom>
828            <Custom Action="MapGuideIIS7_U_RemoveViewer" After="MapGuideIIS7_U_RemoveDotNetViewerSample">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature=2</Custom>
829            <Custom Action="MapGuideIIS7_U_RemoveViewerNet" After="MapGuideIIS7_U_RemoveViewer">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature=2</Custom>
830            <Custom Action="MapGuideIIS7_U_RemoveMapAgent" After="MapGuideIIS7_U_RemoveViewerNet">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature=2</Custom>
831            <Custom Action="MapGuideIIS7_U_RemoveMapGuide" After="MapGuideIIS7_U_RemoveMapAgent">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature=2</Custom>
832            <Custom Action="MapGuideIIS7_U_DeleteAppPool" After="MapGuideIIS7_U_RemoveMapGuide">MGWEB_CONFIG=&quot;IIS&quot; AND (NOT IISVERSIONMAJOR=&quot;#0&quot;) AND &amp;WebExtensionsFeature=2</Custom>
833           
834            <Custom Action="FdoRegCmd" After="InstallInitialize"></Custom>
835            <!-- FDO Provider Registration Immediate Actions -->
836            <Custom Action="FdoRegArcSdeCmd" After="InstallFiles">&amp;FdoArcSdeProviderFeature&gt;2</Custom>
837            <Custom Action="FdoRegSdfCmd" After="FdoRegArcSdeCmd">&amp;FdoSdfProviderFeature&gt;2</Custom>
838            <Custom Action="FdoRegShpCmd" After="FdoRegSdfCmd">&amp;FdoShpProviderFeature&gt;2</Custom>
839            <Custom Action="FdoRegWfsCmd" After="FdoRegShpCmd">&amp;FdoWfsProviderFeature&gt;2</Custom>
840            <Custom Action="FdoRegWmsCmd" After="FdoRegWfsCmd">&amp;FdoWmsProviderFeature&gt;2</Custom>
841            <Custom Action="FdoRegOdbcCmd" After="FdoRegWmsCmd">&amp;FdoOdbcProviderFeature&gt;2</Custom>
842            <Custom Action="FdoRegMySqlCmd" After="FdoRegOdbcCmd">&amp;FdoMySqlProviderFeature&gt;2</Custom>
843            <Custom Action="FdoRegGdalCmd" After="FdoRegMySqlCmd">&amp;FdoGdalProviderFeature&gt;2</Custom>
844            <Custom Action="FdoRegOgrCmd" After="FdoRegGdalCmd">&amp;FdoOgrProviderFeature&gt;2</Custom>
845            <Custom Action="FdoRegPostgreSqlCmd" After="FdoRegOgrCmd">&amp;FdoPostgreSqlProviderFeature&gt;2</Custom>
846            <Custom Action="FdoRegOracleCmd" After="FdoRegPostgreSqlCmd">&amp;FdoKingOracleProviderFeature&gt;2</Custom>
847            <Custom Action="FdoRegSqlServerCmd" After="FdoRegOracleCmd">&amp;FdoSqlServerSpatialProviderFeature&gt;2</Custom>
848            <Custom Action="FdoRegSltCmd" After="FdoRegSqlServerCmd">&amp;FdoSltProviderFeature&gt;2</Custom>
849
850            <!-- FDO Provider Registration deferred Actions -->
851            <Custom Action="FdoRegArcSde" After="FdoRegSltCmd">&amp;FdoArcSdeProviderFeature&gt;2</Custom>
852            <Custom Action="FdoRegSdf" After="FdoRegArcSde">&amp;FdoSdfProviderFeature&gt;2</Custom>
853            <Custom Action="FdoRegShp" After="FdoRegSdf">&amp;FdoShpProviderFeature&gt;2</Custom>
854            <Custom Action="FdoRegWfs" After="FdoRegShp">&amp;FdoWfsProviderFeature&gt;2</Custom>
855            <Custom Action="FdoRegWms" After="FdoRegWfs">&amp;FdoWmsProviderFeature&gt;2</Custom>
856            <Custom Action="FdoRegOdbc" After="FdoRegWms">&amp;FdoOdbcProviderFeature&gt;2</Custom>
857            <Custom Action="FdoRegMySql" After="FdoRegOdbc">&amp;FdoMySqlProviderFeature&gt;2</Custom>
858            <Custom Action="FdoRegGdal" After="FdoRegMySql">&amp;FdoGdalProviderFeature&gt;2</Custom>
859            <Custom Action="FdoRegOgr" After="FdoRegGdal">&amp;FdoOgrProviderFeature&gt;2</Custom>
860            <Custom Action="FdoRegPostgreSql" After="FdoRegOgr">&amp;FdoPostgreSqlProviderFeature&gt;2</Custom>
861            <Custom Action="FdoRegOracle" After="FdoRegPostgreSql">&amp;FdoKingOracleProviderFeature&gt;2</Custom>
862            <Custom Action="FdoRegSqlServer" After="FdoRegOracle">&amp;FdoSqlServerSpatialProviderFeature&gt;2</Custom>
863            <Custom Action="FdoRegSlt" After="FdoRegSqlServer">&amp;FdoSltProviderFeature&gt;2</Custom>
864
865            <!-- FDO Provider Unregistration Immediate Actions -->
866            <Custom Action="FdoUnRegArcSdeCmd" After="InstallInitialize">&amp;FdoArcSdeProviderFeature=2</Custom>
867            <Custom Action="FdoUnRegSdfCmd" After="FdoUnRegArcSdeCmd">&amp;FdoSdfProviderFeature=2</Custom>
868            <Custom Action="FdoUnRegShpCmd" After="FdoUnRegSdfCmd">&amp;FdoShpProviderFeature=2</Custom>
869            <Custom Action="FdoUnRegWfsCmd" After="FdoUnRegShpCmd">&amp;FdoWfsProviderFeature=2</Custom>
870            <Custom Action="FdoUnRegWmsCmd" After="FdoUnRegWfsCmd">&amp;FdoWmsProviderFeature=2</Custom>
871            <Custom Action="FdoUnRegOdbcCmd" After="FdoUnRegWmsCmd">&amp;FdoOdbcProviderFeature=2</Custom>
872            <Custom Action="FdoUnRegMySqlCmd" After="FdoUnRegOdbcCmd">&amp;FdoMySqlProviderFeature=2</Custom>
873            <Custom Action="FdoUnRegGdalCmd" After="FdoUnRegMySqlCmd">&amp;FdoGdalProviderFeature=2</Custom>
874            <Custom Action="FdoUnRegOgrCmd" After="FdoUnRegGdalCmd">&amp;FdoOgrProviderFeature=2</Custom>
875            <Custom Action="FdoUnRegPostgreSqlCmd" After="FdoUnRegOgrCmd">&amp;FdoPostgreSqlProviderFeature=2</Custom>
876            <Custom Action="FdoUnRegOracleCmd" After="FdoUnRegPostgreSqlCmd">&amp;FdoKingOracleProviderFeature=2</Custom>
877            <Custom Action="FdoUnRegSqlServerCmd" After="FdoUnRegOracleCmd">&amp;FdoSqlServerSpatialProviderFeature=2</Custom>
878            <Custom Action="FdoUnRegSltCmd" After="FdoUnRegSqlServerCmd">&amp;FdoSltProviderFeature=2</Custom>
879
880            <!-- FDO Provider Unregistration Deferred Actions -->
881            <Custom Action="FdoUnRegArcSde" After="FdoUnRegSltCmd">&amp;FdoArcSdeProviderFeature=2</Custom>
882            <Custom Action="FdoUnRegSdf" After="FdoUnRegArcSde">&amp;FdoSdfProviderFeature=2</Custom>
883            <Custom Action="FdoUnRegShp" After="FdoUnRegSdf">&amp;FdoShpProviderFeature=2</Custom>
884            <Custom Action="FdoUnRegWfs" After="FdoUnRegShp">&amp;FdoWfsProviderFeature=2</Custom>
885            <Custom Action="FdoUnRegWms" After="FdoUnRegWfs">&amp;FdoWmsProviderFeature=2</Custom>
886            <Custom Action="FdoUnRegOdbc" After="FdoUnRegWms">&amp;FdoOdbcProviderFeature=2</Custom>
887            <Custom Action="FdoUnRegMySql" After="FdoUnRegOdbc">&amp;FdoMySqlProviderFeature=2</Custom>
888            <Custom Action="FdoUnRegGdal" After="FdoUnRegMySql">&amp;FdoGdalProviderFeature=2</Custom>
889            <Custom Action="FdoUnRegOgr" After="FdoUnRegGdal">&amp;FdoOgrProviderFeature=2</Custom>
890            <Custom Action="FdoUnRegPostgreSql" After="FdoUnRegOgr">&amp;FdoPostgreSqlProviderFeature=2</Custom>
891            <Custom Action="FdoUnRegOracle" After="FdoUnRegPostgreSql">&amp;FdoKingOracleProviderFeature=2</Custom>
892            <Custom Action="FdoUnRegSqlServer" After="FdoUnRegOracle">&amp;FdoSqlServerSpatialProviderFeature=2</Custom>
893            <Custom Action="FdoUnRegSlt" After="FdoUnRegSqlServer">&amp;FdoSltProviderFeature=2</Custom>
894
895            <!-- Apache / PHP / MG Server Custom Actions-->
896            <Custom
897                Action="UpdateApacheConfig"
898                After="UpdateApacheConfig.SetValues">&amp;WebExtPhpFeature&gt;2 AND &amp;WebExtApacheFeature&gt;2</Custom>
899            <Custom
900                Action="UpdateApacheConfig.SetValues"
901                After="InstallFiles">&amp;WebExtPhpFeature&gt;2 AND &amp;WebExtApacheFeature&gt;2</Custom>
902            <Custom
903                Action="UpdatePhpIni"
904                After="UpdatePhpIni.SetValues">&amp;WebExtPhpFeature&gt;2</Custom>
905            <Custom
906                Action="UpdatePhpIni.SetValues"
907                Before="InstallFinalize">&amp;WebExtPhpFeature&gt;2</Custom>
908            <Custom
909                Action="InstallApacheServiceCA"
910                Before="InstallFinalize">MGWEB_CONFIG=&quot;APACHE&quot; AND &amp;WebExtApacheFeature&gt;2</Custom>
911            <Custom
912                Action="StartApacheServiceCA"
913                After="InstallApacheServiceCA">MGWEB_CONFIG=&quot;APACHE&quot; AND &amp;WebExtApacheFeature&gt;2</Custom>
914            <!-- Something's wrong with the Tomcat actions. So disable them for now -->
915            <!--
916            <Custom
917                Action="InstallTomcatServiceCA"
918                Before="InstallFinalize">MGWEB_CONFIG=&quot;APACHE&quot; AND &amp;WebExtTomcatFeature&gt;2</Custom>
919            <Custom
920                Action="StartTomcatServiceCA"
921                Before="InstallTomcatServiceCA">MGWEB_CONFIG=&quot;APACHE&quot; AND &amp;WebExtTomcatFeature&gt;2</Custom>
922            -->
923            <Custom
924                Action="MgServerInstallCA"
925                Before="InstallFinalize">&amp;ServerFeature&gt;2</Custom>
926            <Custom
927                Action="MgServerUninstallCA"
928                Before="RemoveFiles">&amp;ServerFeature=2</Custom>
929            <Custom
930                Action="RemoveApacheServiceCA"
931                Before="RemoveFiles">MGWEB_CONFIG=&quot;APACHE&quot; AND &amp;WebExtApacheFeature=2</Custom>
932            <!--
933            <Custom
934                Action="RemoveTomcatServiceCA"
935                Before="RemoveFiles">MGWEB_CONFIG=&quot;APACHE&quot; AND &amp;WebExtTomcatFeature&gt;2</Custom>
936            -->
937        </InstallExecuteSequence>
938    </Product>
939</Wix>
Note: See TracBrowser for help on using the repository browser.