I tried that but for some reason it just allways shows the hard coded
value and not the registry value.


-----Original Message-----
From: Rob Mensching [mailto:[EMAIL PROTECTED] 
Sent: 30 October 2008 16:28
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] RegistrySearch Problem

Don't things work if you just put the defaults in the Property/@Value
and nest the RegistrySearch elements under there?

-----Original Message-----
From: Adam Nicol [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 30, 2008 08:56
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] RegistrySearch Problem


Hi, I have several custom dialogs in my installer allowing the user to
enter SQL Server connection details and active directory settings.

I don't want the user to have to re-enter this information each time
they install a new version/reinstall, so I have made it so that during
the install, each of the entered values are stored in the registry. Then
when the user runs a new version of the installer their previous
settings are loaded from the registry and displayed in the dialog.

This all works perfectly, but now I want to be able to have some default
values in the fields the first time that the installer is run when there
is nothing in the registry. Somehow I need to check the registry to see
if the keys exist and read them if they do, otherwise show the user
default values in the fields.

Is this possible, and if so how would I go about doing this?

Thanks in advance,
Adam

TWI Ltd
Registered Number: 3859442 England
Registered Office: Granta Park, Great Abington, Cambridge, CB21 6AL, UK

_______________________________________________________________________
The information in this e-mail is confidential, and may be legally
privileged.  It is intended only for the person(s) specified in the
above address.  Access to this e-mail by anyone else is unauthorised,
and any disclosure, copying, distribution or other use of this e-mail is
prohibited and may be unlawful.  We will not under any circumstances
have any responsibility or liability arising out of or in connection
with any unauthorised use of this e-mail.  Please inform us if this
message has gone astray before deleting it.

Please note that all e-mail is monitored.

When sending e-mails to TWI, please help us by including your name,
company, and details in your e-mail signature.

Seeking Technical Information? Industrial Members can access data as
JoinIT registrants on http://www.twi.co.uk
_______________________________________________________________________



------------------------------------------------------------------------
-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge Build the coolest Linux based applications with Moblin SDK &
win great prizes Grand prize is a trip for two to an Open Source event
anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------
-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge Build the coolest Linux based applications with Moblin SDK &
win great prizes Grand prize is a trip for two to an Open Source event
anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

TWI Ltd
Registered Number: 3859442 England
Registered Office: Granta Park, Great Abington, Cambridge, CB21 6AL, UK

_______________________________________________________________________
The information in this e-mail is confidential, and may be legally 
privileged.  It is intended only for the person(s) specified in the 
above address.  Access to this e-mail by anyone else is unauthorised, 
and any disclosure, copying, distribution or other use of this e-mail 
is prohibited and may be unlawful.  We will not under any circumstances 
have any responsibility or liability arising out of or in connection 
with any unauthorised use of this e-mail.  Please inform us if this 
message has gone astray before deleting it.

Please note that all e-mail is monitored.

When sending e-mails to TWI, please help us by including your name, 
company, and details in your e-mail signature.

Seeking Technical Information? Industrial Members can access data as 
JoinIT registrants on http://www.twi.co.uk
_______________________________________________________________________



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to