Hi,


I'm trying to create an installer that supports perUser and perMachine 
installations dependent on a selection of setup types on the UI.



- The perUser setup type installs the application into 
"WIX_DIR_COMMON_DOCUMENTS" and shall require no admin permissions.

- The perMachine setup type install the application into "ProgramFilesFolder" 
and shall request an UAC dialog.



My attempt was to initially set the Package/@InstallScope to perUser and then 
modify the ALLUSERS property later on.



If the user selects the perMachine setup type I'm trying to set the ALLUSERS 
property to 1 doing the following:

<Publish Property="ALLUSERS" Value="1">1</Publish>



The "Install" buttons gets a UAC icon, but no UAC dialog appears!

Instead I get an error message that I obviously have no privileges to install 
the application for all users of the machine.



Is it a bug that no UAC dialog appears or intended? Am I missing something?



Best regards

Jérôme


________________________________

This message and any attachment are confidential and may be privileged. If you 
are not the intended recipient, please contact us immediately and delete this 
message and any attachment from your system.
If you are not the intended recipient you must not copy, use or store this 
message or attachment or disclose the contents to any other person.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to