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 <[email protected]>

> 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
> [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to