tags:

views:

35

answers:

1

I'm creating a MSI. When I try to install it through

msiexec /lvxe log.txt /i product.msi

I see the following in the log file:

MSI (s) (2C:BC) [06:22:05:579]: PROPERTY CHANGE: Adding REMOVE property. Its value is 'ALL'.
Action ended 6:22:05: InstallValidate. Return value 1.

Which prevents a custom action I have from running because its condition is (Not Installed and Not Remove).

Any idea? I thought REMOVE=ALL is set only for uninstalls. Thanks in advance.

+1  A: 

The following is based on a logfile that I was sent:

Per the Windows Installer documentation:

Default Value If no value is specified, the install level defaults to 1.

There was 1 feature with a Level of 30 therefore wasn't being installed.

Since no features were scheduled to install, this was by definition an uninstall and InstallValidate set the REMOVE property to ALL.

INSTALLLEVEL Property (MSDN)

Christopher Painter