[wix-users] help with wix uninstall setting property to a registry entry for a customaction

Shomari Sharpe shomari.sharpe at gmail.com
Thu Jun 9 10:27:00 PDT 2016


Hi,
I figured out the problem it seems using the following code to set the
value of a custom action from the registry does not work:

<property Id="UNINSTALLCOMMAND">
   <uil:RegistrySearch
     root="HKLM"
     key="Software\ShomySoft\myprogram"
    value="programpath" />
</property>

<CustomAction
    Id="SQLiteUninstallODBC_EXE"
    Property="SQLiteUninstallODBC"
    Value="[UNINSTALLCOMMAND]"
    Execute="immediate" />

-------------------------------------------------
It seems "util:RegistrySearch" needs to be just "RegistrySearch" is this a
bug ??

Regards,

Shomari


On Wed, Jun 8, 2016 at 10:06 AM, Farrukh Waheed <farrukh1 at gmail.com> wrote:

> attachments are blocked in this mailing group. Better share code content in
> the e-mail.
>
> On 7 June 2016 at 12:29, Shomari Sharpe <shomari.sharpe at gmail.com> wrote:
>
> > From: Shomari Sharpe <shomari.sharpe at gmail.com>
> > To: wix-users at lists.wixtoolset.org
> > Cc:
> > Date: Tue, 7 Jun 2016 02:57:27 -0500
> > Subject: Fwd: Help with wix!!
> >
> > Hi,
> > I have a serious problem that i've been googling and experimenting with
> for
> > over a week now. It has to do with setting a custom actions property to a
> > registry value containing a command to uninstall a sqlite odbc driver.
> I've
> > attached my wxs file. It appears that the property value is not being set
> > at all but if i hardcode a string value it works.
> >
> >
> > Thanks for your help,
> > Shomari Sharpe
> >
> > ____________________________________________________________________
> > WiX Toolset Users Mailing List provided by FireGiant
> > http://www.firegiant.com/
> >
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>


More information about the wix-users mailing list