Hello,
We have created an msi with a prerequisite. When running the msi silently, an error is written to the eventlog when the prerequisite is not met. Would it be possible to also write a specific registry value in this case?
The background for this question is the following (excerpt from Citrix Receiver documentation, Receiver is the process that installs other msi's (silently)):
Many installers contain Custom Actions that check some feature of the target machine and can cause the install to terminate if the conditions are not met. In this case, the only information that Receiver has about the installation failure is the installer exit code which normally corresponds to 'Fatal Installer Error'. To provide more useful information the installer can store a message providing more information about the failure in the Registry. The installerDetailExitMessagePath element is then set to the Registry path of this string. Receiver will pick up the message and include it in user and administrative logging to help diagnosis of the installation failure.
FOLLOW US
Get the latest news in Application Packaging