[wix-users] 1402 error when running setup.exe, but MSI alone has no errors

Shobhanjali Ranganathan Shobhanjali.Ranganathan at ir.com
Thu Apr 14 15:44:52 PDT 2016


Hello,

I am using Wix toolset v3.10. I have an msi which installs fine on windows 2008 enterprise server. But when I install using a setup.exe which is a bootstrapper for the same msi, I get a 1402 error: "Setup cannot open registry key". The same key is accessed by the setup when checking for prerequisites and the access there is fine. However when setup calls msi, msi cannot access the registration key. If I run the msi on its own, it is all fine!

I have marked the msi as requiring elevated privileges. I run the setup as administrator.
The same msi and setup have no issues installing on windows server 2008 R2. So it appears that this problem is unique to windows 2008 standard enterprise (Service pack 2).

Log trace from ms where it successfully retrieves the value of the registration key:
AppSearch: Property: RABBITMQVERSION, Signature: RabbitMQVersion
MSI (c) (AC:18) [14:13:43:264]: Note: 1: 2262 2: Signature 3: -2147287038
MSI (c) (AC:18) [14:13:43:264]: PROPERTY CHANGE: Adding RABBITMQVERSION property. Its value is '3.6.1'.

Log trace from setup where it fails to retrieve the registration key:
AppSearch: Property: RABBITMQVERSION, Signature: RabbitMQVersion
MSI (c) (D8:68) [14:10:39:933]: Note: 1: 2262 2: Signature 3: -2147287038
MSI (c) (D8:68) [14:10:39:933]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\RabbitMQ 3: 2

Shobha


_____________________________________________________________________ 

This email is intended only for the use of the individual or entity named above and may contain information that is confidential and/or privileged. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this Email is strictly prohibited. If you have received this Email in error, please notify us immediately by return email or telephone +61 2 9966 1066 and destroy the original message. Thank You
_______________________________________________________________________


More information about the wix-users mailing list