That's not really an error. It's just pulling test from the Error table which ultimately reads: Product Version: 1.0. Product Language: 1033. Reconfiguration success or error status: 0.
Try searching the log file for RemoveFile and see what text shows up. Make sure the log is verbose. -----Original Message----- From: Arun Perregatturv [mailto:aperregatt...@napcosecurity.com] Sent: Wednesday, December 31, 2008 2:34 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Wix Sub Folders Install This is the error I get. MSI (c) (0C:14) [17:25:47:203]: Note: 1: 1728 MSI (c) (0C:14) [17:25:47:203]: Note: 1: 2205 2: 3: Error MSI (c) (0C:14) [17:25:47:203]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1728 MSI (c) (0C:14) [17:25:47:203]: Note: 1: 2205 2: 3: Error MSI (c) (0C:14) [17:25:47:203]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709 MSI (c) (0C:14) [17:25:47:203]: Product: TestApp 1.0 -- Configuration completed successfully. MSI (c) (0C:14) [17:25:47:203]: Windows Installer reconfigured the product. Product Name: TestApp 1.0. Product Version: 1.0. Product Language: 1033. Reconfiguration success or error status: 0. MSI (c) (0C:14) [17:25:47:203]: Grabbed execution mutex. MSI (c) (0C:14) [17:25:47:203]: Cleaning up uninstalled install packages, if any exist MSI (c) (0C:14) [17:25:47:203]: MainEngineThread is returning 0 === Verbose logging stopped: 12/31/2008 17:25:47 === Here goes the code... <Product Id="*" UpgradeCode="25EE33E1-E558-4040-BF9D-0DB66C800C0A" Version ="1.0" Language="1033" Name="TestApp 1.0" Manufacturer="Test Application"> <Package InstallerVersion="300" Compressed="yes"/> <Media Id="1" Cabinet="TestApp.cab" EmbedCab="yes"/> <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="ProgramFilesFolder" > <Directory Id="APPLICATIONROOTDIRECTORY" Name="TestApp 1.0"> <Directory Id="APPLICATIONTOOLSDIRECTORY" Name="Tools"/> </Directory> </Directory> </Directory> <DirectoryRef Id="APPLICATIONROOTDIRECTORY"> <Component Id="TestApp10.exe" Guid="AB5BD008-5DB3-4cf9-BDC9-2D66362CAF93"> <File Id="TestApp10.exe" Source="TestApp10.exe" KeyPath="yes" Checksum="yes"/> <RemoveFile Id ="settingsFile" On="uninstall" Name="TestSettings.esx" /> <RemoveFile Id ="settingsFile1" On="uninstall" Name="TestSettings.esf" /> <RemoveFile Id ="settingsFile2" On="uninstall" Name="TestSettings.bak" /> </Component> </DirectoryRef> <DirectoryRef Id="APPLICATIONTOOLSDIRECTORY"> <Component Id="TestUtils.exe" Guid="AABADBD5-4D5D-4b61-AEE5-180A8678AC1A"> <File Id="TestUtils.exe" Source="TestUtils.exe" KeyPath="yes"/> </Component> </DirectoryRef> <Feature Id="MainFeature" Title="TestApp 1.0" Level="1"> <ComponentRef Id="TestApp10.exe"/> <ComponentRef Id="TestUtils.exe"/> </Feature> <UI> <UIRef Id="WixUI_Minimal"/> <Publish Dialog="ExitDialog" Control="Finish" Event="DoAction" Value="LaunchApplication">WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT Installed</Publish> </UI> <Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT" Value="Launch TestApp 1.0"/> <Property Id="WixShellExecTarget" Value="[#TestApp10.exe]" /> <CustomAction Id="LaunchApplication" BinaryKey="WixCA" DllEntry="WixShellExec" Impersonate="yes"/> </Product> Thanks, Arun Perregattur -----Original Message----- From: Arun Perregatturv [mailto:aperregatt...@napcosecurity.com] Sent: Wednesday, December 31, 2008 5:19 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Wix Sub Folders Install Thanks I got the sub folders working, now let me try the remove file. Thanks, Arun Perregattur -----Original Message----- From: Ian Elliott (Excell Data Corporation) [mailto:a-iae...@microsoft.com] Sent: Wednesday, December 31, 2008 5:10 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Wix Sub Folders Install If you want Tools to be underneath "TestApp 1.0" then do the following: <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="ProgramFilesFolder"> <Directory Id="APPLICATIONROOTDIRECTORY" Name="TestApp 1.0"/> Component goes here <Directory Id=" APPLICATIONTOOLSDIRECTORY " Name="Tools"/> Component goes here </Directory> </Directory> </Directory> </Directory> You should examine a verbose log file to look for clues as to why the RemoveFiles doesn't work. -----Original Message----- From: Arun Perregatturv [mailto:aperregatt...@napcosecurity.com] Sent: Wednesday, December 31, 2008 2:02 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Wix Sub Folders Install Is this the way to create Sub Folders? <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="ProgramFilesFolder"> <Directory Id="APPLICATIONROOTDIRECTORY" Name="TestApp 1.0"/> </Directory> <Directory Id="APPLICATIONROOTDIRECTORY" > <Directory Id="APPLICATIONTOOLSDIRECTORY" Name="Tools"/> </Directory> </Directory> I am unsure of how to create Sub Folders. Yes, File names are correct I don't know why it's unable to Removefile. Thanks, Arun Perregattur -----Original Message----- From: Ian Elliott (Excell Data Corporation) [mailto:a-iae...@microsoft.com] Sent: Wednesday, December 31, 2008 4:52 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Wix Sub Folders Install I don't see a "Tools" subfolder under the "Test App 1.0" folder you created so nothing will be installed there. Not sure why the RemoveFiles doesn't work. Did you get the spelling correct on the file names? -----Original Message----- From: Arun Perregatturv [mailto:aperregatt...@napcosecurity.com] Sent: Wednesday, December 31, 2008 1:05 PM To: wix-users (wix-users@lists.sourceforge.net) Subject: [WiX-users] Wix Sub Folders Install I just started working on Wix and trying out few things before I can start implementing. Our existing Installer(Installshield) has a nice UI but there are some limitations of how things are done. Everthing has to be on the Build PC and need to know all the files to compile and create a Installer. But in case of Wix its different and I like this, it can be added to existing .NET projects and developers can add their files to it(meaning references and where to install). Now, coming back to real questions: I have this code All I want to do is Copy some files to C:\Program Files\Test App and some to C:\Program Files\Test App\Tools and so on. Below code works and copies everything to C:\Program Files\Test App. Please let me know what I am doing wrong here. The Blue colored one is what I need to install under Tools folder. Also the RemoveFile doesn't work. I have those files created by my application and need to remove them on uninstall from the INSTALLLOCATION. <Directory Id="ProgramFilesFolder" Name ="PFiles"> <Directory Id="INSTALLLOCATION" Name="Test App 1.0" > <Component Id="MainProductComponent" Guid="2a895473-a95a-4553-bf45-883ce1294b98" > <!-- TODO: Insert files, registry keys, and other resources here. --> <File Id="CardAccess30exe" Name="TestApp10.exe" Source="TestApp10.exe" Vital="yes" > <Shortcut Id="startmenuca10" Directory="ProgramMenuDir" Name="Launch Test Application 1.0" WorkingDirectory="INSTALLLOCATION" /> <Shortcut Id="desktopca30" Directory="DesktopFolder" Name="Launch Test Application 1.0" WorkingDirectory="INSTALLLOCATION" IconIndex="0"/> </File> <RemoveFile Id ="settingsFile" On="uninstall" Name="TestSettings.esx" Directory="INSTALLLOCATION" /> <RemoveFile Id ="settingsFile1" On="uninstall" Name=" TestSettings.esf" Directory="INSTALLLOCATION"/> <RemoveFile Id ="settingsFile2" On="uninstall" Name=" TestSettings.bak" Directory="INSTALLLOCATION"/> </Component> <Component Id="MainToolsComponent" Guid="2B170AC9-DC34-4f76-BE1E-9AC5BF30AED5"> <File Id="TestDBUtilsexe" Name="TestDBUtils.exe" Source="TestDBUtils.exe" Vital="yes" > <Shortcut Id="startmenuTestDBUtils" Directory="ProgramMenuDir" Name="Launch Test Utilities" WorkingDirectory="INSTALLLOCATION" IconIndex="0"/> <Shortcut Id="desktopTestDBUtils" Directory="DesktopFolder" Name="Launch Test Utilities" WorkingDirectory="INSTALLLOCATION" IconIndex="0"/> </File> </Component> </Directory> </Directory> Thanks, Arun Perregattur ------------------------------------------------------------------------------ _______________________________________________ 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 ------------------------------------------------------------------------------ _______________________________________________ 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 ------------------------------------------------------------------------------ _______________________________________________ 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 ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users