I don't think that is the problem...I need to provide same functionality when 
uninstalling from Programs and Features for when I uninstall through the MSI.
I found in the logs the following:

MSI (s) (C0:08) [11:23:34:638]: Skipping action: UninstallWsp2010PowerShell 
(condition is false)
The condition is: <![CDATA[REMOVE ~= "ALL"]]> which should be true when 
uninstalling(Executes from Programs and Features, but not from the "Remove" 
action of the msi).


-----Original Message-----
From: Karthick R [mailto:karthi...@syncfusion.com]
Sent: 21 December 2011 10:18
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Removing through the UI mode does not prompt for 
privileges

Hi Stelios,

Check the InstallScope attribute for the package inside the product having the 
value as "perMachine" or "perUser"

For a per-machine installation, the default installation location will be 
[ProgramFilesFolder][ApplicationFolderName] and the user will be able to change 
it in the setup UI. For a per-user installation, the default installation 
location will be [LocalAppDataFolder]Apps\[ApplicationFolderName] and the user 
will not be able to change it in the setup UI.

Warm Regards,
Karthick.R

-----Original Message-----
From: Stelios Kyprou [mailto:stelios.kyp...@fcg.im]
Sent: Wednesday, December 21, 2011 5:04 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Removing through the UI mode does not prompt for privileges

Any ideas anyone?

-----Original Message-----
From: Stelios Kyprou [mailto:stelios.kyp...@fcg.im]
Sent: 15 December 2011 10:55
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Removing through the UI mode does not prompt for privileges

Hello all,
I have an installer built on wix 3.5.2519. It installs per machine and using 
WixUI_InstallDir ui.
-When installing the product, it prompts the user for elevated privileges 
before installing.
-When uninstalling via "Programs and Features", it prompts the same user for 
elevated privileges.
-When uninstalling through the UI mode, no elevation is requested, and the 
uninstallation process does not complete successfully because of that.

Is there something I have to set so that it prompts for elevation through the 
UI?

I do not set anywhere the ALLUSERS anywhere. The only thing I do is set the 
installscope to permachine.

Regards,
Stelios
________________________________

This message w/attachments (message) is intended solely for the use of the 
intended recipient(s) and may contain information that is privileged, 
confidential or proprietary. If you are not an intended recipient, please 
notify the sender, and then please delete and destroy all copies and 
attachments, and be advised that any review or dissemination of, or the taking 
of any action in reliance on, the information contained in or attached to this 
message is prohibited. Formicary cannot guarantee that this message is secure 
or free of errors or viruses.

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create new or 
port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM 
program developer opportunity. appdeveloper.intel.com/join 
http://p.sf.net/sfu/intel-appdev _______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create new or 
port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM 
program developer opportunity. appdeveloper.intel.com/join 
http://p.sf.net/sfu/intel-appdev _______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
________________________________

This message w/attachments (message) is intended solely for the use of the 
intended recipient(s) and may contain information that is privileged, 
confidential or proprietary. If you are not an intended recipient, please 
notify the sender, and then please delete and destroy all copies and 
attachments, and be advised that any review or dissemination of, or the taking 
of any action in reliance on, the information contained in or attached to this 
message is prohibited. Formicary cannot guarantee that this message is secure 
or free of errors or viruses.

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to