Re: [WiX-users] Removing through the UI mode does not prompt for privileges

2011-12-31 Thread Bob Arnson
On 22-Dec-11 08:23, Stelios Kyprou wrote: Ok it seems that Remove=ALL was not set for the following reason: One of the features had a conditional installation, as following: http://www.joyofsetup.com/2008/05/16/make-sure-features-are-always-enabled-so-they-can-be-removed/ -- sig://boB

Re: [WiX-users] Removing through the UI mode does not prompt for privileges

2011-12-23 Thread Stelios Kyprou
I already have that condition in the code...So that didn't help with elevation. I really think that it's the feature installation condition, because when I made the feature install without a conditional set of it's level, it worked as I want it to... So there must be a reason why this happens...

Re: [WiX-users] Removing through the UI mode does not prompt for privileges

2011-12-22 Thread Stelios Kyprou
Ok it seems that Remove=ALL was not set for the following reason: One of the features had a conditional installation, as following: Feature Id= SharePoint_PowerShellFiles Title=!(loc.ProductName) Level=0 Condition Level=1 ![CDATA[STSADM2010]] /Condition

Re: [WiX-users] Removing through the UI mode does not prompt for privileges

2011-12-22 Thread Sameer Arora
If the requirement was to invoke elevation prompt for both install and uninstall (be it in from Program and Features or through the Maintenance mode) will this work?: add this condition somewhere in the Product scope Condition Message=Admin privileges requiredPrivileged/Condition I understand

[WiX-users] Removing through the UI mode does not prompt for privileges

2011-12-21 Thread Stelios Kyprou
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

Re: [WiX-users] Removing through the UI mode does not prompt for privileges

2011-12-21 Thread Karthick R
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

Re: [WiX-users] Removing through the UI mode does not prompt for privileges

2011-12-21 Thread Stelios Kyprou
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

Re: [WiX-users] Removing through the UI mode does not prompt for privileges

2011-12-21 Thread Dan Gough
I'm new to WiX so don't know how to do it, but I think you need the elevation shield attribute 0x0080 set in the Control table on the button used to uninstall the application. Try editing the msi package using InstEd to see if it fixes the problem, then you can figure out how to achieve it in

[WiX-users] Removing through the UI mode does not prompt for privileges

2011-12-15 Thread Stelios Kyprou
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