Sorry for the wrong attribute name - i really meant InstallScope.
We've got own boostrapper application which executes msiexec.
We are executing one application (as a deferred CA with Impersonate 
attribute set to 'No') during the installation process to create a 
registry key with permissions for user who started the installation.
We didn't use InstallScope attribute (i assume that its default value is 
"perUser") before, but when we set it to "perMachine", then the key was 
not created with permissions for current user - this means that the 
application was not executed under his credentials.
How could InstallScope set to "perMachine" mess this up?

Thanks for any reply.

Regards,
Jan




Pally Sandher wrote:
> InstallPrivileges can only be set to either "limited" or "elevated". I'm
> assuming you mean InstallScope in which case yes that's all it does
> according to the documentation ->
> http://wix.sourceforge.net/manual-wix3/wix_xsd_package.htm
>
> How are you elevating the MSI on UAC systems? Are you elevating msiexec
> or a bootstrapper/command prompt which launches msiexec or are you
> allowing msiexec to request elevation when it starts the
> InstallExecuteSequence?
>
> Palbinder Sandher 
> Software Deployment & IT Administrator
> T: +44 (0) 141 945 8500 
> F: +44 (0) 141 945 8501 
>
> http://www.iesve.com 
> **Design, Simulate + Innovate with the <Virtual Environment>**
> Integrated Environmental Solutions Limited. Registered in Scotland No.
> SC151456 
> Registered Office - Helix Building, West Of Scotland Science Park,
> Glasgow G20 0SP
> Email Disclaimer
>
>
> -----Original Message-----
> From: Jan Bilek [mailto:bil...@gmail.com] 
> Sent: 09 April 2010 12:52
> To: General discussion for Windows Installer XML toolset.
> Subject: [WiX-users] Changed Package/@InstallPrivileges attribute
>
> Hello,
> Does change of Package/@InstallPrivileges attribute to "perMachine" do
> anything else than sets ALLUSERS to "1"?
> We have several deferred CustomActions with Impersonate attribute set to
> "no" for elevated privileges and they seem to stop working on systems
> with UAC.
>
> Regards,
> Jan
>
> ------------------------------------------------------------------------
> ------
> Download Intel&#174; Parallel Studio Eval Try the new software tools for
> yourself. Speed compiling, find bugs proactively, and fine-tune
> applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>   


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to