Ok, the example below now works (you folks have fixed the problem in the latest 
available wix35.msi).

If anyone has a similar problem of getting a very simple web site to install 
you'll need the latest wix35.msi found at:

http://wix.sourceforge.net/releases/3.5.1120.0/


My configuration uses this with Visual Studio 2008 rather than Visual Studio 
2010, and I'm using IIS 6.0.


Charles




________________________________
From: Charles Mcdonald <charliem...@verizon.net>
To: General discussion for Windows Installer XML toolset. 
<wix-users@lists.sourceforge.net>
Sent: Thu, December 3, 2009 11:37:43 AM
Subject: Re: [WiX-users] A simple web site example request

Ok, after getting VS 2008 to do rebuild my simple wix project I'm back to the 
original error:

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) (60!2C) [11:31:45:549]: Product: WebServerWIX -- Error 26002. Failed 
while processing WebSites.   (-2147024890         )

I'm working off an example found at the following web site:

http://www.dalun.com/wix/01.05.2007.htm

I've just had to update this to work with Wix 3.5.


I'm just trying to understand why it can't get the Description for the Web 
site... seems like it must be running into some other issue.

Here's the sample wix project file again:
<?
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";
xmlns:iis="http://schemas.microsoft..com/wix/IIsExtension";>
<Product Id="dc2796e2-8082-4096-b306-d207bce48818" Name="WebServerWIX" 
Language="1033" Version="10.0.0.0" Manufacturer="OIS" 
UpgradeCode="ee273ec7-3b98-43a9-986f-b64d8edf2f91">
<Package InstallerVersion="200" Description="OIS Web Server Created using WiX" 
Comments="Should facilitate Web.config modification during installation" 
Compressed="yes" />
<Media Id="1" Cabinet="WebServerWixProject.cab" EmbedCab="yes" />
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder" Name="PFiles">
<Directory Id="ApplicationFolder" Name="Test Directory">
<Component Id="WebSiteComponent" Guid="6b27e78e-bcbc-462a-bd7a-50cf991c7d39" 
DiskId="1">
<File Id="WixExampleFile" Name="simple.txt" Source="bin\simple.txt" />
<iis:WebSite Id="DefaultWebSite" Description="My First Web Site Created With 
WiX" Directory="ApplicationFolder">
<iis:WebAddress Id="AllUnassigned" Port="80" />
</iis:WebSite>
</Component>
<Component Id="WebVirtualDirComponent" 
Guid="8d7c59c0-b84d-40d9-b3a5-0c73b6487ae4">
<CreateFolder/>
<iis:WebVirtualDir Id="VDir" Alias="Test" Directory="ApplicationFolder" 
WebSite="DefaultWebSite">
<iis:WebApplication Id="TestWebApplication" Name="Test" />
</iis:WebVirtualDir>
</Component>
</Directory>
</Directory>
</Directory>
<Feature Id="TestProductFeature" Title="Wix File Product Feature" Level="1">
<ComponentRef Id="WebSiteComponent" />
<ComponentRef Id="WebVirtualDirComponent" />
</Feature>
</Product>
</Wix>
 
 
And the log file:
 
=== Logging started: 12/3/2009  11:31:43 ===
Action 11:31:43: INSTALL. 
Action start 11:31:43: INSTALL.
Action 11:31:43: ValidateProductID. 
Action start 11:31:43: ValidateProductID.
Action ended 11:31:43: ValidateProductID. Return value 1.
Action 11:31:43: CostInitialize. Computing space requirements
Action start 11:31:43: CostInitialize.
Action ended 11:31:43: CostInitialize. Return value 1.
Action 11:31:43: FileCost. Computing space requirements
Action start 11:31:43: FileCost.
Action ended 11:31:43: FileCost. Return value 1.
Action 11:31:43: CostFinalize. Computing space requirements
Action start 11:31:43: CostFinalize.
Action ended 11:31:43: CostFinalize. Return value 1.
Action 11:31:43: ExecuteAction. 
Action start 11:31:43: ExecuteAction.
Action start 11:31:43: INSTALL.
Action start 11:31:43: ValidateProductID.
Action ended 11:31:43: ValidateProductID. Return value 1.
Action start 11:31:43: CostInitialize.
Action ended 11:31:43: CostInitialize. Return value 1.
Action start 11:31:43: FileCost.
Action ended 11:31:43: FileCost. Return value 1.
Action start 11:31:43: CostFinalize.
Action ended 11:31:43: CostFinalize. Return value 1.
Action start 11:31:43: InstallValidate.
Action ended 11:31:43: InstallValidate. Return value 1.
Action start 11:31:43: InstallInitialize..
Action ended 11:31:43: InstallInitialize. Return value 1.
Action start 11:31:43: ProcessComponents.
Action ended 11:31:43: ProcessComponents. Return value 1.
Action start 11:31:43: UnpublishFeatures.
Action ended 11:31:43: UnpublishFeatures. Return value 1.
Action start 11:31:43: RemoveFiles.
Action ended 11:31:43: RemoveFiles. Return value 0.
Action start 11:31:43: RemoveFolders.
Action ended 11:31:43: RemoveFolders. Return value 1.
Action start 11:31:43: CreateFolders.
Action ended 11:31:43: CreateFolders. Return value 1.
Action start 11:31:43: InstallFiles.
Action ended 11:31:43: InstallFiles. Return value 1.
Action start 11:31:43: ConfigureIIs.
Action start 11:31:43: StartMetabaseTransaction.
Action ended 11:31:43: StartMetabaseTransaction. Return value 1.
Action start 11:31:43: RollbackMetabaseTransaction.
Action ended 11:31:43: RollbackMetabaseTransaction. Return value 1.
Action start 11:31:43: CommitMetabaseTransaction.
Action ended 11:31:43: CommitMetabaseTransaction. Return value 1.
Action start 11:31:43: ConfigureIIsExec.
Action ended 11:31:43: ConfigureIIsExec. Return value 1.
Action start 11:31:43: WriteMetabaseChanges.
Action ended 11:31:43: WriteMetabaseChanges. Return value 1.
Action ended 11:31:43: ConfigureIIs. Return value 1.
Action start 11:31:43: RegisterUser.
Action ended 11:31:43: RegisterUser. Return value 1.
Action start 11:31:43: RegisterProduct.
Action ended 11:31:43: RegisterProduct. Return value 1.
Action start 11:31:43: PublishFeatures.
Action ended 11:31:43: PublishFeatures. Return value 1.
Action start 11:31:43: PublishProduct.
Action ended 11:31:43: PublishProduct. Return value 1.
Action start 11:31:43: InstallFinalize.
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) (60!2C) [11:31:45:549]: Product: WebServerWIX -- Error 26002. Failed 
while processing WebSites.   (-2147024890         )
Action ended 11:31:45: InstallFinalize. Return value 3.
Action ended 11:31:57: INSTALL. Return value 3.
Property(S): StartMetabaseTransaction = ScaConfigureIIs
Property(S): RollbackMetabaseTransaction = ScaConfigureIIs
Property(S): CommitMetabaseTransaction = ScaConfigureIIs
Property(S): WriteMetabaseChanges = ConfigureIIs
Property(S): ApplicationFolder = C:\Program Files\Test Directory\
Property(S): ConfigureIIsExec = 
ConfigureIIs1002100210021002100210021002100210021121Name1Isolation2AllowSessions2SessionTimeout2Buffer2ParentPaths2DefaultScript1ScriptTimeout2ServerDebugging2ClientDebugging2AppPool_1Application13Test0-2147483648-2147483648-2147483648-2147483648-2147483648-2147483648-2147483648TestWebApplication4210021201Web1Component_1Id1Description1ConnectionTimeout2Directory_1State2Attributes2DirProperties_1Application_1Address1IP1Port1Header1Secure2Log_1ISInstalled2ISAction2SourcePath1TargetPath13DefaultWebSiteWebSiteComponentMy
 First Web Site Created With 
