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