fmh1959
Posts: 8
Joined: Mon Aug 10, 2015 8:52 am

Old version number

Hi

Can anyone tell me how to get the old version number in case of a major upgrade (same upgradecode) ?

As I can see there is no property ????? I now about the OLDPRODUCTS - I want the explicit number.

I'm going to use it fx. comparing old version against new when running sql packages etc.

Regards
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Old version number

Hello,

To get the ProductVersion of the installed version during an upgrade, you can take a look on the How can get the installed ProductVersion number in C# or VB forum thread which debates this subject.
I now about the OLDPRODUCTS - I want the explicit number.
This property is set only in a package which upgrades another package. This property is set with a list with the Product Codes of the older versions of your installation package.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”