/build/static/layout/Breadcrumb_cap_w.png

Call Batch file with Parameters in WISE 6.0

Hi,

I created a CA to run Batch file in wise ( execute program from dest.)
after installfinalize, Normal execute imm./def. as follows:

CMD.exe /C "[INSTALLDIR]\productA\install.cmd normal"

but it does not run, do not know how to pass the "normal" parameter. Searched the internet already ups & downs but not
able to find a clear answer. Just want to know how to pass the parameter to my batch file.

Thank you for your help in advance. [:)]

0 Comments   [ + ] Show comments

Answers (4)

Posted by: cygan 13 years ago
Fifth Degree Brown Belt
0
I have a batch file called blahblah.bat

put the .bat file in the file table ie drop the file in a directory in your msi

run a type 34 custom action - ie from destination

your command line should look like this cmd.exe /c "[#blahblah.bat]"
thats it
Posted by: Netrock 13 years ago
Orange Senior Belt
0
Thanks for the reply.

Please note I must pass parameters to my batch file. like normal.....
Batch file checks for 3 usage: Normal, Update, Force
at the cmd i have to do this:
c:\productA\install.cmd normal or
c:\productA\install.cmd force

So how can I do "this" in Wise after: CMD.exe /C "[INSTALLDIR]\productA\install.cmd" place normal inside the double " or outside ......use /normal or.....etc
that's my question
Posted by: cygan 13 years ago
Fifth Degree Brown Belt
0
your line of code should all be in your batch file
Posted by: anonymous_9363 13 years ago
Red Belt
0
Wouldn't it be simpler to capture the app to an MSI?!?
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