cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
sruetzler
Level 4

Suite: Could not uninstall a feature

Hello,
i have two Installer (Basic MSI Project). Each installer has this features.

InstallerA:
Always_A
FeatureX_1
FeatureX_2
FeatureZ_1_A
FeatureZ_2_A

InstallerB:
Always_B
FeatureY
FeatureZ_1_B
FeatureZ_2_B

I want to install both with a suite.
At the end i want to have a suite with the following feature tree.

InstallerA
FeatureX_1
FeatureX_2
InstallerB
FeatureY
Other
FeatureZ_1
FeatureZ_2

InstallerA:AlwaysA and InstallerB:AlwaysB should always installed
FeatureZ_1 should install InstallerA:FeatureZ_1_A and FeatureZ_1_B
FeatureZ_2 should install InstallerA:FeatureZ_2_A and FeatureZ_2_B

But i could not get it running.

So i tried a simple suite with this features:
Always_A
Always_B
FeatureX_1
FeatureX_2
FeatureY
FeatureZ_1_A
FeatureZ_1_B
FeatureZ_2_A
FeatureZ_2_B

Installing only the selected features is working. But if i only want remove a few deselected features nothing is removed.
Only if i deselect all features from an installer the features are removed.

I have attachted my projects.
Is it a bug or is something wrong?

Thanks Simon
Labels (1)
0 Kudos
(4) Replies
rune_paulsen
Level 5

Simon,

I have the same problem,

See thread:

http://community.flexerasoftware.com/showthread.php?t=200166

Seems to be something wrong with the suite.


Rune
0 Kudos
MichaelU
Level 12 Flexeran
Level 12 Flexeran

Under your SelectionTree element, I only see the associated features listed; I don't see a raw one. I believe you need to add the raw package reference. For example, perhaps the Always A Suite feature should reference both {25E3CECA-DC13-48EE-A6A8-FB2AB01BD2EE} and {25E3CECA-DC13-48EE-A6A8-FB2AB01BD2EE}:Always_A - just separate them with spaces in the Install attribute. For example, give this a try (with similar modification for B):
0 Kudos
sruetzler
Level 4

Thanks.
I have changed it for both packages.





but it is still not working.

My Test:
I have installed it with the Complete Selection and then with Modify i tried to remove FeatureZ_2_A and FeatureZ_2_B. I have attached the logfile.

[CODE]
3-9-2012[08:52:37]: Feature FeatureZ_2_A setting parcel states, parent override: no, override state: 0
3-9-2012[08:52:37]: Requesting action state 2 for parcel '{25E3CECA-DC13-48EE-A6A8-FB2AB01BD2EE}'
3-9-2012[08:52:37]: Containing feature is request state change to parcel {25E3CECA-DC13-48EE-A6A8-FB2AB01BD2EE}, feature request: 2
3-9-2012[08:52:37]: MSI parcel detect: condition is overridden by setup.xml detect
3-9-2012[08:52:37]: Preliminary parcel action state: 4
3-9-2012[08:52:37]: Requesting state 2 for parcel feature 'FeatureZ_2_A'
3-9-2012[08:52:37]: Adding feature to selection list (ISParcelFeatureRemove), feature: FeatureZ_2_A
3-9-2012[08:52:37]: Feature FeatureZ_2_B setting parcel states, parent override: no, override state: 0
3-9-2012[08:52:37]: Requesting action state 2 for parcel '{0317C3E9-2292-4967-B6A6-AC0A69845756}'
3-9-2012[08:52:37]: Containing feature is request state change to parcel {0317C3E9-2292-4967-B6A6-AC0A69845756}, feature request: 2
3-9-2012[08:52:37]: MSI parcel detect: condition is overridden by setup.xml detect
3-9-2012[08:52:37]: Preliminary parcel action state: 4
3-9-2012[08:52:37]: Requesting state 2 for parcel feature 'FeatureZ_2_B'
3-9-2012[08:52:37]: Adding feature to selection list (ISParcelFeatureRemove), feature: FeatureZ_2_B
3-9-2012[08:52:37]: Final action state for parcel {25E3CECA-DC13-48EE-A6A8-FB2AB01BD2EE}: 5
3-9-2012[08:52:37]: Final action state for parcel {0317C3E9-2292-4967-B6A6-AC0A69845756}: 5
[/CODE]

First the state 2 (The package will run its Modify operation) is requested for the parcels.
But at the end they have the state 5 (No action will be performed for the package)

What I'm doing wrong?

Thanks Simon
0 Kudos
sruetzler
Level 4

Hello Michael,
is this a bug or is there someting wrong in my project?
If it is a bug is there a workaroung do get this running?

Thanks,
Simon
0 Kudos