cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Harita
Level 2

Execute Script/Batch File action new console window to display information

Hi,

I am new to IA. I want to create a GUI installer. In one of the steps I need to see a value in command prompt while the installer is paused. After i note the value I have to close the command prompt window so that installation continues.

For that I have seen many people suggested to use a .bat file (IA_2020.jpg) , which will create a new window. In my case it is not happening. I can see that there are some terminal running in task manager (Task manager CMD), But i cant see those in reality.

I need some help how to have a another command prompt window while staying in GUI installer mode.

 

Thanks in advance.

Haritha

0 Kudos
(1) Reply
sksuvarna
Level 5

Hi Harita,

I am not aware of the steps you are following.

I have created sample project to recreate the scenario and its working for me.

I am attaching the screenshots. Please refer that to achieve your goal.

step1 : create .bat file with simple echo statement

test.bat:

start cmd.exe /k "echo ******Hello Install Anywhere******"

step2: add batch file in install phase using "Add Files"

Step3: Execute script action

Result: I can see while installing command prompt is opened and installation is paused until command prompt is closed.

0 Kudos