So I don't need to do anything with <InstallUISequence/> and "Show"?

What would be the syntax to disable showing the dialog? Assume that the
property set when I find a new version is "ALREADYINSTALLED". If this
property is set to something when an existing version is detected then I
want to use the registry settings to install rather than the dialog so I
want to disable the dialog. I also don't know the syntax for conditionally
writing to the registry. I want to conditionally write these properties to
the registry only if there is not a previous version installed. One last
question, if I always read from the registry (even after a dialog prompt)
can I be assured that this read will happen before the installation and
after the uninstall.

Thanks again.

Kevin

-----Original Message-----
From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 19, 2008 9:48 AM
To: Kevin Burton
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Upgrade (options?)

Kevin Burton wrote:
> I am not aware of Publish. I am just following some samples and using
> <InstallUISequence/> as shown in the previous WIX code sample.
>   

I'm not sure what your UI sequence is but you have Publish elements in 
the code you posted. e.g.:

<Publish Event="NewDialog"
Value="[BsiUI_SetupTypeDlg_NextComplete]">1</Publish>


You need the replace the 1 condition with one for the property you're 
using but you need to "fix" all the conditions like this:

Dialog A
   Next: Dialog X if property
   Next: Dialog B if not property
Dialog B
   Next: Dialog C
Dialog C
   Back: Dialog B if not property
   Back: Dialog A if property

-- 
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