WiX-2147483648ApplicationFolder-2147483648-2147483648AllUnassigned80023C:\Program
 Files\Test 
Directory\42161Address1Web_1IP1Port1Header1Secure23AllUnassignedDefaultWebSite80042171Web1Id1IP1Port1Header1Secure2Description13DefaultWebSite800My
 First Web Site Created With
WiX4210021111Web_1VirtualDir1Component_1Alias1Directory_1DirProperties_1Application_1ISInstalled2ISAction2SourcePath1TargetPath13DefaultWebSiteVDirWebVirtualDirComponentTestApplicationFolderTestWebApplication23C:\Program
 Files\Test Directory\4210021002
Property(S): ProgramFilesFolder = C:\Program Files\
Property(S): TARGETDIR = C:\
Property(S): SourceDir = C:\Documents and Settings\cmcdonald\My 
Documents\Visual Studio 
2008\Projects\OISSrc\InstallerIntegration\Deployment\CitiMTN\WebServerWIX\WebServerWIX\bin\Release\
Property(S): Manufacturer = OIS
Property(S): ProductCode = {DC2796E2-8082-4096-B306-D207BCE48818}
Property(S): ProductLanguage = 1033
Property(S): ProductName = WebServerWIX
Property(S): ProductVersion = 10.0.0.0
Property(S): UpgradeCode = {EE273EC7-3B98-43A9-986F-B64D8EDF2F91}
Property(S): PackageCode = {5B6944D4-B79D-401E-849C-3DE68161189B}
Property(S): ProductState = -1
Property(S): PackagecodeChanging = 1
Property(S): CURRENTDIRECTORY = C:\Documents and Settings\cmcdonald\My 
Documents\Visual Studio 
2008\Projects\OISSrc\InstallerIntegration\Deployment\CitiMTN\WebServerWIX\WebServerWIX\bin\Release
Property(S): CLIENTUILEVEL = 0
Property(S): CLIENTPROCESSID = 4516
Property(S): USERNAME = SS&C Technologies
Property(S): COMPANYNAME = SS&C Technologies
Property(S): VersionDatabase = 200
Property(S): ROOTDRIVE = C:\
Property(S): EXECUTEACTION = INSTALL
Property(S): ACTION = INSTALL
Property(S): INSTALLLEVEL = 1
Property(S): SECONDSEQUENCE = 1
Property(S): ADDLOCAL = TestProductFeature
Property(S): VersionMsi = 3..01
Property(S): VersionNT = 502
Property(S): WindowsBuild = 3790
Property(S): ServicePackLevel = 2
Property(S): ServicePackLevelMinor = 0
Property(S): MsiNTProductType = 3
Property(S): MsiNTSuiteEnterprise = 1
Property(S): WindowsFolder = C:\WINDOWS\
Property(S): WindowsVolume = C:\
Property(S): SystemFolder = C:\WINDOWS\system32\
Property(S): System16Folder = C:\WINDOWS\system\
Property(S): RemoteAdminTS = 1
Property(S): TempFolder = C:\DOCUME~1\CMCDON~1\LOCALS~1\Temp\
Property(S): CommonFilesFolder = C:\Program Files\Common Files\
Property(S): AppDataFolder = C:\Documents and Settings\cmcdonald\Application 
Data\
Property(S): FavoritesFolder = C:\Documents and Settings\cmcdonald\Favorites\
Property(S): NetHoodFolder = C:\Documents and Settings\cmcdonald\NetHood\
Property(S): PersonalFolder = C:\Documents and Settings\cmcdonald\My Documents\
Property(S): PrintHoodFolder = C:\Documents and Settings\cmcdonald\PrintHood\
Property(S): RecentFolder = C:\Documents and Settings\cmcdonald\Recent\
Property(S): SendToFolder = C:\Documents and Settings\cmcdonald\SendTo\
Property(S): TemplateFolder = C:\Documents and Settings\cmcdonald\Templates\
Property(S): CommonAppDataFolder = C:\Documents and Settings\All 
Users\Application Data\
Property(S): LocalAppDataFolder = C:\Documents and Settings\cmcdonald\Local 
Settings\Application Data\
Property(S): MyPicturesFolder = C:\Documents and Settings\cmcdonald\My 
Documents\My Pictures\
Property(S): AdminToolsFolder = C:\Documents and Settings\cmcdonald\Start 
Menu\Programs\Administrative Tools\
Property(S): StartupFolder = C:\Documents and Settings\cmcdonald\Start 
Menu\Programs\Startup\
Property(S): ProgramMenuFolder = C:\Documents and Settings\cmcdonald\Start 
Menu\Programs\
Property(S): StartMenuFolder = C:\Documents and Settings\cmcdonald\Start Menu\
Property(S): DesktopFolder = C:\Documents and Settings\cmcdonald\Desktop\
Property(S): FontsFolder = C:\WINDOWS\Fonts\
Property(S): GPTSupport = 1
Property(S): OLEAdvtSupport = 1
Property(S): ShellAdvtSupport = 1
Property(S): Intel = 6
Property(S): PhysicalMemory = 2047
Property(S): VirtualMemory = 2397
Property(S): AdminUser = 1
Property(S): LogonUser = cmcdonald
Property(S): UserSID = S-1-5-21-3688695661-3189643769-730349496-37974
Property(S): UserLanguageID = 1033
Property(S): ComputerName = SH-CMCDONALD
Property(S): SystemLanguageID = 1033
Property(S): ScreenX = 1280
Property(S): ScreenY = 1024
Property(S): CaptionHeight = 19
Property(S): BorderTop = 1
Property(S): BorderSide = 1
Property(S): TextHeight = 16
Property(S): ColorBits = 32
Property(S): TTCSupport = 1
Property(S): Time = 11:31:57
Property(S): Date = 12/3/2009
Property(S): MsiNetAssemblySupport = 2.0.50727.3053
Property(S): MsiWin32AssemblySupport = 5.2..3790.3959
Property(S): RedirectedDllSupport = 2
Property(S): Privileged = 1
Property(S): DATABASE = C:\WINDOWS\Installer\25da9ab0.msi
Property(S): OriginalDatabase = C:\Documents and Settings\cmcdonald\My 
Documents\Visual Studio 
2008\Projects\OISSrc\InstallerIntegration\Deployment\CitiMTN\WebServerWIX\WebServerWIX\bin\Release\WebServerWIX.msi
Property(S): UILevel = 5
Property(S): Preselected = 1
Property(S): CostingComplete = 1
Property(S): OutOfDiskSpace = 0
Property(S): OutOfNoRbDiskSpace = 0
Property(S): PrimaryVolumeSpaceAvailable = 0
Property(S): PrimaryVolumeSpaceRequired = 0
Property(S): PrimaryVolumeSpaceRemaining = 0
Property(S): SOURCEDIR = C:\Documents and Settings\cmcdonald\My 
Documents\Visual Studio 
2008\Projects\OISSrc\InstallerIntegration\Deployment\CitiMTN\WebServerWIX\WebServerWIX\bin\Release\
Property(S): SourcedirProduct = {DC2796E2-8082-4096-B306-D207BCE48818}
Property(S): ProductToBeRegistered = 1
Action ended 11:31:57: ExecuteAction. Return value 3.
Action ended 11:31:57: INSTALL. Return value 3.
Property(C): ApplicationFolder = C:\Program Files\Test Directory\
Property(C): ProgramFilesFolder = C:\Program Files\
Property(C): TARGETDIR = C:\
Property(C): SourceDir = C:\Documents and Settings\cmcdonald\My 
Documents\Visual Studio 
2008\Projects\OISSrc\InstallerIntegration\Deployment\CitiMTN\WebServerWIX\WebServerWIX\bin\Release\
Property(C): Manufacturer = OIS
Property(C): ProductCode = {DC2796E2-8082-4096-B306-D207BCE48818}
Property(C): ProductLanguage = 1033
Property(C): ProductName = WebServerWIX
Property(C): ProductVersion = 10.0.0.0
Property(C): UpgradeCode = {EE273EC7-3B98-43A9-986F-B64D8EDF2F91}
Property(C): PackageCode = {5B6944D4-B79D-401E-849C-3DE68161189B}
Property(C): ProductState = -1
Property(C): PackagecodeChanging = 1
Property(C): CURRENTDIRECTORY = C:\Documents and Settings\cmcdonald\My 
Documents\Visual Studio 
2008\Projects\OISSrc\InstallerIntegration\Deployment\CitiMTN\WebServerWIX\WebServerWIX\bin\Release
Property(C): CLIENTUILEVEL = 0
Property(C): CLIENTPROCESSID = 4516
Property(C): VersionDatabase = 200
Property(C): VersionMsi = 3.01
Property(C): VersionNT = 502
Property(C): WindowsBuild = 3790
Property(C): ServicePackLevel = 2
Property(C): ServicePackLevelMinor = 0
Property(C): MsiNTProductType = 3
Property(C): MsiNTSuiteEnterprise = 1
Property(C): WindowsFolder = C:\WINDOWS\
Property(C): WindowsVolume = C:\
Property(C): SystemFolder = C:\WINDOWS\system32\
Property(C): System16Folder = C:\WINDOWS\system\
Property(C): RemoteAdminTS = 1
Property(C): TempFolder = C:\DOCUME~1\CMCDON~1\LOCALS~1\Temp\
Property(C): CommonFilesFolder = C:\Program Files\Common Files\
Property(C): AppDataFolder = C:\Documents and Settings\cmcdonald\Application 
Data\
Property(C): FavoritesFolder = C:\Documents and Settings\cmcdonald\Favorites\
Property(C): NetHoodFolder = C:\Documents and Settings\cmcdonald\NetHood\
Property(C): PersonalFolder = C:\Documents and Settings\cmcdonald\My Documents\
Property(C): PrintHoodFolder = C:\Documents and Settings\cmcdonald\PrintHood\
Property(C): RecentFolder = C:\Documents and Settings\cmcdonald\Recent\
Property(C): SendToFolder = C:\Documents and Settings\cmcdonald\SendTo\
Property(C): TemplateFolder = C:\Documents and Settings\cmcdonald\Templates\
Property(C): CommonAppDataFolder = C:\Documents and Settings\All 
Users\Application Data\
Property(C): LocalAppDataFolder = C:\Documents and Settings\cmcdonald\Local 
Settings\Application Data\
Property(C): MyPicturesFolder = C:\Documents and Settings\cmcdonald\My 
Documents\My Pictures\
Property(C): AdminToolsFolder = C:\Documents and Settings\cmcdonald\Start 
Menu\Programs\Administrative Tools\
Property(C): StartupFolder = C:\Documents and Settings\cmcdonald\Start 
Menu\Programs\Startup\
Property(C): ProgramMenuFolder = C:\Documents and Settings\cmcdonald\Start 
Menu\Programs\
Property(C): StartMenuFolder = C:\Documents and Settings\cmcdonald\Start Menu\
Property(C): DesktopFolder = C:\Documents and Settings\cmcdonald\Desktop\
Property(C): FontsFolder = C:\WINDOWS\Fonts\
Property(C): GPTSupport = 1
Property(C): OLEAdvtSupport = 1
Property(C): ShellAdvtSupport = 1
Property(C): Intel = 6
Property(C): PhysicalMemory = 2047
Property(C): VirtualMemory = 2398
Property(C): AdminUser = 1
Property(C): LogonUser = cmcdonald
Property(C): UserSID = S-1-5-21-3688695661-3189643769-730349496-37974
Property(C): UserLanguageID = 1033
Property(C): ComputerName = SH-CMCDONALD
Property(C): SystemLanguageID = 1033
Property(C): ScreenX = 1280
Property(C): ScreenY = 1024
Property(C): CaptionHeight = 19
Property(C): BorderTop = 1
Property(C): BorderSide = 1
Property(C): TextHeight = 16
Property(C): ColorBits = 32
Property(C): TTCSupport = 1
Property(C): Time = 11:31:57
Property(C): Date = 12/3/2009
Property(C): MsiNetAssemblySupport = 2.0.50727.3053
Property(C): MsiWin32AssemblySupport = 5.2.3790.3959
Property(C): RedirectedDllSupport = 2
Property(C): Privileged = 1
Property(C): USERNAME = SS&C Technologies
Property(C): COMPANYNAME = SS&C Technologies
Property(C): DATABASE = C:\DOCUME~1\CMCDON~1\LOCALS~1\Temp\25dd5624.msi
Property(C): OriginalDatabase = C:\Documents and Settings\cmcdonald\My 
Documents\Visual Studio 
2008\Projects\OISSrc\InstallerIntegration\Deployment\CitiMTN\WebServerWIX\WebServerWIX\bin\Release\WebServerWIX.msi
Property(C): SOURCEDIR = C:\Documents and Settings\cmcdonald\My 
Documents\Visual Studio 
2008\Projects\OISSrc\InstallerIntegration\Deployment\CitiMTN\WebServerWIX\WebServerWIX\bin\Release\
Property(C): VersionHandler = 3.01
Property(C): ROOTDRIVE = C:\
Property(C): EXECUTEACTION = INSTALL
Property(C): ACTION = INSTALL
Property(C): UILevel = 5
Property(C): CostingComplete = 0
Property(C): OutOfDiskSpace = 0
Property(C): OutOfNoRbDiskSpace = 0
Property(C): PrimaryVolumeSpaceAvailable = 0
Property(C): PrimaryVolumeSpaceRequired = 0
Property(C): PrimaryVolumeSpaceRemaining = 0
Property(C): INSTALLLEVEL = 1
=== Logging stopped: 12/3/2009  11:31:57 ===
MSI (c) (A4:50) [11:31:57:939]: Product: WebServerWIX -- Installation failed.
 




