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

Stephens, Rich RStephens at bottomline.com
Thu Jun 9 10:35:58 PDT 2016


Well, first off you spelled it "uil", not util... that might cause a problem.  That prefix has to match whatever you called the namespace that includes the util xsd at the top of your file.

Rich Stephens  |  Bottomline Technologies
770-576-3623  |  rstephens at bottomline.com 

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Shomari Sharpe
Sent: Thursday, June 09, 2016 1:27 PM
To: WiX Toolset Users Mailing List
Subject: Re: [wix-users] help with wix uninstall setting property to a registry entry for a customaction

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

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-users mailing list