Created
December 18, 2012 15:57
-
-
Save rho24/4329216 to your computer and use it in GitHub Desktop.
Working wix website level isapi install for IIS 7.5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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="MyIsapi" Language="1033" Version="1.0.0.0" Manufacturer="Me" UpgradeCode="ADD-GUID-HERE"> | |
<Package InstallerVersion="405" Compressed="yes" InstallScope="perMachine" /> | |
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." /> | |
<MediaTemplate /> | |
<Feature Id="ProductFeature" Title="MyIsapi" Level="1"> | |
<ComponentGroupRef Id="ProductComponents" /> | |
</Feature> | |
<Property Id="MYINSTALLDIR" Value="C:\MyIsapi" /> | |
</Product> | |
<Fragment> | |
<iis:WebSite Id="Default" Description="Default Web Site"> | |
<iis:WebAddress Id="localhost" Port="80" /> | |
</iis:WebSite> | |
</Fragment> | |
<Fragment> | |
<Directory Id="TARGETDIR" Name="SourceDir"> | |
<Directory Id="MYINSTALLDIR" Name="MYINSTALLDIR"> | |
<Directory Id="INSTALLFOLDER" Name="Dlls" /> | |
</Directory> | |
</Directory> | |
</Fragment> | |
<Fragment> | |
<ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER"> | |
<Component Id="IsapiDll" Guid="ADD-GUID-HERE"> | |
<File Id="isapidll" Name="isapi.dll" Source="isapi.dll" /> | |
</Component> | |
<Component Id="IisFilter" Guid="ADD-GUID-HERE"> | |
<CreateFolder /> | |
<iis:WebFilter Id="IisFilter" Name="MyIsapi" Path="[INSTALLFOLDER]isapi.dll" LoadOrder="last" Description="MyIsapi" WebSite="Default" /> | |
</Component> | |
</ComponentGroup> | |
</Fragment> | |
</Wix> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment