Try somethinbg like this: <CustomAction Id='LaunchMyBat' Directory='INSTALLDIR' ExeCommand='[INSTALLDIR]My.bat' Return='asyncNoWait' />
<InstallExecuteSequence> <Custom Action='LaunchMyBat' After='InstallFinalize'>NOT Installed</Custom> </InstallExecuteSequence> This way you are also not hard coding the directory location of the batch file and you are only running it during the install, not the uninstall, after all files have been added. Patrick -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matador2k7 Sent: 23 January 2007 11:35 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Running a file after installation Hello. I'm making an MSI installer for Ultra VNC in my company. Now I got a little problem: I copy some files into this folder: C:\ARCHIVOS DE PROGRAMA\ULTRAVNC\DRIVER In this folder exists a file called install_silent.bat Now, I'd liked to run this file AFTER installation, in order to get the driver installed. I'm doing it right this at the moment: <Property Id="DRIVER" Value="C:\Archivos de programa\UltraVNC\driver" /> <CustomAction Id="LaunchFile" ExeCommand="[DRIVER]install_silent.bat" Return='asyncNoWait'/> The problem is that the driver isnĀ“t installed. Am I using the right syntax for this job? Thanksss! -- View this message in context: http://www.nabble.com/Running-a-file-after-installation-tf3063560.html#a8519908 Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users