What's the right way to go about setting the default value of ALLUSERS? How do I expose this setting in the installer's user interface?
I want the ALLUSERS property to default to 1 automatically if the
installer's privileged. I'm currently using the following elements to
accomplish this:
<CustomAction Id='AssignAllusersProperty'
Property='ALLUSERS'
Value='1'
/>
<InstallExecuteSequence>
<Custom Action='AssignAllusersProperty'
After='LaunchConditions'>
Privileged
</Custom>
</InstallExecuteSequence>
Now, I'm adding WIXUI_INSTALLDIR to my Windows Installer packages. I
would like to give users the option of installing for all users or for
just themselves, and default to installing for all users if the user
has the appropriate privileges (or if this is an unattended install
kicked off by SMS or GPO, thus running in the operating system's
security context). Will my custom action accomplish this for me, or
do I need to do something else in order to obtain the desired behavior
(e.g., re-order the execution of the custom action)?
Best wishes,
Matthew
--
"A terrorist attack is just a badly-placarded HAZMAT incident."
(http://www.sff.net/people/doylemacdonald/emerg_kit.htm)
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ WiX-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users

