This can be done by using the result of a search as a custom launch condition. Here are the steps:The easiest thing I can think of is to search for a the main exe in the common AppDir and check the version number. If the version is less then say 6.0 I would like to force the user to uninstall the previous versions first, VIA msgbox or custom dialog form.
Code: Select all
NOT OLDVERSION Please uninstall the old version of the application before running this package.The Depth level starts from the folder in which the search will be performed. For example, if the search will be performed in the "C:\My Folder" directory and the depth is 0, the search will try to find the file only in "C:\My Folder" (it will not search in it's subfolders or it's parent folder).Does the Depth level start from C:\ or from [AppDir]
FOLLOW US
Get the latest news in Application Packaging