This is another example of the bug I reported here yesterday, and several others are reporting in SFBUG:2966134 and SFBUG:2979773.
They both have priority 5. Hopefully it is getting more attention than that, as it seems widespread. Thanks, Matt Johnson MCPD, MCTS, MCSD, MCDBA Director of Application Development Time America, Inc. ma...@timeamerica.com | www.timeamerica.com -----Original Message----- From: Pierre Lebel [mailto:ple...@rpath.com] Sent: Wednesday, April 28, 2010 7:16 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Problem creating virtual directory on Windows 2003 I'm writing a small installer using WIX. I use WIX 3.5 and the IIsExtension to deploy a Web Service prototype. It works fine on Windows 2008 after turning UAC (off because the installer is not signed). When it comes to Windows 2003, the installation fails with these errors. ConfigureIIsExec: Error 0x80070006: Failed to format string ConfigureIIsExec: Error 0x80070006: Failed to get Description for Web ConfigureIIsExec: Error 0x80070006: failed while processing WebSites Error 26002. Failed while processing WebSites. (-2147024890 ) MSI (s) (48:40) [09:43:50:634]: Error in rollback skipped. Return: 5 Here is the code <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:iis="http://schemas.microsoft.com/wix/IIsExtension"> <?define ProductVersion="1.0.0" ?> <Product Id="*" Name=" Setup" Language="1033" Version="$(var.ProductVersion)" Manufacturer="some manufacturer" UpgradeCode="fdb6a996-99a6-4f2c-a213-c34cd827487a"> <Package InstallerVersion="200" Compressed="yes" /> <Media Id="1" Cabinet="media1.cab" EmbedCab="yes" /> <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="inetpub" Name="inetpub"> <Directory Id="wwwroot" Name="wwwroot"> <Directory Id="WINCGDir" Name="WINCG"> <!-- TODO: Remove the comments around this Component element and the ComponentRef below in order to add resources to this installer. --> <Component Id="CapsuleGeneratorService" Guid="20d5c0a7-a0b5-409c-8761-bd51eb92b547"> <File Source="..\TempBin\Web.config" /> <File Source="..\TempBin\WinCG.svc" /> <WebVirtualDir Id="WINCGvd" Alias="WINCG" Directory="WINCGDir" WebSite="DefaultWebSite" xmlns="http://schemas.microsoft.com/wix/IIsExtension"> <WebApplication Id="WINCGapp" Name="WINCG" /> </WebVirtualDir> </Component> <Directory Id="bin" Name="bin"> <Component Id="CapsuleGeneratorServiceBin" Guid="013A6B0A-538A-45F9-BA36-4D1F8EE42E3C"> <!-- TODO: Insert files, registry keys, and other resources here. --> <File Source="..\TempBin\IMDEP.dll" /> <File Source="..\TempBin\NETDEP.dll" /> <File Source="..\TempBin\SharedLib.dll" /> <File Source="..\TempBin\WINCG.dll" /> </Component> </Directory> </Directory> </Directory> </Directory> </Directory> <WebSite Id="DefaultWebSite" Description="Default Web Site" xmlns="http://schemas.microsoft.com/wix/IIsExtension" > <WebAddress Id="All" Port="80" /> </WebSite> <Feature Id="WINCG" Title="Windows Capsule Generator" Level="1"> <!-- TODO: Remove the comments around this ComponentRef element and the Component above in order to add resources to this installer. --> <ComponentRef Id="CapsuleGeneratorService" /> <ComponentRef Id="CapsuleGeneratorServiceBin" /> <!-- Note: The following ComponentGroupRef is required to pull in generated authoring from project references. --> <!--<ComponentGroupRef Id="Product.Generated" />--> </Feature> <Upgrade Id="fdb6a996-99a6-4f2c-a213-c34cd827487a"> <UpgradeVersion Minimum="$(var.ProductVersion)" IncludeMinimum="no" OnlyDetect="yes" Language="1033" Property="NEWPRODUCTFOUND" /> <UpgradeVersion Minimum="0.0.0.0" IncludeMinimum="yes" Maximum="$(var.ProductVersion)" IncludeMaximum="no" Language="1033" Property="UPGRADEFOUND" /> </Upgrade> <!-- Prevent downgrading --> <CustomAction Id="PreventDowngrading" Error="Newer version already installed." /> <InstallExecuteSequence> <Custom Action="PreventDowngrading" After="FindRelatedProducts">NEWPRODUCTFOUND</Custom> <RemoveExistingProducts After="InstallFinalize" /> </InstallExecuteSequence> <InstallUISequence> <Custom Action="PreventDowngrading" After="FindRelatedProducts">NEWPRODUCTFOUND</Custom> </InstallUISequence> </Product> </Wix> Thanks! Pierre Lebel Windows Platform Engineer rPath, Inc. ple...@rpath.com (919) 861-5694 www.rpath.com ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users