________________________________
From: Charles Mcdonald <charliem...@verizon.net>
To: General discussion for Windows Installer XML toolset. 
<wix-users@lists.sourceforge.net>
Sent: Thu, December 3, 2009 11:17:39 AM
Subject: Re: [WiX-users] A simple web site example request

I'm finding my real issue here (so far) is the build configurations within 
Visual Studio 2008.  It seems the WiX35.msi doesn't fully deal with build 
configurations too cleanly and so even if you think you're rebuilding your wix 
project within a visual studio rebuild, you may not infact be rebuilding it.

I'll continue to post here if the original installer bug re-appears, but for 
now, it looks like visual studio was not rebuilding it.




________________________________
From: Charles Mcdonald <charliem...@verizon.net>
To: General discussion for Windows Installer XML toolset. 
<wix-users@lists.sourceforge.net>
Sent: Thu, December 3, 2009 10:30:46 AM
Subject: Re: [WiX-users] A simple web site example request

Ok, looks like my font didn't come through on the first post:

<?
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";
xmlns:iis="http://schemas.microsoft.com/wix/IIsExtension";>
<Product Id="dc2796e2-8082-4096-b306-d207bce48818" Name="WebServerWIX" 
Language="1033" Version="10.0.0.0" Manufacturer="OIS" 
UpgradeCode="ee273ec7-3b98-43a9-986f-b64d8edf2f91">
<Package InstallerVersion="200" Description="OIS Web Server Created using WiX" 
Comments="Should facilitate Web.config modification during installation" 
Compressed="yes"/>
<Media Id="1" Cabinet="WebServerWixProject.cab" EmbedCab="yes"/>
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder">
<Directory Id="INSTALLLOCATION" Name="WIXTest">
<Component Id="WebSiteComponent" Guid="368c6e4f-5f13-4cb6-9fcd-5c39635f5384">
<File Id="WixExampleFile" Name="simple.txt" Source="bin\simple.txt"/>
<iis:WebSite Id="InstallToWebsite" Description="Whatever">
<iis:WebAddress Id="WebAddress" Port="80"/>
</iis:WebSite>
<iis:WebApplication Id="WebApp" Name="sbsite" WebAppPool="WebAppPool"/>
</Component>
<Component Id="WebVirtualDirComponent" 
Guid="8d7c59c0-b84d-40d9-b3a5-0c73b6487ae4" KeyPath="yes">
<CreateFolder/>
<iis:WebVirtualDir Id="AppVDir" Alias="sbsite" Directory="TARGETDIR" 
WebSite="InstallToWebsite" WebApplication="WebApp">
<iis:WebDirProperties Id="WebDir" DefaultDocuments="Default.aspx"/>
</iis:WebVirtualDir>
<iis:WebAppPool Id="WebAppPool" Name="sbsite"/>
</Component>
</Directory>
</Directory> 
</Directory>
<Feature Id="ProductFeature" Title="WebServerWIX" Level="1">
<ComponentRef Id="WebSiteComponent"/>
<ComponentRef Id="WebVirtualDirComponent"/>
</Feature>
</Product>
</Wix>
xml version="1.0" encoding="UTF-8"?>



