Not quite. There are two things at play here: the ALLUSERS property and the
"don't elevate" flag.

If you set InstallPrivileges to "elevated" the flag is not set (the
default). If you set InstallPrivileges to "limited" the flag is set. Nothing
is done wrt the property with this attribute.

If instead you set the InstallScope property, then the following happens:
If it is set to "perMachine", the property is set to "1" and the flag is not
set.
If it is set to "perUser", the property is not created and the flag is set.

In perUser packages, you want the flag set and the property not created. In
perMachine packages, you want the property set and the flag not set. Thus,
the InstallScope attribute does it all, and you don't need to worry about
the flag or the property being set correctly (for non Win7-only switching
packages).

-----Original Message-----
From: Markus Karg [mailto:markus.k...@gmx.net] 
Sent: Thursday, November 05, 2009 1:02 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: [WiX-users] Is "perMachine" the default?

When running my .msi on Vista, I do not see any difference between
InstallScope="perMachine" and not using this attribute at all. Is
"perMachine" the default?

----------------------------------------------------------------------------
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus
on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to