473,378 Members | 1,504 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Installing to the GAC for a custom installer

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
2 1184
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: D Busby | last post by:
List I've made a .NET windows service in C++, then I added an installer to the solution. I added the 'Project Output' from my .NET service as a package for the installer to install however it does...
0
by: Brian at CreekPath | last post by:
I've created an ASP.NET installer using Visual Studio's "Web Setup Project" template. I'm installing to Windows 2000 Server (IIS 5). If I configure the default web site to a port other than 80,...
1
by: Punit Singhal via DotNetMonster.com | last post by:
Hello, I have built a ASP.NET application and created a installer with the help of deployment wizard given in Visual Studio DotNet. But I am unable to install the application when IIS is...
0
by: Anonieko Ramos | last post by:
Self Installing Service Enter a topic name to show or a new topic name to create; then press Enter .. Start by writing a service. This involves deriving a class from...
4
by: Bill Henning | last post by:
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...
4
by: Simon Hart | last post by:
Hi, I am creating a MergeModule that is required to read the Windows Registry to determine a location only known at runtime and install files. What I can't figure out is, how to change the...
1
by: Gene | last post by:
I would like to know if the following is even possible with the visual studio.net Setup and Deployment project. 1. During the deployment after creation of application directory the setup needs...
0
by: Argo | last post by:
Hi, I am trying to install 2 Windows services in one VS.NET 2005 Deployment Project. I added custom actions for Install, Rollback, and Uninstall. My problem is that if the Install method of...
3
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgRGVzYXJyb2xsbw==?= | last post by:
Hi misters, I continue installing; my production PC is Windows 2003 I need copy dll (C runtime DLL msvcr71.dll) to windows\system32 directory if not installed yet. I want create Setup...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.