________________________________
From: Charles Mcdonald <charliem...@verizon.net>
To: wix-users@lists.sourceforge.net
Sent: Thu, December 3, 2009 10:24:27 AM
Subject: [WiX-users] A simple web site example request

I'm relatively new to WIX and I'm looking for a simple example to get started 
on an installer for a web site that will be deployed in an n-tier environment.  
From the examples I've searched for on the web I've pieced together a basic WIX 
file but the messages coming back from IIS are too cryptic to really help me 
figure out how to fix it.  I'll provide both the Product..wxs file and the 
installer log with the error.

Product.wxs

<?
<xmlversion="1.0"encoding="UTF-8"?>Wixxmlns="http://schemas.microsoft..com/wix/2006/wi";<
<
<
<
<
<
<
<
<
<
</
<
</
<
<
<
<
</
<
</
</
</
</
<
<
<
</
</
</
 
The error I get when installing is:
 
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) (3C!C4) [09:52:42:727]: Product: WebServerWIX -- Error 26002. Failed 
while processing WebSites.   (-2147024890         )
 
This is probably something very obvious to most of you who have done this 
before.
 
 
Any help or pointer to an existing example that works would be appreciated.
 
Charles
 
 
The full log file generated by the installer when this is run is as follows:
 
=== Logging started: 12/3/2009  9:52:38 ===
Action 9:52:38: INSTALL. 
Action start 9:52:38: INSTALL.
Action 9:52:38: ValidateProductID. 
Action start 9:52:38: ValidateProductID..
Action ended 9:52:38: ValidateProductID. Return value 1.
Action 9:52:38: CostInitialize. Computing space requirements
Action start 9:52:38: CostInitialize.
Action ended 9:52:38: CostInitialize. Return value 1.
Action 9:52:38: FileCost. Computing space requirements
Action start 9:52:38: FileCost.
Action ended 9:52:38: FileCost. Return value 1.
Action 9:52:38: CostFinalize. Computing space requirements
Action start 9:52:38: CostFinalize.
Action ended 9:52:38: CostFinalize. Return value 1.
Action 9:52:38: ExecuteAction. 
Action start 9:52:38: ExecuteAction.
Action start 9:52:38: INSTALL.
Action start 9:52:38: ValidateProductID.
Action ended 9:52:38: ValidateProductID. Return value 1.
Action start 9:52:38: CostInitialize.
Action ended 9:52:38: CostInitialize. Return value 1.
Action start 9:52:38: FileCost.
Action ended 9:52:38: FileCost. Return value 1..
Action start 9:52:38: CostFinalize.
Action ended 9:52:38: CostFinalize. Return value 1.
Action start 9:52:38: InstallValidate.
Action ended 9:52:38: InstallValidate. Return value 1.
Action start 9:52:38: InstallInitialize.
Action ended 9:52:38: InstallInitialize.. Return value 1.
Action start 9:52:38: ProcessComponents.
Action ended 9:52:38: ProcessComponents. Return value 1.
Action start 9:52:38: UnpublishFeatures.
Action ended 9:52:38: UnpublishFeatures. Return value 1.
Action start 9:52:38: RemoveFiles.
Action ended 9:52:38: RemoveFiles. Return value 0.
Action start 9:52:38: RemoveFolders.
Action ended 9:52:38: RemoveFolders. Return value 1.
Action start 9:52:38: CreateFolders.
Action ended 9:52:38: CreateFolders. Return value 1.
Action start 9:52:38: InstallFiles.
Action ended 9:52:38: InstallFiles. Return value 1.
Action start 9:52:38: ConfigureIIs.
Action start 9:52:38: StartMetabaseTransaction.
Action ended 9:52:38: StartMetabaseTransaction. Return value 1.
Action start 9:52:38: RollbackMetabaseTransaction.
Action ended 9:52:38: RollbackMetabaseTransaction. Return value 1.
Action start 9:52:38: CommitMetabaseTransaction.
Action ended 9:52:38: CommitMetabaseTransaction. Return value 1.
Action start 9:52:38: ConfigureIIsExec.
Action ended 9:52:38: ConfigureIIsExec. Return value 1.
Action start 9:52:38: WriteMetabaseChanges.
Action ended 9:52:38: WriteMetabaseChanges. Return value 1.
Action ended 9:52:38: ConfigureIIs. Return value 1.
Action start 9:52:38: RegisterUser.
Action ended 9:52:38: RegisterUser. Return value 1.
Action start 9:52:38: RegisterProduct.
Action ended 9:52:38: RegisterProduct. Return value 1.
Action start 9:52:38: PublishFeatures.
Action ended 9:52:38: PublishFeatures. Return value 1.
Action start 9:52:38: PublishProduct.
Action ended 9:52:38: PublishProduct. Return value 1.
Action start 9:52:39: InstallFinalize.
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) (3C!C4) [09:52:42:727]: Product: WebServerWIX -- Error 26002. Failed 
while processing WebSites.   (-2147024890         )
Action ended 9:52:42: InstallFinalize. Return value 3.
Action ended 9:52:54: INSTALL. Return value 3...
Property(S): StartMetabaseTransaction = ScaConfigureIIs
Property(S): RollbackMetabaseTransaction = ScaConfigureIIs
Property(S): CommitMetabaseTransaction = ScaConfigureIIs
Property(S): WriteMetabaseChanges = ConfigureIIs
Property(S): WebApplicationFolder = C:\Program Files\WebServerWIX\
Property(S): ConfigureIIsExec = 
ConfigureIIs1002100210021002100210021002100210021121Name1Isolation2AllowSessions2SessionTimeout2Buffer2ParentPaths2DefaultScript1ScriptTimeout2ServerDebugging2ClientDebugging2AppPool_1Application13Test0-2147483648-2147483648-2147483648-2147483648-2147483648-2147483648-2147483648TestWebApplication4210021201Web1Component_1Id1Description1ConnectionTimeout2Directory_1State2Attributes2DirProperties_1Application_1Address1IP1Port1Header1Secure2Log_1ISInstalled2ISAction2SourcePath1TargetPath13DefaultWebSiteWebSiteComponentHello-2147483648WebApplicationFolder-2147483648-2147483648AllUnassigned80023C:\Program
Files\WebServerWIX\42161Address1Web_1IP1Port1Header1Secure23AllUnassignedDefaultWebSite80042171Web1Id1IP1Port1Header1Secure2Description13DefaultWebSite800Hello4210021111Web_1VirtualDir1Component_1Alias1Directory_1DirProperties_1Application_1ISInstalled2ISAction2SourcePath1TargetPath13DefaultWebSiteVDirWebVirtualDirComponentTestWebApplicationFolderTestWebApplication23C:\Program
 Files\WebServerWIX\4210021002
