cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Lexicon
Level 3

Calling a .cmd file from InstallShield

I need to create an install shield form which will prompt for three values. Then the values will be passed on to a .cmd file which InstallShield will be calling. Does anyone know how to do that? I just need to know how to call the .cmd file from the InstallShield application, and how to pass values into the cmd file

Labels (1)
0 Kudos

(1) Reply
banna_k
Revenera
Revenera

Hi @Lexicon ,

You can refer below links to execute and sequence bat/cmd file from installshield through custom action.

https://community.flexera.com/t5/InstallShield-Knowledge/Launch-a-Batch-File-With-Windows-Installer/ta-p/5702

https://helpnet.flexerasoftware.com/installshield24helplib/helplibrary/IHelpInsertCARulesEXE.htm

The values can be passed as parameters to the bat/cmd through the properties, property value can be set from the dialog.

And, the batch file can be execute from the installscript also using the "LaunchApplication". 

See, which one suites for you.

 

0 Kudos