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
- :
- Suites: Incorrect Feature States in maintenance mode
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Mar 08, 2012
05:28 AM
Suite-Feature with 2 packages shows as selected on modify if only 1 package installed
Hi,
I've created a Suite Installer with 4 Features:
FeatureP1, FeatureP2, FeatureP1P2, FeatureP3
And 3 (.exe) Packages (Installscript MSI setups) :
Parcel1_Setup: FeatureP1 & FeatureP1P2
Parcel2_Setup: FeatureP2 & FeatureP1P2
Parcel3_Setup: FeatureP3
When running the suite setup for the first time, I do a custom install and only select to install FeatureP2. This installs the Parcel2_Setup associated with that feature correctly, but when I re-run the suite setup to do a Modify, FeatureP2 is selected as well as FeatureP1P2.
The condition for FeatureP1P2 is as follows:
--Condition
----All
------MSI Package ProductCode: {Product GUID of Parcel1_Setup}
------MSI Package ProductCode: {Product GUID of Parcel2_Setup}
Log file snippet (generated when running the suite setup for a second time after Parcel2_Setup was installed):
3-7-2012[03:23:52 PM]: Initializing state for feature 'FeatureP1'
3-7-2012[03:23:52 PM]: Default action state 0 for mode 1
3-7-2012[03:23:52 PM]: Initial feature state: 0
3-7-2012[03:23:52 PM]: Final feature state: 0
3-7-2012[03:23:52 PM]: Parcel detect state: 0
3-7-2012[03:23:52 PM]: Parcel count: 1, detected count: 0
3-7-2012[03:23:52 PM]: Initializing state for feature 'FeatureP2'
3-7-2012[03:23:52 PM]: Default action state 0 for mode 1
3-7-2012[03:23:52 PM]: Initial feature state: 0
3-7-2012[03:23:52 PM]: Final feature state: 0
3-7-2012[03:23:52 PM]: Parcel detect state: 1
3-7-2012[03:23:52 PM]: Parcel count: 1, detected count: 1
3-7-2012[03:23:52 PM]: Initializing state for feature 'FeatureP1P2'
3-7-2012[03:23:52 PM]: Default action state 0 for mode 1
3-7-2012[03:23:52 PM]: Initial feature state: 0
3-7-2012[03:23:52 PM]: Final feature state: 0
3-7-2012[03:23:52 PM]: Parcel detect state: 0
3-7-2012[03:23:52 PM]: Parcel detect state: 1
3-7-2012[03:23:52 PM]: Parcel count: 2, detected count: 1
3-7-2012[03:23:52 PM]: Initializing state for feature 'FeatureP3'
3-7-2012[03:23:52 PM]: Default action state 0 for mode 1
3-7-2012[03:23:52 PM]: Initial feature state: 0
3-7-2012[03:23:52 PM]: Final feature state: 0
3-7-2012[03:23:52 PM]: Parcel detect state: 0
3-7-2012[03:23:52 PM]: Parcel count: 1, detected count: 0
How can I select FeatureP1P2 only if both Parcel1 & Parcel2 have been installed not just Parcel1 or Parcel2?
I've attached the .isssuite file.
Regards,
Henriët
I've created a Suite Installer with 4 Features:
FeatureP1, FeatureP2, FeatureP1P2, FeatureP3
And 3 (.exe) Packages (Installscript MSI setups) :
Parcel1_Setup: FeatureP1 & FeatureP1P2
Parcel2_Setup: FeatureP2 & FeatureP1P2
Parcel3_Setup: FeatureP3
When running the suite setup for the first time, I do a custom install and only select to install FeatureP2. This installs the Parcel2_Setup associated with that feature correctly, but when I re-run the suite setup to do a Modify, FeatureP2 is selected as well as FeatureP1P2.
The condition for FeatureP1P2 is as follows:
--Condition
----All
------MSI Package ProductCode: {Product GUID of Parcel1_Setup}
------MSI Package ProductCode: {Product GUID of Parcel2_Setup}
Log file snippet (generated when running the suite setup for a second time after Parcel2_Setup was installed):
3-7-2012[03:23:52 PM]: Initializing state for feature 'FeatureP1'
3-7-2012[03:23:52 PM]: Default action state 0 for mode 1
3-7-2012[03:23:52 PM]: Initial feature state: 0
3-7-2012[03:23:52 PM]: Final feature state: 0
3-7-2012[03:23:52 PM]: Parcel detect state: 0
3-7-2012[03:23:52 PM]: Parcel count: 1, detected count: 0
3-7-2012[03:23:52 PM]: Initializing state for feature 'FeatureP2'
3-7-2012[03:23:52 PM]: Default action state 0 for mode 1
3-7-2012[03:23:52 PM]: Initial feature state: 0
3-7-2012[03:23:52 PM]: Final feature state: 0
3-7-2012[03:23:52 PM]: Parcel detect state: 1
3-7-2012[03:23:52 PM]: Parcel count: 1, detected count: 1
3-7-2012[03:23:52 PM]: Initializing state for feature 'FeatureP1P2'
3-7-2012[03:23:52 PM]: Default action state 0 for mode 1
3-7-2012[03:23:52 PM]: Initial feature state: 0
3-7-2012[03:23:52 PM]: Final feature state: 0
3-7-2012[03:23:52 PM]: Parcel detect state: 0
3-7-2012[03:23:52 PM]: Parcel detect state: 1
3-7-2012[03:23:52 PM]: Parcel count: 2, detected count: 1
3-7-2012[03:23:52 PM]: Initializing state for feature 'FeatureP3'
3-7-2012[03:23:52 PM]: Default action state 0 for mode 1
3-7-2012[03:23:52 PM]: Initial feature state: 0
3-7-2012[03:23:52 PM]: Final feature state: 0
3-7-2012[03:23:52 PM]: Parcel detect state: 0
3-7-2012[03:23:52 PM]: Parcel count: 1, detected count: 0
How can I select FeatureP1P2 only if both Parcel1 & Parcel2 have been installed not just Parcel1 or Parcel2?
I've attached the .isssuite file.
Regards,
Henriët
(2) Replies
‎Mar 08, 2012
08:27 AM
Feature Conditions are only evaluated during first time installation; otherwise we represent the state of the system by what we detect, and currently partial installations of features are represented as full installations. (That latter part is a bug being tracked as IOA-000067508.)
In your case I'm uncertain what benefit the P1P2 feature provides, so I'm inclined to recommend removing it. The case I'm more used to describing has three packages and two features, where the third feature is shared between both features, and there it's a bit harder to edit your way around.
In your case I'm uncertain what benefit the P1P2 feature provides, so I'm inclined to recommend removing it. The case I'm more used to describing has three packages and two features, where the third feature is shared between both features, and there it's a bit harder to edit your way around.
‎May 29, 2012
06:50 AM
Hi,
I've noticed this bug has been fixed in the Installshield 2012 Spring edition.
IOA-000067508, IOA-000069594 (Suite/Advanced UI)
When a Suite/Advanced UI installation is run in maintenance mode, the installation no longer misrepresents and mishandles the feature states. In addition, maintenance mode now enables end users to select and fully install a feature that is only partially installed, or to uninstall the product.
We have a copy of Installshield 2012 Premier Edition. Do you know if this version will have an update soon to fix this issue?
Regards,
Henriët
I've noticed this bug has been fixed in the Installshield 2012 Spring edition.
IOA-000067508, IOA-000069594 (Suite/Advanced UI)
When a Suite/Advanced UI installation is run in maintenance mode, the installation no longer misrepresents and mishandles the feature states. In addition, maintenance mode now enables end users to select and fully install a feature that is only partially installed, or to uninstall the product.
We have a copy of Installshield 2012 Premier Edition. Do you know if this version will have an update soon to fix this issue?
Regards,
Henriët