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
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...
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
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
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
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
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
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
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
9 matches
Mail list logo