I'm trying to create a managed burn bootstrapper to install a MSI as either
per-user or per-machine. My bootstrapper will pass in a different ALLUSERS
value to the MSI depending on the choice of the user. I'm currently testing on
a Windows 7 machine as an administrator, UAC is turned on (default settings).
For a per-user scenario, I can get it to install cleanly if I set the MSI to
either InstallPrivileges=limited, InstallPrivileges=elevated or
InstallScope=perUser. If InstallScope=perMachine, the user receives a UAC
warning and I have uninstall issues in this situation.
For a per-machine scenario, I can get it to install if I set
InstallScope=perMachine. I see the UAC warning dialog. The other 3 scenarios
will result in an error due to insufficient privileges unless I "run as
administrator".
How do I get around my insufficient privileges issue without having to "run as
administrator"? Do I need to make a call to Engine.Elevate? If so, where is
the correct place to make this call at? I've tried a number of places in my
code. I see the UAC warning dialog but it doesn't change how the MSI is
installed.
Thanks
-Mike
This electronic message from NAU Country Insurance Company and any attachment
to it is intended exclusively for the individual or entity to which it is
addressed. It may contain information that is privileged, confidential and
exempt from disclosure under applicable law. Any unauthorized disclosure,
copying, distribution or use of this electronic message or any attachment is
prohibited. If you have received this message in error, please return it to the
sender and delete this original from your system.
3544192 - 31 Jul 2013 01:40:04 -0000
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users