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
http://joyofsetup.com/


--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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...

-Original Message-
From: Sameer Arora [mailto:arora...@gmail.com]
Sent: 22 December 2011 22:41
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Removing through the UI mode does not prompt for 
privileges

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 Admin privileges may mean different from Elevation that you 
were looking for.

Sameer

On Thu, Dec 22, 2011 at 5:23 AM, Stelios Kyprou stelios.kyp...@fcg.imwrote:

 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
  ComponentGroupRef Id=PowerShellFiles/
/Feature
 And when uninstalling via the UI REMOVE was not set to ALL.
 ALSO, I noticed the components of that Feature were not removed from
 the installation directory either...
 Is there a scenario where STSADM2010 gets set when installing and NOT
 when re-running the installer for removal?
 This is how I set  the property in product.wxs:

 Property Id=STSADM2010
  DirectorySearch Id=SpsBinFolder Depth=1
  Path=[CommonFiles64Folder]Microsoft Shared\web server extensions\14\bin
FileSearch Id=StsAdmExe2010 Name=stsadm.exe  /
  /DirectorySearch
 /Property

 Thanks,
 Stelios

 -Original Message-
 From: David Watson [mailto:dwat...@sdl.com]
 Sent: 21 December 2011 16:06
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Removing through the UI mode doesnot prompt
 forprivileges

 Sorry I am not a UI expert as we use a chainer for our UI.

 I think your Maintenance UI needs to be setting the REMOVE to all somehow.
 Try looking in the wix standard or mondo UI to see how that does it.

 If your CA needs to be dependent on the MSI being uninstalled it needs
 to be scheduled appropriately, i.e. after the REMOVE has been set correctly.

 Dave

 -Original Message-
 From: Stelios Kyprou [mailto:stelios.kyp...@fcg.im]
 Sent: 21 December 2011 15:45
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Removing through the UI mode doesnot prompt
 forprivileges

 By the way my CA is scheduled AFTER InstallInitialize

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

 You are right David, REMOVE was set to the features that were installed.
 So I changed the condition so that the CA runs.
 One problem down.
 Now after completion, I can still see the product in Products and
 Features, and the files are not removed from the install location.
 What do I need to do so that my Remove action via ui does the same
 thing as when running the uninstallation process via Products and Features?

 Thanks in advance,
 Stelios

 -Original Message-
 From: David Watson [mailto:dwat...@sdl.com]
 Sent: 21 December 2011 14:52
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Removing through the UI mode does not prompt
 forprivileges

 When is your custom action scheduled?

 When you uninstall through the MSI your MSI is in maintenance mode.
 This probably means that REMOVE is not set to ALL by default in case
 you choose some other behaviour.
 Check a log to see when REMOVE is being set and what to.


 -Original Message-
 From: Dan Gough [mailto:goug...@gmail.com]
 Sent: 21 December 2011 13:20
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Removing through the UI mode does not prompt
 forprivileges

 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.
 On Dec 21, 2011 11:55 AM, Stelios Kyprou stelios.kyp...@fcg.im wrote:

  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:
  

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
  ComponentGroupRef Id=PowerShellFiles/
/Feature
And when uninstalling via the UI REMOVE was not set to ALL.
ALSO, I noticed the components of that Feature were not removed from the 
installation directory either...
Is there a scenario where STSADM2010 gets set when installing and NOT when 
re-running the installer for removal?
This is how I set  the property in product.wxs:

Property Id=STSADM2010
  DirectorySearch Id=SpsBinFolder Depth=1  
Path=[CommonFiles64Folder]Microsoft Shared\web server extensions\14\bin
FileSearch Id=StsAdmExe2010 Name=stsadm.exe  /
  /DirectorySearch
/Property

Thanks,
Stelios

-Original Message-
From: David Watson [mailto:dwat...@sdl.com]
Sent: 21 December 2011 16:06
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Removing through the UI mode doesnot prompt 
forprivileges

Sorry I am not a UI expert as we use a chainer for our UI.

I think your Maintenance UI needs to be setting the REMOVE to all somehow.
Try looking in the wix standard or mondo UI to see how that does it.

If your CA needs to be dependent on the MSI being uninstalled it needs to be 
scheduled appropriately, i.e. after the REMOVE has been set correctly.

Dave

-Original Message-
From: Stelios Kyprou [mailto:stelios.kyp...@fcg.im]
Sent: 21 December 2011 15:45
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Removing through the UI mode doesnot prompt 
forprivileges