Property(S): ProgramFilesFolder = C:\Program Files\
Property(S): TARGETDIR = C:\
Property(S): SourceDir = C:\Documents and Settings\cmcdonald\My 
Documents\Visual Studio 
2008\Projects\OISSrc\InstallerIntegration\Deployment\CitiMTN\WebServerWIX\WebServerWIX\bin\Release\
Property(S): Manufacturer = OIS
Property(S): ProductCode = {DC2796E2-8082-4096-B306-D207BCE48818}
Property(S): ProductLanguage = 1033
Property(S): ProductName = WebServerWIX
Property(S): ProductVersion = 1.0.0..0
Property(S): UpgradeCode = {EE273EC7-3B98-43A9-986F-B64D8EDF2F91}
Property(S): PackageCode = {22080AEB-EBF5-492C-8BBB-D74234261AB8}
Property(S): ProductState = -1
Property(S): PackagecodeChanging = 1
Property(S): CURRENTDIRECTORY = C:\Documents and Settings\cmcdonald\My 
Documents\Visual Studio 
2008\Projects\OISSrc\InstallerIntegration\Deployment\CitiMTN\WebServerWIX\WebServerWIX\bin\Release
Property(S): CLIENTUILEVEL = 0
Property(S): CLIENTPROCESSID = 2488
Property(S): USERNAME = SS&C Technologies
Property(S): COMPANYNAME = SS&C Technologies
Property(S): VersionDatabase = 200
Property(S): ROOTDRIVE = C:\
Property(S): EXECUTEACTION = INSTALL
Property(S): ACTION = INSTALL
Property(S): INSTALLLEVEL = 1
Property(S): SECONDSEQUENCE = 1
Property(S): ADDLOCAL = ProductFeature
Property(S): VersionMsi = 3..01
Property(S): VersionNT = 502
Property(S): WindowsBuild = 3790
Property(S): ServicePackLevel = 2
Property(S): ServicePackLevelMinor = 0
Property(S): MsiNTProductType = 3
Property(S): MsiNTSuiteEnterprise = 1
Property(S): WindowsFolder = C:\WINDOWS\
Property(S): WindowsVolume = C:\
Property(S): SystemFolder = C:\WINDOWS\system32\
Property(S): System16Folder = C:\WINDOWS\system\
Property(S): RemoteAdminTS = 1
Property(S): TempFolder = C:\DOCUME~1\CMCDON~1\LOCALS~1\Temp\
Property(S): CommonFilesFolder = C:\Program Files\Common Files\
Property(S): AppDataFolder = C:\Documents and Settings\cmcdonald\Application 
Data\
Property(S): FavoritesFolder = C:\Documents and Settings\cmcdonald\Favorites\
Property(S): NetHoodFolder = C:\Documents and Settings\cmcdonald\NetHood\
Property(S): PersonalFolder = C:\Documents and Settings\cmcdonald\My Documents\
Property(S): PrintHoodFolder = C:\Documents and Settings\cmcdonald\PrintHood\
Property(S): RecentFolder = C:\Documents and Settings\cmcdonald\Recent\
Property(S): SendToFolder = C:\Documents and Settings\cmcdonald\SendTo\
Property(S): TemplateFolder = C:\Documents and Settings\cmcdonald\Templates\
Property(S): CommonAppDataFolder = C:\Documents and Settings\All 
Users\Application Data\
Property(S): LocalAppDataFolder = C:\Documents and Settings\cmcdonald\Local 
Settings\Application Data\
Property(S): MyPicturesFolder = C:\Documents and Settings\cmcdonald\My 
Documents\My Pictures\
Property(S): AdminToolsFolder = C:\Documents and Settings\cmcdonald\Start 
Menu\Programs\Administrative Tools\
Property(S): StartupFolder = C:\Documents and Settings\cmcdonald\Start 
Menu\Programs\Startup\
Property(S): ProgramMenuFolder = C:\Documents and Settings\cmcdonald\Start 
Menu\Programs\
Property(S): StartMenuFolder = C:\Documents and Settings\cmcdonald\Start Menu\
Property(S): DesktopFolder = C:\Documents and Settings\cmcdonald\Desktop\
Property(S): FontsFolder = C:\WINDOWS\Fonts\
Property(S): GPTSupport = 1
Property(S): OLEAdvtSupport = 1
Property(S): ShellAdvtSupport = 1
Property(S): Intel = 6
Property(S): PhysicalMemory = 2047
Property(S): VirtualMemory = 2388
Property(S): AdminUser = 1
Property(S): LogonUser = cmcdonald
Property(S): UserSID = S-1-5-21-3688695661-3189643769-730349496-37974
Property(S): UserLanguageID = 1033
Property(S): ComputerName = SH-CMCDONALD
Property(S): SystemLanguageID = 1033
Property(S): ScreenX = 1280
Property(S): ScreenY = 1024
Property(S): CaptionHeight = 19
Property(S): BorderTop = 1
Property(S): BorderSide = 1
Property(S): TextHeight = 16
Property(S): ColorBits = 32
Property(S): TTCSupport = 1
Property(S): Time = 9:52:54
Property(S): Date = 12/3/2009
Property(S): MsiNetAssemblySupport = 2.0.50727.3053
Property(S): MsiWin32AssemblySupport = 5.2.3790.3959
Property(S): RedirectedDllSupport = 2
Property(S): Privileged = 1
Property(S): DATABASE = C:\WINDOWS\Installer\2582a19e.msi
Property(S): OriginalDatabase = C:\Documents and Settings\cmcdonald\My 
Documents\Visual Studio 
2008\Projects\OISSrc\InstallerIntegration\Deployment\CitiMTN\WebServerWIX\WebServerWIX\bin\Release\WebServerWIX.msi
Property(S): UILevel = 5
Property(S): Preselected = 1
Property(S): CostingComplete = 1
Property(S): OutOfDiskSpace = 0
Property(S): OutOfNoRbDiskSpace = 0
Property(S): PrimaryVolumeSpaceAvailable = 0
Property(S): PrimaryVolumeSpaceRequired = 0
Property(S): PrimaryVolumeSpaceRemaining = 0
Property(S): SOURCEDIR = C:\Documents and Settings\cmcdonald\My 
Documents\Visual Studio 
2008\Projects\OISSrc\InstallerIntegration\Deployment\CitiMTN\WebServerWIX\WebServerWIX\bin\Release\
Property(S): SourcedirProduct = {DC2796E2-8082-4096-B306-D207BCE48818}
Property(S): ProductToBeRegistered = 1
Action ended 9:52:54: ExecuteAction. Return value 3.
Action ended 9:52:54: INSTALL. Return value 3.
Property(C): WebApplicationFolder = C:\Program Files\WebServerWIX\
Property(C): ProgramFilesFolder = C:\Program Files\
Property(C): TARGETDIR = C:\
Property(C): SourceDir = C:\Documents and Settings\cmcdonald\My 
Documents\Visual Studio 
2008\Projects\OISSrc\InstallerIntegration\Deployment\CitiMTN\WebServerWIX\WebServerWIX\bin\Release\
Property(C): Manufacturer = OIS
Property(C): ProductCode = {DC2796E2-8082-4096-B306-D207BCE48818}
Property(C): ProductLanguage = 1033
Property(C): ProductName = WebServerWIX
Property(C): ProductVersion = 1.0.0.0
Property(C): UpgradeCode = {EE273EC7-3B98-43A9-986F-B64D8EDF2F91}
Property(C): PackageCode = {22080AEB-EBF5-492C-8BBB-D74234261AB8}
Property(C): ProductState = -1
Property(C): PackagecodeChanging = 1
Property(C): CURRENTDIRECTORY = C:\Documents and Settings\cmcdonald\My 
Documents\Visual Studio 
2008\Projects\OISSrc\InstallerIntegration\Deployment\CitiMTN\WebServerWIX\WebServerWIX\bin\Release
Property(C): CLIENTUILEVEL = 0
Property(C): CLIENTPROCESSID = 2488
Property(C): VersionDatabase = 200
Property(C): VersionMsi = 3.01
Property(C): VersionNT = 502
Property(C): WindowsBuild = 3790
Property(C): ServicePackLevel = 2
Property(C): ServicePackLevelMinor = 0
Property(C): MsiNTProductType = 3
Property(C): MsiNTSuiteEnterprise = 1
Property(C): WindowsFolder = C:\WINDOWS\
Property(C): WindowsVolume = C:\
Property(C): SystemFolder = C:\WINDOWS\system32\
Property(C): System16Folder = C:\WINDOWS\system\
Property(C): RemoteAdminTS = 1
Property(C): TempFolder = C:\DOCUME~1\CMCDON~1\LOCALS~1\Temp\
Property(C): CommonFilesFolder = C:\Program Files\Common Files\
Property(C): AppDataFolder = C:\Documents and Settings\cmcdonald\Application 
Data\
Property(C): FavoritesFolder = C:\Documents and Settings\cmcdonald\Favorites\
Property(C): NetHoodFolder = C:\Documents and Settings\cmcdonald\NetHood\
Property(C): PersonalFolder = C:\Documents and Settings\cmcdonald\My Documents\
Property(C): PrintHoodFolder = C:\Documents and Settings\cmcdonald\PrintHood\
Property(C): RecentFolder = C:\Documents and Settings\cmcdonald\Recent\
Property(C): SendToFolder = C:\Documents and Settings\cmcdonald\SendTo\
Property(C): TemplateFolder = C:\Documents and Settings\cmcdonald\Templates\
Property(C): CommonAppDataFolder = C:\Documents and Settings\All 
Users\Application Data\
Property(C): LocalAppDataFolder = C:\Documents and Settings\cmcdonald\Local 
Settings\Application Data\
Property(C): MyPicturesFolder = C:\Documents and Settings\cmcdonald\My 
Documents\My Pictures\
Property(C): AdminToolsFolder = C:\Documents and Settings\cmcdonald\Start 
Menu\Programs\Administrative Tools\
Property(C): StartupFolder = C:\Documents and Settings\cmcdonald\Start 
Menu\Programs\Startup\
Property(C): ProgramMenuFolder = C:\Documents and Settings\cmcdonald\Start 
Menu\Programs\
Property(C): StartMenuFolder = C:\Documents and Settings\cmcdonald\Start Menu\
Property(C): DesktopFolder = C:\Documents and Settings\cmcdonald\Desktop\
Property(C): FontsFolder = C:\WINDOWS\Fonts\
Property(C): GPTSupport = 1
Property(C): OLEAdvtSupport = 1
Property(C): ShellAdvtSupport = 1
Property(C): Intel = 6
Property(C): PhysicalMemory = 2047
Property(C): VirtualMemory = 2390
Property(C): AdminUser = 1
Property(C): LogonUser = cmcdonald
Property(C): UserSID = S-1-5-21-3688695661-3189643769-730349496-37974
Property(C): UserLanguageID = 1033
Property(C): ComputerName = SH-CMCDONALD
Property(C): SystemLanguageID = 1033
Property(C): ScreenX = 1280
Property(C): ScreenY = 1024
Property(C): CaptionHeight = 19
Property(C): BorderTop = 1
Property(C): BorderSide = 1
Property(C): TextHeight = 16
Property(C): ColorBits = 32
Property(C): TTCSupport = 1
Property(C): Time = 9:52:54
Property(C): Date = 12/3/2009
Property(C): MsiNetAssemblySupport = 2.0.50727.3053
Property(C): MsiWin32AssemblySupport = 5.2.3790.3959
Property(C): RedirectedDllSupport = 2
Property(C): Privileged = 1
Property(C): USERNAME = SS&C Technologies
Property(C): COMPANYNAME = SS&C Technologies
Property(C): DATABASE = C:\DOCUME~1\CMCDON~1\LOCALS~1\Temp\2582a112.msi
Property(C): OriginalDatabase = C:\Documents and Settings\cmcdonald\My 
Documents\Visual Studio 
2008\Projects\OISSrc\InstallerIntegration\Deployment\CitiMTN\WebServerWIX\WebServerWIX\bin\Release\WebServerWIX.msi
Property(C): SOURCEDIR = C:\Documents and Settings\cmcdonald\My 
Documents\Visual Studio 
2008\Projects\OISSrc\InstallerIntegration\Deployment\CitiMTN\WebServerWIX\WebServerWIX\bin\Release\
Property(C): VersionHandler = 3.01
Property(C): CostingComplete = 0
Property(C): ROOTDRIVE = C:\
Property(C): EXECUTEACTION = INSTALL
Property(C): ACTION = INSTALL
Property(C): UILevel = 5
Property(C): OutOfDiskSpace = 0
Property(C): OutOfNoRbDiskSpace = 0
Property(C): PrimaryVolumeSpaceAvailable = 0
Property(C): PrimaryVolumeSpaceRequired = 0
Property(C): PrimaryVolumeSpaceRemaining = 0
Property(C): INSTALLLEVEL = 1
=== Logging stopped: 12/3/2009  9:52:54 ===
MSI (c) (B8:0C) [09:52:54:118]: Product: WebServerWIX -- Installation failed.
 xmlns:iis="http://schemas.microsoft.com/wix/IIsExtension";>ProductId="dc2796e2-8082-4096-b306-d207bce48818"Name="WebServerWIX"Language="1033"Version="10.0.0.0"Manufacturer="CMD"UpgradeCode="ee273ec7-3b98-43a9-986f-b64d8edf2f91">PackageInstallerVersion="200"Description="CMDWeb
 Server Created using WiX"Comments="Should facilitate Web.config modification 
