WiX Installer Fails on ADXRegistrator CreateSubKey - Access is denied

Add-in Express™ Support Service
That's what is more important than anything else

WiX Installer Fails on ADXRegistrator CreateSubKey - Access is denied
 
Sergey Grischenko


Add-in Express team


Posts: 7187
Joined: 2004-07-05
Hi Gareth,

Do you have the directory below on your PC?
c:\Program Files (x86)\Microsoft SDKs\ClickOnce Bootstrapper\
Posted 21 Jun, 2017 05:07:38 Top
Gareth Thom




Posts: 9
Joined: 2017-06-14
Yes??
Posted 21 Jun, 2017 16:48:34 Top
Sergey Grischenko


Add-in Express team


Posts: 7187
Joined: 2004-07-05
Hi Gareth,

Please open the WiX project file in Notepad or Visual Studio editor and set this path in the 'Path' attribute of the 'GenerateBootstrapper' tasks, open the project in Visual Studio and rebuild it. Now you should see setup.exe in the output directory of the WiX project. We will fix this bug in the next build of Add-in Express.
Posted 22 Jun, 2017 05:33:07 Top
Gareth Thom




Posts: 9
Joined: 2017-06-14
Sorry for the delay in getting back to you - that now works, but I also had to uncomment out the two 'GenerateBootstrapper' lines.

I notice now that even though I have signed setup.exe with our public certificate, when it launches the user gets prompted to allow msiexec.exe by Microsoft to run and not setup.exe by "My Company", i.e. it does not pick up our digital signature from setup.exe, but Microsoft's signature from msiexec.exe.

Do you know of a way round this?

Thanks again for all your help,
Gareth
Posted 30 Jun, 2017 05:48:31 Top
Sergey Grischenko


Add-in Express team


Posts: 7187
Joined: 2004-07-05
Hi Gareth,

Did you sign .msi file with the digital signature?
Posted 03 Jul, 2017 06:34:55 Top
Gareth Thom




Posts: 9
Joined: 2017-06-14
Yes
Posted 03 Jul, 2017 07:42:41 Top
Sergey Grischenko


Add-in Express team


Posts: 7187
Joined: 2004-07-05
Hi Gareth,

It happens because your installer requires administrative privileges and setup.exe restarts msiexec via the elevation popup.
Posted 05 Jul, 2017 04:30:38 Top