Skip to content

Instantly share code, notes, and snippets.

@rho24
Created December 17, 2012 16:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rho24/4319729 to your computer and use it in GitHub Desktop.
Save rho24/4319729 to your computer and use it in GitHub Desktop.
Failing wix global level isapi install for IIS 7.5
<?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>
<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" />
</Component>
</ComponentGroup>
</Fragment>
</Wix>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment