<Directory Id="WindowsFolder"> <Directory Id="Help" Name="Help"> <Component Id="help.chm" Guid="PUT-GUID-HERE"> <File Id="help.chm" Name="help.chm" Source="..\..\Packages\help.chm" /> </Component> </Directory> </Directory>
I suggest you use a more 'unique' name than "help.chm" though. Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the <Virtual Environment>** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -----Original Message----- From: Michael [mailto:mich...@gnhsoft.com] Sent: 24 April 2009 07:15 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Copy a file to Windows\Help folder Hi, I need to copy a file to Windows\Help folder. I done it by extracts file to install location and then copied to Windows\Help folder, and then deleting during uninstall. snippet for that, <Component Id="C_HELP" Guid="00000000-0000-0000-0000-000000000000"> <File Id ="F_HELP" Name="help.chm" Source="..\..\Packages\help.chm"> <CopyFile Id="CopyHelpFile" DestinationProperty="WINHELP"/> </File> <RemoveFile Id="RemoveHelpFile" Property="WINHELP" Name="help.chm" On="uninstall"/> </Component> Here help.chm presented in two places(Installation location and Windows\Help). But, its not required. I need single copy of help.chm at Windows\Help. Is there any other way to copy a file directly to Windows\Help folder? Thanks. Regards, -SMR ------------------------------------------------------------------------ ------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users