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: Determine if feature has been added in Modify 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
‎Jul 24, 2008
11:03 AM
Determine if feature has been added in Modify mode
I have a IS 2008 Installscript MSI project. While run in maintenance mode, how can I determine if a new feature has been selected. In a CA I would use &feature=3, I need to determine this before I leave OnmaintenanceUI. I can't use FeatureIsItemSelected because it may have been selected during OnFirstUIBefore.
Thanks
Thanks
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 24, 2008
01:47 PM
I think I found it. I'm going to try iRequestState = Session.FeatureRequestState("MyFeature")
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 24, 2008
02:18 PM
OOPS, forgot that I cannot use the session object in installscript.
anyone know of the Installscript equivalent?
anyone know of the Installscript equivalent?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 24, 2008
02:30 PM
Try the following function: MsiGetFeatureState
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 24, 2008
04:59 PM
That's it. Thanks
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)