Now we are starting to migrate some of our shared assemblies into the GAC.
Some of our installer classes are dependent upon these shared assemblies.
It appears that Windows Installer does not install our assemblies into the
GAC before it calls the install methods on our custom actions, which
causes our installation to fail.
Does anyone know of a way to get Windows Installer to finish registering
the shared assemblies in the GAC before calling our Installer classes?
This seems like it would be a common problem for anyone using Installer
classes.
We could install the assemblies into the GAC manually, earlier on in the
installation process by using GACUTIL, but then we loose the reference
counting that Windows Installer automatically handles for us in the GAC.
Regards,
Andy Elmhorst
(Sorry for the cross-posting, but no one seems to be answering these types
of questions on Microsoft.public.windows.msi) I inadvertantly also posted
this on the sdk_install list by accident.
"Andy Elmhorst" <andye...@yahoo.com> wrote in message
news:eE4ZbJzD...@TK2MSFTNGP10.phx.gbl...
I am hoping I don't have to go the GACUTIL route. So far my current strategy
seems to be working.
We install all dlls with custom actions in a shared folder under
CommonFiles\OurCompanyName. We also deploy a copy of the dlls that they are
dependent on into that folder, even though they will eventually be also
deployed in the GAC. The custom actions then run fine. Because of this, we
tend to create seperate assemblies to run our custom actions, rather than
putting the installer classes directly into our application.
For .Net services, the ServiceInstaller and ServiceProcessInstaller classes
have been doing the job well for us.
Regards,
Andy
"Phil Wilson" <phil....@unisys.spamcom> wrote in message
news:e8bKnN1D...@TK2MSFTNGP12.phx.gbl...