Hi All, Everyone has been really helpfull here with me, first thankyou soo much for this help.
Okey now my Question, I am trying to run a Custom action before Install Files , this action is to just xcopy existing folder from h:\Sites to h:\BackupSites , i added the custome action and InstallExecute Sequence as below:- <CustomAction Id='BackupFiles' Value ='c:\xcopy /e /c /y h:\Sites h:\BackupSites' Property='BackupFiles'></CustomAction> <InstallExecuteSequence> <Custom Action='BackupFiles' Before='InstallFiles'></Custom> </InstallExecuteSequence> My Product.wxs file complie and generates an MSI with no errors. But when i install the MSI this action is running but with exit code 1 as below, part of Log file is below: Action 16:28:27: BackupFiles. Action start 16:28:27: BackupFiles. Action ended 16:28:27: BackupFiles. Return value 1. it seems the action is running but some error while executing. How can i Use Xcopy in this scenario to use as custom action to run before InstallFiles Action. Waiting. Thanks -- View this message in context: http://n2.nabble.com/Running-Custom-Action-Before-InstallFiles-tp1093699p1093699.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users