/bundles/itninjaweb/img/Breadcrumb_cap_w.png
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   [ - ] Hide Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity

Answers

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
Answered 01/26/2011 by: cygan
Fifth Degree Brown Belt

Please log in to comment
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
Answered 01/26/2011 by: Netrock
Orange Senior Belt

Please log in to comment
0
your line of code should all be in your batch file
Answered 01/26/2011 by: cygan
Fifth Degree Brown Belt

Please log in to comment
0
Wouldn't it be simpler to capture the app to an MSI?!?
Answered 01/27/2011 by: VBScab
Red Belt

Please log in to comment