A software installation fails with error "There is a problem with this Windows Installer Package"

Version 1

    Verified Product Versions

    Application Control 8.9Application Control 8.8Application Control 8.7Application Control 8.6Application Control 8.5Application Control 8.4Application Control 8.3Application Control 8.2Application Control 8.1Application Control 8.0

    Introduction

    When Application Manager is running, a Windows Installer package may fail to install with the error:

    There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor

    Detail

    The Windows Installer package contains custom actions which are written to a temporary file by msiexec.exe with a .tmp extension in the temporary folder (%temp%) for the user running the installation. The Windows Installer then tries to execute this .tmp file but it will be owned by a non-trusted owner and therefore prohibited by Application Manager by default.

     

    A Process Rule can be created to allow *.tmp files to be executed by the Windows Installer process (msiexec.exe) even if they are not owned by a trusted owner. The default Application Manager configuration already has a Process Rule for msiexec.exe so if this is present it can be modified as below:

     

     

    Note that AppSense strongly recommend that the "Validate MSI (Windows Installer) packages" setting in the "Options" menu under "General Features" is enabled to ensure that only Windows Installer packages that the configuration specifically allow may be run which reduces the risk of a malicious MSI file being able to run arbitrary code via a custom action. This option is enabled in the default configuration.