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
- :
- Force Custom Setup?
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
‎Jun 04, 2009
12:38 PM
Force Custom Setup?
Hi All,
I am building a Basic MSI project to install my application.
I have two features, the application itself and a second feature that installs the SQL Server 2005 Express SP2 prereq assigned to the my second feature and there are no components associated with that feature.
I have it working great as is.
Not everyone will install SQL 2005 Express b/c a lot of our users will use a network SQL server instead of Express. So, I've made the second feature not required and in the prereq I set it to be optional.
My question is this: Is there any way to force the setup to all always go to Custom and not give users the option for the 'complete' setup? I haven't seen such a setting anywhere and am not sure it exists.
Any help is appreciated,
Paul
I am building a Basic MSI project to install my application.
I have two features, the application itself and a second feature that installs the SQL Server 2005 Express SP2 prereq assigned to the my second feature and there are no components associated with that feature.
I have it working great as is.
Not everyone will install SQL 2005 Express b/c a lot of our users will use a network SQL server instead of Express. So, I've made the second feature not required and in the prereq I set it to be optional.
My question is this: Is there any way to force the setup to all always go to Custom and not give users the option for the 'complete' setup? I haven't seen such a setting anywhere and am not sure it exists.
Any help is appreciated,
Paul
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 05, 2009
08:29 AM
Hi Paul, you can force it, but you have to do some work.
Basically the flow through the UI is shown in Custom Actions and Sequences and it can be influenced by changing the behavior of the dialogs in the sequence.
Suppose your installation contains the dialogs CustomerInformation, SetupType and CustomSetup in this sequence, you want to remove SetupType from this sequence.
For that you have to edit the behavior of the CustomerInformation dialog as well as that of the CustomSetup dialog.
CustomerInformation
Let the Next PushButton control have the Argument CustomSetup for the NewDialog event.
CustomSetup
Let the Back PushButton control have the Argument CustomerInformation for the NewDialog event.
Do not forget to change Back for the dialog after the CustomSetup dialog to refer to the CustomSetup dialog.
Also do not forget to set the Conditions for the various events (e.g. to 1 if you always want the event to take place)
I hope this makes sense to you.
Just try various settings to achieve the sequence you like.
Regards, Eric-Paul
Basically the flow through the UI is shown in Custom Actions and Sequences and it can be influenced by changing the behavior of the dialogs in the sequence.
Suppose your installation contains the dialogs CustomerInformation, SetupType and CustomSetup in this sequence, you want to remove SetupType from this sequence.
For that you have to edit the behavior of the CustomerInformation dialog as well as that of the CustomSetup dialog.
CustomerInformation
Let the Next PushButton control have the Argument CustomSetup for the NewDialog event.
CustomSetup
Let the Back PushButton control have the Argument CustomerInformation for the NewDialog event.
Do not forget to change Back for the dialog after the CustomSetup dialog to refer to the CustomSetup dialog.
Also do not forget to set the Conditions for the various events (e.g. to 1 if you always want the event to take place)
I hope this makes sense to you.
Just try various settings to achieve the sequence you like.
Regards, Eric-Paul
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 05, 2009
01:06 PM
Thanks for the instructions. It did exactly what I need!