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