Previously installed versions - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

ply
Posts: 1
Joined: Wed Nov 17, 2010 11:49 pm

Previously installed versions

How to know if there is installation of previous version.
I dont want to show "Select folder" dialog if user updates using full installation file (not patch).
Cant find right condition... (Installed)/(Not Installed) dont help.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Previously installed versions

Hello and welcome to the Advanced Installer Forums,

Please follow this tutorial from our user guide lo learn how to conditionally show a dialog.
With the help of the OLDPRODUCTS property you can determine if your package performs an upgrade.
Please replace the ViewReleaseNotes property conditions from the article with the OLDPRODUCTS property in the following way:
  • select the Next button on the "WelcomeDlg" dialog and go to the "Published Events" tab
  • double-click the "NewDialog" control event which points to "FolderDlg" and set the Condition field to OLDPRODUCTS
  • create a "NewDialog" control event which points to "VerifyReadyDlg" and set the Condition to NOT OLDPRODUCTS
  • select the Back button on "VerifyReadyDlg"
  • double-click the "NewDialog" control event which points to "FolderDlg" and set the Condition field to OLDPRODUCTS
  • create a "NewDialog" control event which points to "WelcomeDlg" and set the Condition to NOT OLDPRODUCTS
Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”