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 0x00800000 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 SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. ------------------------------------------------------------------------------ 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 ________________________________ 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