sbaebler
Posts: 18
Joined: Wed Oct 08, 2008 10:15 am

Registry entry for dll file with increasing version number

With my installer, I ship a dll file that contains a version number (mycomponent13.dll, mycomponent14.dll, etc.).
I need to write the path to this dll to the registry, which I do by creating a Registry Value in Advanced installer.
Whenever I update the version of the dll, I need to remove the old dll (mycomponent13.dll), then add the new dll (mycomponent14.dll) and again create a registry value.

Does Advanced installer provide a better way to do it? I currently use a script that replaces the version in the aip file with the new version number, but that is not an elegant solution.
Bogdan
Posts: 2794
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Registry entry for dll file with increasing version numb

Hi,

To automatically remove and add the DLL files you can use our synchronize feature.
http://www.advancedinstaller.com/user-g ... onize.html

To create/delete the registry entries you can use our command line support, into a script created by you.
http://www.advancedinstaller.com/user-g ... w-reg.html

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”