Hello all , We created one setup project and we have auto update option in the project . For that we like to use silent install . when we install normally in give option to launch application after install and we click finish it will start application , but wen we run it from CMD in silent mode it not starting the application after install . CMD parameters that we using are " setup.exe /s /v/qb " . can you provide any solution for this problem .

Try scheduling an .exe custom action to run in silent mode

Hello,

Have you scheduled any custom action during silent install to launch the application after setup completes?In the silent mode User Interface dialogs are skipped. So the custom actions set to be launched after other UI dialogs are also skipped. Due to this silent install will not launch the application after successful installation.

Try scheduling an .exe custom action to run in silent mode, for that you have to sequence them so that they are not associated with a dialog. In other words try any of the following locations:

- After File Transfer- After COM Registration- After Register Product

I recommend the last because that's pretty much after the setup is done with all the file copying and registering.

Hello chiranjeevi, When install we use default option in the installshield to launch the application (Set by radio button in setting window) .

But when we write custom action to start application , run from normal mode it will start two time (from custom action and normal check option). How to identify from which mode it is running in custom action .