AquaComm
Posts: 45
Joined: Wed May 06, 2020 3:25 am

If not in GAC download and install

I will be creating a master installer for several programs. Each of these programs contain many of the same dll's so bundling the dll's into each installer is not an option as far as size is concerned. Later, updates may be issued referencing new dll's.

I have in mind creating a pre-install package that will check if a specified dll is installed in the GAC and if not download it in a zipped file. Then unzip and install it in the GAC. That package would be part of each of the programs in the master installer.

Can IA do that or can you suggest another method that would achieve the same result.

Thanks.
Catalin
Posts: 6608
Joined: Wed Jun 13, 2018 7:49 am

Re: If not in GAC download and install

Hello,

Having the DLLs in the same package is indeed a better ideea.

I think we can add them indeed in a package and add the package as a web-based prerequisite.

Additionally, we can have the prerequisite's criteria being set through a custom executable/script - so that we can verify mutliple DLLs from one single place.

This way, we first check for the DLLs, if they are not present we download and install them.

Hope this helps!

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

Return to “Building Installers”