You need to put the Custom Action into the InstallExecuteSequence. Rob
Anidil wrote: > This is the snip of the installUISequence.how should i be sequencing this for > the silent install to work properly? > > <Show Dialog="VistaWarningDlg" Before="LaunchConditions">NOT Installed > </Show> > <Custom Action='AlreadyUpdated' > After='FindRelatedProducts'>PATCHFOUND</Custom> > > > Rob Hamflett wrote: >> It sounds like maybe you're doing the early exit in InstallUISequence, >> which doesn't run at all >> during a silent install. >> >> Rob >> >> Anidil wrote: >>> I use the followin code, and associated customaction to detect previous >>> versions of the product.It warns the user about the previous version and >>> stops the install.But when i try to do a silent install,it doesn't seem >>> to >>> check for the existing versions and gets installed parallelly.any help? >>> >>> <Upgrade Id="CBC35353-1EEF-4BF5-93E9-937889318F09"> >>> <UpgradeVersion OnlyDetect="yes" Property="PATCHFOUND" >>> Minimum="1.0" >>> Maximum="2.0" IncludeMaximum="yes" IncludeMinimum="yes"/> >>> </Upgrade> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2005. >> 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 >> >> > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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