[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 12:14:16 PDT 2016


Hi,
Actually I managed to fix it from a post done by rob Mensching The WiX
toolset's "Remember Property" pattern.
<http://robmensching.com/blog/posts/2010/5/2/the-wix-toolsets-remember-property-pattern/>
It does work!! My problem now is that the project i have is using 2 merge
modules I created , 1: one for mysql odbc 2:one for sqlite odbc. the mysql
version even though almost identical uninstalls correctly but the sqlite
version leaves files and the folder on disk. I am stumped with this one.

Shomari

On Thu, Jun 9, 2016 at 12:35 PM, Stephens, Rich <RStephens at bottomline.com>
wrote:

> 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/
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>


More information about the wix-users mailing list