Currently I have constructed a custom dialog to prompt the user for the 
settings required for the installation. If this is an upgrade then I will have 
saved those settings in the registry and I obviously don't want to prompt the 
user/installer for those settings again. How do I bypass this dialog on an 
upgrade?

Thank you.

Kevin

-----Original Message-----
From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 12, 2008 11:25 PM
To: [EMAIL PROTECTED]
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Upgrade (options?)

[EMAIL PROTECTED] wrote:
> The question that comes up is after this conditional block and there is a 
> major upgrade, when should the settings that are saved in the registry be 
> read in? Is there a conditional clause on saving that setting in the registry 
> that I am missing? 

No. Just always do it: If the product is being installed for the first 
time, there won't be any registry values found. During an initial 
install or an upgrade, you want the registry values written back out.

> How do I read these settings in an bypass the dialog prompt that is part of 
> the "normal" installation (<UI> and <UIREF>)? 

Which dialog prompt?

> As I understand it a property 'NEWERFOUND' will be set if a newer version is 
> detected (major upgrade). Right?
>   

Yes, if you have an UpgradeVersion element with Property="NEWERFOUND" 
with the right versions. Gabor covers that at 
http://www.tramontana.co.hu/wix/lesson4.php.

-- 
sig://boB
http://joyofsetup.com/




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to