[wix-users] Adding registry key upon Uninstall
farrukh1 at gmail.com
Thu Nov 9 22:14:58 PST 2017
Thanks for the good hint. It started working fine. However, if I uninstall
it by choosing "Uninstall" from right mouse button menu on .msi file, it
failed to write in hklm. I've set Return="ignore" to avoid uninstall
What's the difference between Uninstall from right mouse button menu on msi
file and from control panel and "msiexec /x"?
In each case it shows UAC permission dialog...
On 9 November 2017 at 18:03, Joseph L. Casale via wix-users <
wix-users at lists.wixtoolset.org> wrote:
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
> Of Farrukh Waheed via wix-users
> Sent: Thursday, November 9, 2017 5:46 AM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Cc: Farrukh Waheed <farrukh1 at gmail.com>
> Subject: [wix-users] Adding registry key upon Uninstall
> > <Property Id="WixQuietExecCmdLine" Value=""[#RSS.cmd]"
> > -RSS"/>
> > <CustomAction Id="SS" BinaryKey="WixCA" DllEntry="WixQuietExec"
> > Execute="deferred" Return="check"/>
> > <InstallExecuteSequence>
> > <Custom Action="SS" Before="RemoveFiles">Installed AND
> > REMOVE</Custom>
> > </InstallExecuteSequence>
> > Although installer is using Elevated Privileges, this script is not able
> > write in HKLM. Because of this failure, the installer is unable to
> > Uninstall from the machine.
> Have you read the documentation at http://wixtoolset.org/
> Check the section on deferred execution and note the subtly on custom
> action data.
> WiX Toolset Users Mailing List provided by FireGiant
More information about the wix-users