Prevent downgrading of installation
Posted: Tue May 17, 2011 8:46 am
Hello,
I was wondering if there was a way to prevent downgrading of an installation?
As IA uninstalls before overinstalling there is no way that it can use the usual WISE technique of only updating files if file date time is newer than current. Therefore, is there a way to read the 'product version' (e.g. 1.5.0.0) of the currently installed version of the software and prevent installation if 'product version' within the new installation .exe is less than current (e.g. 1.3.0.0).
I need to be able to generate a single .exe for a product that has improving versions of the application but stop a user from downgrading once they have upgraded as changes made to things like database structures etc cannot be undone.
I have read entries and know that there is no formal way for IA to run a fresh install if no current version is present but run an overinstall (without uninstall) if current version is present and only replace files with more recent date time.
Any help on this matter would be great.
Cheers,
Matt Finch
I was wondering if there was a way to prevent downgrading of an installation?
As IA uninstalls before overinstalling there is no way that it can use the usual WISE technique of only updating files if file date time is newer than current. Therefore, is there a way to read the 'product version' (e.g. 1.5.0.0) of the currently installed version of the software and prevent installation if 'product version' within the new installation .exe is less than current (e.g. 1.3.0.0).
I need to be able to generate a single .exe for a product that has improving versions of the application but stop a user from downgrading once they have upgraded as changes made to things like database structures etc cannot be undone.
I have read entries and know that there is no formal way for IA to run a fresh install if no current version is present but run an overinstall (without uninstall) if current version is present and only replace files with more recent date time.
Any help on this matter would be great.
Cheers,
Matt Finch