[wix-users] Feature reported as "Advertised" on Uninstall

Reuss, Matthias matthias.mr.reuss at sivantos.com
Fri Nov 20 07:14:33 PST 2015


Hi there,

Meanwhile I have found the solution:

At the time of MSI uninstallation, one component of Feature2 was removed from the Windows Installer component registry (only in the Burn-driven case). This leads to the feature being set to Advertised state, even though it is not written in the MSI log file.

Best regards

Matthias Reuss

-----Ursprüngliche Nachricht-----
Von: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] Im Auftrag von Reuss, Matthias
Gesendet: Donnerstag, 12. November 2015 16:26
An: WiX Toolset Users Mailing List
Betreff: [wix-users] Feature reported as "Advertised" on Uninstall

Hello,

when uninstalling a bundle, one of the features of one of the MsiPackages is reported as "Advertised". I.e. InstallValidate writes to the log file:

MSI (s) (68:FC) [10:19:50:147]: Feature: Feature1; Installed: Local;   Request: Absent;   Action: Absent
MSI (s) (68:FC) [10:19:50:147]: Feature: Feature2; Installed: Advertise;   Request: Absent;   Action: Absent
MSI (s) (68:FC) [10:19:50:147]: Feature: Feature3; Installed: Local;   Request: Absent;   Action: Absent

This then has the effect that the components belonging to this feature are not removed on uninstallation.

When I uninstall the same product "standalone" (msiexec /x...), Feature2 is reported as Local and uninstalled as expected.

I do not use advertised installation, and the uninstallation logs do not show SELMGR messages.

(So far, I have seen an unwanted Advertised state only when a previously installed component is removed on a minor upgrade...)

Any ideas as to the root cause or where to search for it?

Best regards

Matthias Reuss

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-users mailing list