Launching an application after silent installation using the command line in Installshield

I created setup.exe for my project using Install-shield Limited for visual studio 2015. I managed to run it without the help of this command line:

Setup.exe /s /v/qb 

It works great. Now I want to run the installed application after the installation is complete. How can i do this?

(I prefer to add something to the above command line).

EDIT: There is another question , like mine. This question also requires starting the application after installation. but my question is to start after a silent installation (using the command line), and another question should start after a normal installation by the user. I have tried the answers to this question before and they do not work in my case.

0
source share
1 answer

Thanks @ Michael-Urman, I found the answer:

I have to use an executable command package. You can execute several commands using the & (or && ) symbol.

But I need to start the installation first, and then run the program. Therefore, I used the start /wait command.

Last command:

 start /wait setup.exe /w /s /v/qb && "C:\Program Files (x86)\Company\Product\program.exe" 

/wait pauses cmd until the installation completes and then runs the following command.

/w saves setup.exe until the msi package is successfully installed.

/s automatically installs the program and /v passes arguments to the msi installer (see the documentation ).

/qb shows the basic msi installer user interface. (see documentation ).

&& (compared to & ) runs the 2nd command if the first command is successful.

0
source

Source: https://habr.com/ru/post/1266112/


All Articles