cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
HWilkinson
Level 3

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
Labels (1)
0 Kudos
(2) Replies
MichaelU
Level 12 Flexeran
Level 12 Flexeran

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.
0 Kudos
HWilkinson
Level 3

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
0 Kudos