I am working with one application in which I need to run a batch file (.bat)
I am using Wise Package Studio.
Does any custom action supports this?
Or do we need to write a wise script or vb script for the same.
If yes, could you please help me out.
Thanks in advance.
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
How to Run Batch file in MSI
3 replies to this topic
Posted 17 May 2007 - 10:22
Perhaps try passing the batch file to a new instance of cmd.exe (custom action type would be run exe file) : [SystemFolder]cmd.exe /c [MYFOLDER]MyBatchFile.cmd. Keep in mind that you might need to run the batch file in either user or system context depending on what the script is doing.
Posted 17 May 2007 - 10:23
Also keep in mind that you need to test this on all your target OS platforms.