Registry entry for dll file with increasing version number - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

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: 2796
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”