how to run a bat file at the end of an msi install
does anyone know how to run a bat file at the end of an msi install.
or convert it to an exe so that it will run
or get a custom action to run a cmd line prompt
or convert it to an exe so that it will run
or get a custom action to run a cmd line prompt
0 Comments
[ + ] Show comments
Answers (8)
Please log in to answer
Posted by:
jackmcall
20 years ago
Posted by:
CleverITS
20 years ago
Hi Jack
If possible try to use VBScript Custom Action instead of Batchfiles which You can't really control during runtime
In VBScript You can add errorhandling, populate with MSI Properties, return errorcodes...
and last but not least You can do more stuff than just with .bat (btw: .cmd is a slightliy different (and better) for >Win2K systems as beeing different processed;-) )
If you MUST use your bat files the way You described is the right and only one...
cu
Wolfgang Zerzawy
CleverITS
www.cleverits.com
If possible try to use VBScript Custom Action instead of Batchfiles which You can't really control during runtime
In VBScript You can add errorhandling, populate with MSI Properties, return errorcodes...
and last but not least You can do more stuff than just with .bat (btw: .cmd is a slightliy different (and better) for >Win2K systems as beeing different processed;-) )
If you MUST use your bat files the way You described is the right and only one...
cu
Wolfgang Zerzawy
CleverITS
www.cleverits.com
Posted by:
MSIMaker
20 years ago
Posted by:
jackmcall
20 years ago
I did try and get the bat file to run by putting in its path and name but i was unsucessful
thank you for your help
the com.exe and /c worked fine after some modification
the main problem was changing the "In-script Execution" to "Commit Execution" or "Deferred Execution" depending on which command i was attempting to call
VB scripts dont work on sp2 for XP so they are no longer an option for it
thank you for your help
the com.exe and /c worked fine after some modification
the main problem was changing the "In-script Execution" to "Commit Execution" or "Deferred Execution" depending on which command i was attempting to call
VB scripts dont work on sp2 for XP so they are no longer an option for it
Posted by:
nvdpraveen
20 years ago
Posted by:
Jim101
20 years ago
Posted by:
oofemioo
20 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.