Could you embed the executable into the Binary table and then call it via a custom action from there? WiX / MSI will handle the unpacking to a temporary file and execute it.
I can't find a good link right now but I think it is along the lines of; 1) Create a Binary element and point that to the file you want to execute. 2) Create a custom action of a certain type (a specific number for executable) and have that scheduled to run. Sorry I can't be clearer, I'm still getting my head round MSI myself. Ryan -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of kritza Sent: 21 April 2008 10:39 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Need installed files before install finalizes Hello! First I think I better discribe the whole situation. Later on, the concret problem.. In my installation program, there is an VBScript, which runs an executable. This executable installs a database. If there appear any problems, the executable returns 0 to the script, the script returns 3 to wix. now wix should start the rollbackfunction. My problem: The Rollbackfunction does not start, if the VBScript is started after the installation finalizes. Seems logical to me, because if the script is started after the installation is finalizes, usually there is no need to start a rollback. Now i could just start the Script before the installaiton finalizes. But if i do so, the executable, which is started in my script, is not existing at this time. My solution would be now to copy this file before the script is started. but I don't know how! Please tell me! I guess it's aint so hard, but i just can't find it.. sorry... Thanks !:jumping: -- View this message in context: http://www.nabble.com/Need-installed-files-before-install-finalizes-tp168064 66p16806466.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao ne _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users