Hi,
I've been browsing the forums but can't quite find what I'm looking for (or end up clicking on a promising link that ends up on a 404 Not Found page).
What we'd like to do is install the Infragistics DLLs in the GAC on the disk image of virtual machines used in our regional offices. Currently, the Infragistics DLLs are installed when users run a ClickOnce application that uses Infragistics components, but since this is wiped out every time the users log off (don't ask...;)), the entire ClickOnce package, including the Infragistics DLLs, has to be downloaded from the network every time. Apparently this takes several minutes (up to 20 - there are a couple of other applications doing something similar). So they've asked me to look into the possibility of having the DLLs on the disk image (which doesn't get wiped out). My understanding is that if the ClickOnce package sees that Infragistics is already in the GAC, it won't download them (is that correct?)
Soooo.... The question is: How do I install the DLLs to the GAC when preparing the disk image. Is it just a matter of running the Infragistics installer, or is it something that must be done manually and if so, how?
Thanks,
Michel
Michel,
You would either use gacutil or create your own installer that would install the assemblies into the GAC on the machines that you could use when preparing the disk image. This should be done because you should only be putting the redistributable assemblies on the machines which is all but the design assemblies listed in the online documentation.
You may also be interested in How to: Install Prerequisites with a ClickOnce Application on MSDN.
Let me know if you have any questions with this matter.
Hello Michel,
Were you able to resolve your issue?
Sincerely,Valerie Developer Support Supervisor - XAMLInfragisticswww.infragistics.com/support
I created a package that "should" install things in the GAC, but I have to wait for somebody else to test it (I don't have the necessary priviledges on that machine to add assemblies to the GAC). I'll post here once I hear back from him.
Thanks,Michel
I am glad it appears you were able to resolve your issue.
Please let us know if you have any other questions on this matter.
Sincerely,
Valerie
Developer Support Supervisor - XAML
Infragistics
www.infragistics.com/support
I think I'm good now. At first I created a Windows Installer, but it complained about not being able to write to the directory (the error message wasn't of much help). I checked a couple of pages on MSDN and they recommended using InstallShield Limited Edition to add assemblies to the GAC. That one ran without any problems. The ClickOnce app still installed the DLLs to the user profile anyway, but I think this is because the deployed (ClickOnce) version uses plain 2014.1, whereas the assemblies I added to the GAC have had a later patch applied. In theory, if I redeploy the application using the patched 2014.1, then it should use the GAC assemblies and not download/copy them to the user profile.
"In theory" is my standard disclaimer(TM) :)
Thanks!Michel
Just checking if you were able to test this yet and if you have any other questions.