Reubenwelsh
asked on
How can i get an MSI to call a BAT file when installation complete?
Hi,
I never really do any packeting but we got a small app we need to send out, and to register the application we need to run a bat file.
How can i get Wise8 to run a BAT when installation is complete? I know wise can execute a VBS but im terrible with VBscripts so i havnt really got a chance rewriting this.
I never really do any packeting but we got a small app we need to send out, and to register the application we need to run a bat file.
How can i get Wise8 to run a BAT when installation is complete? I know wise can execute a VBS but im terrible with VBscripts so i havnt really got a chance rewriting this.
Add this to your WISE script:
(example):
C:\WINDOWS\System32\cmd.ex e /c "%TestDIR%\abc.bat"
change "%TestDIR%\abc.bat" to YOUR bat file!
(example):
C:\WINDOWS\System32\cmd.ex
change "%TestDIR%\abc.bat" to YOUR bat file!
ASKER
I dont need anything else in the wise script? I thought i would need a load of headers etc like you do in VBS...
This is why i hate when our packeting guy goes on holiday :)...
Thanks ill try it out tomorrow and get back to you!
This is why i hate when our packeting guy goes on holiday :)...
Thanks ill try it out tomorrow and get back to you!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER