leeroy
Posts: 41
Joined: Mon May 03, 2021 11:13 pm

Group policy preventing install, but being reported as successful

Hi,

We have a customer that is running our install and the installation is reporting success, but it is not actually installing anything in the "Program Files" folder. We understand they have differing group policies depending on the users role in the company, but uncertain what exactly is preventing this from proceeding and why it appearing successful.

Doing a diff between the logs of a truly successful install and a successful, but not actually installed, we see these lines in the logs for the unsuccessful:

Code: Select all

...
Migrating feature settings from product(s) '{6D64ECDE-0147-462A-8E76-010DAF00342B};{D929EC2B-5E86-4B9B-AB00-106D8F1A40CD}'
MigrateFeatureStates: based on existing product, setting feature 'MainFeature' to 'Advertise' state.
...
PROPERTY CHANGE: Adding MIGRATE property. Its value is '{6D64ECDE-0147-462A-8E76-010DAF00342B};{D929EC2B-5E86-4B9B-AB00-106D8F1A40CD}'.
...
PROPERTY CHANGE: Adding ADVERTISE property. Its value is 'MainFeature'.
...
PROPERTY CHANGE: Deleting MsiRestartManagerSessionKey property. Its current value is '1a0f21344684a4469ace3fa923120356'.
Feature: MainFeature; Installed: Absent;   Request: Advertise;   Action: Advertise
// I removed the component name here...
Component: <Componentnamehere>; Installed: Absent;   Request: Null;   Action: Null
Component: <Componentnamehere>; Installed: Absent;   Request: Null;   Action: Null
Component: <Componentnamehere>; Installed: Absent;   Request: Null;   Action: Null
...
It is not 100% clear to us why this ADVERTISE state or mode is showing up.

Any help is much appreciated.
Catalin
Posts: 7492
Joined: Wed Jun 13, 2018 7:49 am

Re: Group policy preventing install, but being reported as successful

Hello Lee,

From what I can see in the log file, it looks like you are performing an upgrade.

First of all, we can see the MigrateFeatureState action executing:
during an upgrade it reads the feature states in the old version and then sets these feature states in the new version.
The above is a Windows Installer Standard Action.

From this, we can see that some components are missing, but their "Request" and "Action" are set to "null" instead of "Install".

Regarding the ADVERTISED property, I am not quite sure why that comes up.

Do you have it set like that in the "Organization" page --> your feature --> under "Advertise Settings"?

We can read more about that in the following article:

1. Advertisement

Hope this helps!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”