I'd like to run a batch file at the end of the installation process, preferably if it didn't exist before the installation started.
I put a custom action on commit to run the batch file from vbs (why no batch option?) which looks like:
dim shell: set shell=Wscript.createObject("Wscript.shell"): shell.run "c:\program files\theDir\inst.bat"
I've tried:
o Synchronous execution, ignore return code
o Asynch execution, do not wait for return
o Commit with no impersonation (I assume that means install under the local system account)
The files are copied properly but the batch file isn't executed.
I've removed all the Execution Condition information just to try and get the batch file to run but no luck. Any advice would be great.
FOLLOW US
Get the latest news in Application Packaging