GAC Assembly Install - 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!

sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

GAC Assembly Install

So I know how to use the Assemblies page to add an assembly (to GAC, etc.) but it looks like the file(s) needs to reside in some folder already in the install, e.g. "GAC Files", as a sub-folder under, e.g. my Program Files folder for my application???

This means when the application gets installed there will be two copies, one in the destination folder AND the GAC (as desired)?

There's no way around this?
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: GAC Assembly Install

Hello,
This means when the application gets installed there will be two copies, one in the destination folder AND the GAC (as desired)?

I'm not sure I understand. Can you please be more specific about what you mean (perhaps exemplify)? Do you mean that after installation your assembly is installed both, in GAC and as private in your application folders?

Do you want to have an assembly installed in GAC, without been installed as private in your application folders? Or, do you want the assembly to be installed both, in your application folder as a private assembly and in GAC?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
wyzerd
Posts: 75
Joined: Tue Mar 27, 2007 3:54 am
Location: St. Louis, MO
Contact: Website

Re: GAC Assembly Install

I found this thread looking for the same information. I am tasked with converting an installation over to AI. Making matters worse, I am dissecting the existing installation without the inno project file. What i have found is the GAC files ONLY exist in the GAC_MSIL folder. I have been unable to determine how to duplicate that behavior in AI. Here is a sample of what I have found


Directory of C:\WINDOWS\assembly\GAC_MSIL

06/19/2012 02:37 PM <DIR> DevExpress.BonusSkins.v11.1
06/19/2012 02:37 PM <DIR> DevExpress.Charts.v11.1.Core
06/19/2012 02:37 PM <DIR> DevExpress.CodeParser.v11.1
06/19/2012 02:37 PM <DIR> DevExpress.Data.v11.1
06/19/2012 02:37 PM <DIR> DevExpress.Data.v11.1.Linq
06/19/2012 02:37 PM <DIR> DevExpress.OfficeSkins.v11.1
06/19/2012 02:37 PM <DIR> DevExpress.PivotGrid.v11.1.Adomd
06/19/2012 02:37 PM <DIR> DevExpress.PivotGrid.v11.1.Core
06/19/2012 02:37 PM <DIR> DevExpress.Printing.v11.1.Core
06/19/2012 02:37 PM <DIR> DevExpress.Reports.v11.1.Designer
06/19/2012 02:37 PM <DIR> DevExpress.RichEdit.v11.1.Core
06/19/2012 02:37 PM <DIR> DevExpress.SpellChecker.v11.1.Core
06/19/2012 02:37 PM <DIR> DevExpress.Tutorials.v11.1
06/19/2012 02:37 PM <DIR> DevExpress.Utils.v11.1
06/19/2012 02:37 PM <DIR> DevExpress.XtraBars.v11.1
06/19/2012 02:37 PM <DIR> DevExpress.XtraCharts.v11.1
06/19/2012 02:37 PM <DIR> DevExpress.XtraCharts.v11.1.Extensions
06/19/2012 02:37 PM <DIR> DevExpress.XtraCharts.v11.1.UI
06/19/2012 02:37 PM <DIR> DevExpress.XtraCharts.v11.1.Web
06/19/2012 02:37 PM <DIR> DevExpress.XtraEditors.v11.1
06/19/2012 02:37 PM <DIR> DevExpress.XtraGauges.v11.1.Core
06/19/2012 02:37 PM <DIR> DevExpress.XtraGauges.v11.1.Presets
06/19/2012 02:37 PM <DIR> DevExpress.XtraGauges.v11.1.Win
06/19/2012 02:37 PM <DIR> DevExpress.XtraGrid.v11.1
06/19/2012 02:37 PM <DIR> DevExpress.XtraLayout.v11.1
06/19/2012 02:37 PM <DIR> DevExpress.XtraNavBar.v11.1
06/19/2012 02:37 PM <DIR> DevExpress.XtraPivotGrid.v11.1
06/19/2012 02:37 PM <DIR> DevExpress.XtraPrinting.v11.1
06/19/2012 02:37 PM <DIR> DevExpress.XtraReports.v11.1
06/19/2012 02:37 PM <DIR> DevExpress.XtraReports.v11.1.Extensions
06/19/2012 02:37 PM <DIR> DevExpress.XtraReports.v11.1.Web
06/19/2012 02:37 PM <DIR> DevExpress.XtraRichEdit.v11.1
06/19/2012 02:37 PM <DIR> DevExpress.XtraRichEdit.v11.1.Extensions
06/19/2012 02:37 PM <DIR> DevExpress.XtraRichEdit.v11.1.Printing
06/19/2012 02:37 PM <DIR> DevExpress.XtraScheduler.v11.1
06/19/2012 02:37 PM <DIR> DevExpress.XtraScheduler.v11.1.Core
06/19/2012 02:37 PM <DIR> DevExpress.XtraScheduler.v11.1.Extensions
06/19/2012 02:37 PM <DIR> DevExpress.XtraScheduler.v11.1.iCalendarExchange
06/19/2012 02:37 PM <DIR> DevExpress.XtraScheduler.v11.1.OutlookExchange
06/19/2012 02:37 PM <DIR> DevExpress.XtraScheduler.v11.1.Reporting
06/19/2012 02:37 PM <DIR> DevExpress.XtraScheduler.v11.1.Reporting.Extensions
06/19/2012 02:37 PM <DIR> DevExpress.XtraScheduler.v11.1.VCalendarExchange
06/19/2012 02:37 PM <DIR> DevExpress.XtraSpellChecker.v11.1
06/19/2012 02:37 PM <DIR> DevExpress.XtraTreeList.v11.1
06/19/2012 02:37 PM <DIR> DevExpress.XtraVerticalGrid.v11.1
06/19/2012 02:37 PM <DIR> DevExpress.XtraWizard.v11.1
0 File(s) 0 bytes

Directory of C:\WINDOWS\assembly\GAC_MSIL\DevExpress.BonusSkins.v11.1\11.1.11.0__95fc6c5621878f0a

06/19/2012 02:37 PM 5,797,376 DevExpress.BonusSkins.v11.1.dll
1 File(s) 5,797,376 bytes

I have attempted to install these files in CommonAppDataFolder and Add the assemblies from there. That didn't work. The main application could find these assemblies until I moved them to AppDir. Ideally, I should have these moved by registering them, through the assemblies potion of AI. I realize I could do this by adding them to SRCDIR and running REGASM against them, but that would require move work for uninstall/maintenance to make it clean. I am trying to find the "correct" way to do this.
wyzerd
Posts: 75
Joined: Tue Mar 27, 2007 3:54 am
Location: St. Louis, MO
Contact: Website

Re: GAC Assembly Install

Ignore my previous post. I forgot the basic rule: RTFM.

It is all spelled out quite well in there. Problem on it's way to being solved.

For anyone else:
http://www.advancedinstaller.com/user-g ... rties.html

Return to “Common Problems”