This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Running a Custom Action (exe) in Silent mode?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 20, 2010
04:40 AM
Running a Custom Action (exe) in Silent mode?
Hello,
I've created a msi file with an custom action. In this custom action, there will run an exe at the last part of my installation. Is there any way to start this exe installation in silent mode? I am not sure because this installation is an extra programm and during this installation there will be some message boxes ect.
kind regards
manuel
I've created a msi file with an custom action. In this custom action, there will run an exe at the last part of my installation. Is there any way to start this exe installation in silent mode? I am not sure because this installation is an extra programm and during this installation there will be some message boxes ect.
kind regards
manuel
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 20, 2010
10:26 AM
This depends on one of two things. Are there command-line parameters you can pass to this EXE to make it silent? If not, can you write custom code that launches it with SW_HIDE, and will it work when launched that way? (Windows Installer's Custom Action support for EXE files is unable to launch EXEs silently.)
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 09, 2010
11:27 AM
Hello,
I´m trying to run a .exe from a custom action.
Custom Action => New Exe => installed with product.
Asuming that: Return Processing= Asyn(wait), Scrip Exe= Immediate and Exe Schedule= Always is set correctly, i think my problem is with the "Executable FileKey".
I dont know exactly how to do this, i try to added has a Support File, and make a component and set is key to the file, and that way i can see in the Executable FileKey comboBox, but still not working.
How i can do this? Tnks
I´m trying to run a .exe from a custom action.
Custom Action => New Exe => installed with product.
Asuming that: Return Processing= Asyn(wait), Scrip Exe= Immediate and Exe Schedule= Always is set correctly, i think my problem is with the "Executable FileKey".
I dont know exactly how to do this, i try to added has a Support File, and make a component and set is key to the file, and that way i can see in the Executable FileKey comboBox, but still not working.
How i can do this? Tnks
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 10, 2010
01:03 PM
To launch a file that you're installing, your action will need to be set to run in Deferred mode (changed from Immediate mode), somewhere after InstallFiles.
(To avoid running on repairs, uninstall, etc., you might also add a condition Not Installed---or better yet a component condition---but first things first...)
(To avoid running on repairs, uninstall, etc., you might also add a condition Not Installed---or better yet a component condition---but first things first...)
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 06, 2017
01:24 AM
I want to run my .exe or batch file after installation complete in custom action silently which command line should i am use? please help