stevefal
Posts: 119
Joined: Wed Sep 03, 2008 9:02 pm
Location: Washington USA
Contact: Website

Reuse installation destination on upgrade?

Is there a way to skip FolderDlg during upgrade? I don't want to support or test scenarios where the user selects a different destination than the one already installed.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Reuse installation destination on upgrade?

Hello,

You can create a NewDialog Published Event on the "Next" button of WelcomeDlg and set it's argument to VerifyReadyDlg (assuming this is the dialog that comes after FolderDlg) Do not forget to also place a corresponding NewDialog event on the "Back" button of VerifyReadyDlg so that the user does not reach FolderDlg in case he presses it. You can use OLDPRODUCTS in these events' condition to condition their execution. Our comprehensive tutorial on Conditionally displaying an install dialog describes a similar example in greater detail.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
stevefal
Posts: 119
Joined: Wed Sep 03, 2008 9:02 pm
Location: Washington USA
Contact: Website

Re: Reuse installation destination on upgrade?

Thanks Gabriel..

Return to “Common Problems”