By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,717 Members | 2,069 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,717 IT Pros & Developers. It's quick & easy.

Installing to the GAC for a custom installer

P: n/a
Hi all... I have been using InstallShield to build our installers for our
products. However I just found out that our version of InstallShield
doesn't support 64-bit deploys and it costs $700 to upgrade to the version
that does.

I really don't need many of the features of a full installer application. I
just essentially want to copy files to a few folders, make several registry
entries, and create a program files group. Also I would like to create
custom installer dialog pages.

I'm not really a fan of MSI either since it's so kludgey.

So I came up with the idea of making a 100% .NET installer since only people
who have .NET will be installing our products anyhow. The problem is that
there doesn't seem to be any easy way to register our assemblies in the GAC.

We could use gacutil but does this mean that we have to include gacutil in
our setup and if we include a specific version (like for the 1.0 .NET
framework), will it not work for installing on machines with the 1.1 or 2.0
frameworks?

Bill
Jul 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Bill,
We could use gacutil but does this mean that we have to include gacutil in
our setup and if we include a specific version (like for the 1.0 .NET
framework), will it not work for installing on machines with the 1.1 or 2.0
frameworks?


I wouldn't recommend using Gacutil for this, I'm not even sure it's
redistributable. There are APIs that are sort of documented here

http://support.microsoft.com/?kbid=317540

and I have managed wrappers for most of it at

http://www.msjogren.net/dotnet/eng/s...et_gactool.asp

Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Jul 21 '05 #2

P: n/a
Thanks... that's a very useful KB article! And I'll have a look at your
app.

My only question, will those API's work for .NET 1.0, 1.1 and 2.0?

Bill

"Mattias Sjögren" <ma********************@mvps.org> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Bill,
We could use gacutil but does this mean that we have to include gacutil in
our setup and if we include a specific version (like for the 1.0 .NET
framework), will it not work for installing on machines with the 1.1 or
2.0
frameworks?


I wouldn't recommend using Gacutil for this, I'm not even sure it's
redistributable. There are APIs that are sort of documented here

http://support.microsoft.com/?kbid=317540

and I have managed wrappers for most of it at

http://www.msjogren.net/dotnet/eng/s...et_gactool.asp

Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.

Jul 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.