By the way my CA is scheduled AFTER InstallInitialize

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

You are right David, REMOVE was set to the features that were installed. So I 
changed the condition so that the CA runs.
One problem down.
Now after completion, I can still see the product in Products and Features, 
and the files are not removed from the install location.
What do I need to do so that my Remove action via ui does the same thing as 
when running the uninstallation process via Products and Features?

Thanks in advance,
Stelios

-Original Message-
From: David Watson [mailto:dwat...@sdl.com]
Sent: 21 December 2011 14:52
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Removing through the UI mode does not prompt 
forprivileges

When is your custom action scheduled?

When you uninstall through the MSI your MSI is in maintenance mode. This 
probably means that REMOVE is not set to ALL by default in case you choose some 
other behaviour.
Check a log to see when REMOVE is being set and what to.


-Original Message-
From: Dan Gough [mailto:goug...@gmail.com]
Sent: 21 December 2011 13:20
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Removing through the UI mode does not prompt 
forprivileges

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.
On Dec 21, 2011 11:55 AM, Stelios Kyprou stelios.kyp...@fcg.im wrote:

 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, 

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 Admin privileges may mean different from Elevation that
you were looking for.

Sameer

On Thu, Dec 22, 2011 at 5:23 AM, Stelios Kyprou stelios.kyp...@fcg.imwrote:

 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
  ComponentGroupRef Id=PowerShellFiles/
/Feature
 And when uninstalling via the UI REMOVE was not set to ALL.
 ALSO, I noticed the components of that Feature were not removed from the
 installation directory either...
 Is there a scenario where STSADM2010 gets set when installing and NOT when
 re-running the installer for removal?
 This is how I set  the property in product.wxs:

 Property Id=STSADM2010
  DirectorySearch Id=SpsBinFolder Depth=1
  Path=[CommonFiles64Folder]Microsoft Shared\web server extensions\14\bin
FileSearch Id=StsAdmExe2010 Name=stsadm.exe  /
  /DirectorySearch
 /Property

 Thanks,
 Stelios

 -Original Message-
 From: David Watson [mailto:dwat...@sdl.com]
 Sent: 21 December 2011 16:06
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Removing through the UI mode doesnot prompt
 forprivileges

 Sorry I am not a UI expert as we use a chainer for our UI.

 I think your Maintenance UI needs to be setting the REMOVE to all somehow.
 Try looking in the wix standard or mondo UI to see how that does it.

 If your CA needs to be dependent on the MSI being uninstalled it needs to
 be scheduled appropriately, i.e. after the REMOVE has been set correctly.

 Dave

 -Original Message-
 From: Stelios Kyprou [mailto:stelios.kyp...@fcg.im]
 Sent: 21 December 2011 15:45
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Removing through the UI mode doesnot prompt
 forprivileges

 By the way my CA is scheduled AFTER InstallInitialize

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

 You are right David, REMOVE was set to the features that were installed.
 So I changed the condition so that the CA runs.
 One problem down.
 Now after completion, I can still see the product in Products and
 Features, and the files are not removed from the install location.
 What do I need to do so that my Remove action via ui does the same thing
 as when running the uninstallation process via Products and Features?

 Thanks in advance,
 Stelios

 -Original Message-
 From: David Watson [mailto:dwat...@sdl.com]
 Sent: 21 December 2011 14:52
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Removing through the UI mode does not prompt
 forprivileges

 When is your custom action scheduled?

 When you uninstall through the MSI your MSI is in maintenance mode. This
 probably means that REMOVE is not set to ALL by default in case you choose
 some other behaviour.
 Check a log to see when REMOVE is being set and what to.


 -Original Message-
 From: Dan Gough [mailto:goug...@gmail.com]
 Sent: 21 December 2011 13:20
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Removing through the UI mode does not prompt
 forprivileges

 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.
 On Dec 21, 2011 11:55 AM, Stelios Kyprou stelios.kyp...@fcg.im wrote:

  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
 

[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 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


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 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


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 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

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.
On Dec 21, 2011 11:55 AM, Stelios Kyprou stelios.kyp...@fcg.im wrote:

 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 

[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 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.

--
10 Tips for Better Server Consolidation
Server virtualization is being driven by many needs.  
But none more important than the need to reduce IT complexity 
while improving strategic productivity.  Learn More! 
http://www.accelacomm.com/jaw/sdnl/114/51507609/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users