cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jsheth
Level 3

newbie question

Created a basic MSI project. I added my files. One of my files is a *.bat file which I want to execute after all my files are written to destination. I added a custom action -> New exe and then tried to launch cmd.exe /c [INSTALLDIR]mybatfile.bat but that does not seem to work.

What is the best way to install the files and then run the batch file?
Labels (1)
0 Kudos
(1) Reply
TMMichP
Level 3

See if this helps: http://kb.flexerasoftware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=Q111515&sliceId=1&docTypeID=DT_HOWTO_1_1&dialogID=70123726&stateId=0 0 70119738

I found this by going to the Help menu, Acresso on the Web, then selecting Knowledge Base under Support, then InstallShield, then searching for "batch file after" for InstallShield (all versions).
0 Kudos