Compare previous version and new installation verion
Posted: Tue Mar 04, 2014 10:40 am
Hi, Guys
I am currently working on a project of modifying the installer. The idea is to check the previously installed version, then compare with the new installation version. If it's a major upgrade, then show user it's a major upgrade, blah blah blah...
I am using the Get File Version command to get the older version from user selected path. But the issue I had is during the installation, in the step progressprereq, it detects NEEDSUPGRADE, and then it remove all the files in the target folder. So I always get file version 0.0.0.0
Is there a way to get the installed version without requesting user selecting the path of installation folder. Or is there a way to get installed version directly?
Thanks for your time.
I am currently working on a project of modifying the installer. The idea is to check the previously installed version, then compare with the new installation version. If it's a major upgrade, then show user it's a major upgrade, blah blah blah...
I am using the Get File Version command to get the older version from user selected path. But the issue I had is during the installation, in the step progressprereq, it detects NEEDSUPGRADE, and then it remove all the files in the target folder. So I always get file version 0.0.0.0
Is there a way to get the installed version without requesting user selecting the path of installation folder. Or is there a way to get installed version directly?
Thanks for your time.