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
- :
- More info
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
‎May 07, 2013
08:45 AM
Is it possible...?
Hi folks,
We're evaluating InstallShield 2012 Spring, and one of the requirements for us is to be able to build installers with absolutely no interface. It seems that when I remove all dialogs from a InstallScript installer I'm building for evaluation purposes (it needs to duplicate one we did with another product), I get exceptions thrown on running it. On looking in the one and only script, there is literally no code at all, and the debugger doesn't seem to be able to help here.
So...is it possible to build installers without interfaces, as in silent, no-user-intervention installers with this package?
Thanks in advance!
DDoutel
We're evaluating InstallShield 2012 Spring, and one of the requirements for us is to be able to build installers with absolutely no interface. It seems that when I remove all dialogs from a InstallScript installer I'm building for evaluation purposes (it needs to duplicate one we did with another product), I get exceptions thrown on running it. On looking in the one and only script, there is literally no code at all, and the debugger doesn't seem to be able to help here.
So...is it possible to build installers without interfaces, as in silent, no-user-intervention installers with this package?
Thanks in advance!
DDoutel
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 07, 2013
09:31 AM
Which kind of project?
I am more familiar with InstallScript projects than MSI. I have built InstallScript projects without dialogs by overloading (or modifying) the standard handlers. I have heard of folks making headless MSI setups. So tell us which why you are trying to go.
I am more familiar with InstallScript projects than MSI. I have built InstallScript projects without dialogs by overloading (or modifying) the standard handlers. I have heard of folks making headless MSI setups. So tell us which why you are trying to go.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 07, 2013
09:36 AM
phill_mn wrote:
Which kind of project?
I am more familiar with InstallScript projects than MSI. I have built InstallScript projects without dialogs by overloading (or modifying) the standard handlers. I have heard of folks making headless MSI setups. So tell us which why you are trying to go.
Bingo; headless InstallScript MSI project.
Thanks!
DDoutel
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 07, 2013
10:15 AM
In an InstallScript project create your project and define your features, components, etc. When I create a headless setup it is usually a setup that I want to run on a target and not register for maintenance mode with ARP. Set that setting in the IDE under Project\Properties to disable Maintenance and Update mode (if that is the behavior you need).
In the InstallScript editor, select the Setup.exe and at the top of the editor there is a drop down for the default handlers. You will want to select OnFirstUIBefore and OnFirstUIAfter. If you have Maintenance and Update mode there are similar handlers for those modes. Edit these files to skip past the dialogs. Often folks leave the code there and just comment out each call related to the dialog to suppress.
In OnFirstUIBefore if you do not call one of the Setup Type dialogs, then you must specifically set the setup type. See FeatureSetupTypeSet.
You may want to also override some of the other handlers like OnCancel, etc.
In the InstallScript editor, select the Setup.exe and at the top of the editor there is a drop down for the default handlers. You will want to select OnFirstUIBefore and OnFirstUIAfter. If you have Maintenance and Update mode there are similar handlers for those modes. Edit these files to skip past the dialogs. Often folks leave the code there and just comment out each call related to the dialog to suppress.
In OnFirstUIBefore if you do not call one of the Setup Type dialogs, then you must specifically set the setup type. See FeatureSetupTypeSet.
You may want to also override some of the other handlers like OnCancel, etc.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 07, 2013
10:17 AM
phill_mn wrote:
In an InstallScript project create your project and define your features, components, etc. When I create a headless setup it is usually a setup that I want to run on a target and not register for maintenance mode with ARP. Set that setting in the IDE under Project\Properties to disable Maintenance and Update mode (if that is the behavior you need).
In the InstallScript editor, select the Setup.exe and at the top of the editor there is a drop down for the default handlers. You will want to select OnFirstUIBefore and OnFirstUIAfter. If you have Maintenance and Update mode there are similar handlers for those modes. Edit these files to skip past the dialogs. Often folks leave the code there and just comment out each call related to the dialog to suppress.
In OnFirstUIBefore if you do not call one of the Setup Type dialogs, then you must specifically set the setup type. See FeatureSetupTypeSet.
You may want to also override some of the other handlers like OnCancel, etc.
Excellent! concise and to the point; many, many thanks, phill_mn!
Best Regards,
DDoutel