init
This commit is contained in:
70
installers/Product.wxs
Normal file
70
installers/Product.wxs
Normal file
@@ -0,0 +1,70 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
|
||||
xmlns:iis="http://schemas.microsoft.com/wix/IIsExtension">
|
||||
<Product Id="*"
|
||||
Name="Gallery"
|
||||
Language="1033"
|
||||
Version="1.0.0"
|
||||
Manufacturer="Vistaprint"
|
||||
UpgradeCode="{aba1c34e-39c6-47cf-b50a-cae4e77f8204}">
|
||||
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />
|
||||
|
||||
<Media Id="1" Cabinet="product.cab" EmbedCab="yes" />
|
||||
|
||||
<!-- Allows our MSI to automatically uninstall any previously installed versions (makes it play nicer with puppet) -->
|
||||
<Property Id="PREVIOUSVERSIONSINSTALLED" Secure="yes" />
|
||||
<!-- Upgrade id has to match our upgrade code -->
|
||||
<Upgrade Id="{aba1c34e-39c6-47cf-b50a-cae4e77f8204}">
|
||||
<UpgradeVersion
|
||||
Minimum="0.0.0.1" Maximum="99.0.0.0"
|
||||
Property="PREVIOUSVERSIONINSTALLED"
|
||||
IncludeMinimum="yes" IncludeMaximum="no" />
|
||||
</Upgrade>
|
||||
<!--
|
||||
We need to be able to uninstall a newer version from an older version.
|
||||
The default reinstallmode is "omus", of which the 'o' means "reinstall if missing or older"
|
||||
The 'd' means "reinstall if different". This ensures that, at the individual component level, rollbacks work correctly.
|
||||
See http://msdn.microsoft.com/en-us/library/windows/desktop/aa371182(v=vs.85).aspx
|
||||
-->
|
||||
<Property Id="REINSTALLMODE" Value="dmus" />
|
||||
|
||||
<Feature Id="Gallery" Title="Gallery">
|
||||
<ComponentGroupRef Id="web_files" />
|
||||
</Feature>
|
||||
<Feature Id="GalleryWebsite" Title="GalleryWebConfig">
|
||||
<ComponentGroupRef Id="web_files" />
|
||||
<ComponentRef Id='WebsiteConfig' />
|
||||
</Feature>
|
||||
</Product>
|
||||
|
||||
<Fragment>
|
||||
<Directory Id="TARGETDIR" Name="SourceDir">
|
||||
<Directory Id="IISMain" Name='inetpub'>
|
||||
<Directory Id="VistaprintFolder" Name="Vistaprint">
|
||||
<Directory Id="INSTALLFOLDER" Name="Gallery">
|
||||
<Directory Id="Install_Web" Name="Web">
|
||||
<Component Id='WebsiteConfig' Guid='{890bad01-9211-45b6-b3d0-98cb249a8e7c}' Win64="yes">
|
||||
<iis:WebSite Id='Gallery' Description='Gallery' Directory='Install_Web' StartOnInstall='yes' ConfigureIfExists='yes' AutoStart='yes'>
|
||||
<iis:WebAddress Id='DevGallery' Port='80' Header='devGallery' />
|
||||
<iis:WebAddress Id='DevGalleryLong' Port='80' Header='devGallery.vistaprint.net' />
|
||||
<iis:WebAddress Id='Gallery' Port='80' Header='Gallery' />
|
||||
<iis:WebAddress Id='GalleryWildcard' Port='80' Header='*' />
|
||||
<iis:WebAddress Id='GalleryLong' Port='80' Header='Gallery.vistaprint.net' />
|
||||
<iis:WebApplication Id='GalleryApp' WebAppPool='GalleryAppPool' Name='Gallery' />
|
||||
</iis:WebSite>
|
||||
<iis:WebAppPool Id='GalleryAppPool' Identity="localSystem" RecycleMinutes="0" IdleTimeout="0" ManagedPipelineMode='Integrated' ManagedRuntimeVersion='v4.0' Name='Gallery' />
|
||||
</Component>
|
||||
</Directory>
|
||||
</Directory>
|
||||
</Directory>
|
||||
</Directory>
|
||||
</Directory>
|
||||
</Fragment>
|
||||
|
||||
|
||||
<Fragment>
|
||||
<InstallExecuteSequence>
|
||||
<RemoveExistingProducts After="InstallInitialize" />
|
||||
</InstallExecuteSequence>
|
||||
</Fragment>
|
||||
</Wix>
|
||||
Reference in New Issue
Block a user