Kevin Burton wrote: > So I don't need to do anything with <InstallUISequence/> and "Show"? >
Whether you do depends on how you built your UI. > 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. Use a condition of "ALREADYINSTALLED" to detect when the settings were found. Otherwise, use "NOT ALREADYINSTALLED". > I also don't know the syntax for conditionally writing to the registry. Like I said before, don't. Write them always. Either they came from the UI or they came from the upgrade. If they came from the upgrade, you're writing the same values so the effect is the same. > 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. > RegistrySearch is processed during the AppSearch action, which happens very early. You can see it in the Install{UI/Execute}Sequence tables. -- 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