srikanth4sree
Posts: 17
Joined: Tue Jun 12, 2018 10:25 am

Upgrade not copiying one DLL

Hi Team,

In My system have install exe version(APT3_3.1.1-apts25br5bu0028.exe). On top i am upgrading to APT3_3.1.1-apts25br5bu0030.exe.

while upgrading one of the DLL is not copied into System. but While Doing clean install of APT3_3.1.1-apts25br5bu0030.exe the dll is copied into local folder.

one thing in the old version(APT3_3.1.1-apts25br5bu0028.exe) DLL product version is "2.5.0.61767".

in the new version (APT3_3.1.1-apts25br5bu0030.exe) DLL product version is "2.4.0.61767".
Also attached the project File.

Can you please help me on Upgrade, it should copy the DLL if it older version.
i am using advanced installer 12.8
Attachments
baseR4.aip
(138.17 KiB) Downloaded 284 times
Catalin
Posts: 6586
Joined: Wed Jun 13, 2018 7:49 am

Re: Upgrade not copiying one DLL

Hello Srikanth,

An upgrade is a two step process. Firstly, the older version is uninstalled from the computer and then the new version is installed replacing the old version. In your case, the new DLL is not copied into the system because the older DLL has a higher version.

In the "File Versioning Rules" article, it is specified that:
Highest Version Wins—All other things being equal, the file with the highest version wins, even if the file on the computer has the highest version
Can you please help me on Upgrade, it should copy the DLL if it older version.
I am afraid that what you want to achieve is not possible. You can increase the version of your new DLL so it will be higher than the version of the older DLL.

Regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”