during
installation"Compressed="yes"/>MediaId="1"Cabinet="WebServerWixProject.cab"EmbedCab="yes"/>DirectoryId="TARGETDIR"Name="SourceDir">DirectoryId="ProgramFilesFolder">DirectoryId="INSTALLLOCATION"Name="WIXTest">ComponentId="WebSiteComponent"Guid="368c6e4f-5f13-4cb6-9fcd-5c39635f5384">FileId="WixExampleFile"Name="simple.txt"Source="bin\simple.txt"/>iis:WebSiteId="InstallToWebsite"Description="Whatever">iis:WebAddressId="WebAddress"Port="80"/>iis:WebSite>iis:WebApplicationId="WebApp"Name="sbsite"WebAppPool="WebAppPool"/>Component>ComponentId="WebVirtualDirComponent"Guid="8d7c59c0-b84d-40d9-b3a5-0c73b6487ae4"KeyPath="yes">CreateFolder/>iis:WebVirtualDirId="AppVDir"Alias="sbsite"Directory="TARGETDIR"WebSite="InstallToWebsite"WebApplication="WebApp">iis:WebDirPropertiesId="WebDir"DefaultDocuments="Default.aspx"/>iis:WebVirtualDir>iis:WebAppPoolId="WebAppPool"Name="sbsite"/>Component>Directory>Directory>
Directory>FeatureId="ProductFeature"Title="WebServerWIX"Level="1">ComponentRefId="WebSiteComponent"/>ComponentRefId="WebVirtualDirComponent"/>Feature>Product>Wix>
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
xml version="1.0" encoding="UTF-8"?>
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to