Why not putting these properties into the registry and use
RegistrySearch then?

-- Yan

-----Original Message-----
From: Konstantin Vlasenko [mailto:konstantin.vlase...@gmail.com] 
Sent: Tuesday, August 11, 2009 9:59 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to make some information remembered by
thepackage so that it can be uninstalled automatically throughadd/remove
programs?

The best way is to store this information in the config file (e.g. xml)
and
read it on uninstallation.

2009/8/11 bonn deng <bonnd...@gmail.com>

> Hi, all~    I'm using WiX3.0 to build an install package for restoring
sql
> server database. Now I can customize one dialog for users to input the
> sqlServerName, userName and password and the installation works just
fine.
>    But when I uninstall it through add/remove programs, I can't
connect the
> sql server correctly. Then I figured it out that is because the
inputed
> information for sql server is missing, so I have to run command
(msiexec
> /x sqlServerName="XX" userName="XX" password="XX") every time I want
to
> uninstall it.
>    The question is: What can I do to make the sqlServerName, userName
and
> password remembered by the package so that it can be uninstalled
> automatically through add/remove programs?
>    Thanks in advance~
>    Best wishes,
> Bonn
>
>
------------------------------------------------------------------------
------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day
> trial. Simplify your report design, integration and deployment - and
focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-- 
Konstantin Vlasenko
------------------------------------------------------------------------
------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day 
trial. Simplify your report design, integration and deployment - and
focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to