[wix-users] Do permissions change during installation?
Hoover, Jacob
Jacob.Hoover at greenheck.com
Fri May 13 08:42:31 PDT 2016
You cannot write to Program Files unless you are an elevated installation. Either remove the need for this file, flag the MSI as per machine, or write a per user location.
If your install is already per machine, then you just need to schedule/configure your CA to run as an elevated CA. (A snippet of your CA authoring would be helpful.)
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Jon Earle
Sent: Friday, May 13, 2016 9:16 AM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] Do permissions change during installation?
Using WiX 3.10.2
I am experiencing a strange problem with Windows 10 only. The same MSI that installs on server 2012r2, will not install on Windows 10, unless I install it with Administrator privilege. The failure is due to a custom action creating a folder containing an empty file in the install path (which is within Program Files).
I find that strange since, the installer is able to create the path and file structure for the application, but fails on this one step. Make me wonder if the msi is run with one set of privileges and the custom action is run with a reduced set of privileges?
How do I address this?
Cheers!
Jon
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users
mailing list