Re: MSI installation help
From: Phil Wilson (phil.wilson_at_unisys.spamcom)
Date: 02/03/04
- Next message: Mark Gary: "Re: . Bailo's fate ."
- Previous message: Benjymouse: "RE: Problems intalling Microsoft Visual Studio .NET 2003"
- In reply to: Raj: "Re: MSI installation help"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 3 Feb 2004 15:10:50 -0800
At
the short topic Add COM Registration for the .NET Component explains that you
can add registration using vsdrpCOM, which extracts into the MSI file the same
entries that regasm would create, so it just works. So you don' need regasm to
register .NET COM interop (I think VS runs regasm to get the registration data
at build time).
Gacutil isn't distributed with the runtime, so you can't rely on it being on a
client system. It was not in the 1.0 redist, but for some reason it showed up in
SP2 to the 1.0 redist, but it is not part of the 1.1 redist. To install
something in the GAC, right-click on File System on Target Machine in VS setup
project File System, and do the Add Special Folder. If you think that you need
to put something ion the GAC for COM interop, you don't need to. Maintaining and
updating new versions of .NET COM interop assemblies in the GAC is tricky. Just
install the assembly into the application folder, and you'll get the equivalent
to a regasm /codebase with no need to use the GAC.
-- Phil Wilson [MVP Windows Installer] ---- "Raj" <raj1q2w@yahoo.com> wrote in message news:973a2213.0402030319.1594c265@posting.google.com... > I dont have any of the products you mention. I only use VS .NET. I see > that gacutil and regasm are a part of XP OS even if VS .net is not > there. I can currently install the application using standard scripts. > I want to be able to do the same using an MSI. Am I missing something? > > Raj > > "Phil Wilson" <phil.wilson@unisys.spamcom> wrote in message news:<#XPLosb6DHA.1664@TK2MSFTNGP11.phx.gbl>... > > The big question is what you're using to build your setup. Capabilities differ > > between VS setup projects and products from InstallShield, Wise, ZeroG, etc etc. > > Generally speaking, in MSI setups you don't need gacutil (it's not part of the > > framework's runtime and therefore not on client systems anyway) and you probably > > don't need regasm either (because the tools extract the corresponding > > registration into the MSI file). > > -- > > Phil Wilson [MVP Windows Installer] > > ---- > > "Raj" <raj1q2w@yahoo.com> wrote in message > > news:973a2213.0402012040.3c0bf3ca@posting.google.com... > > > Hi, > > > > > > I am new to .net and win32 programming in general. I am looking for > > > some simple documentation on how to package a .net application as an > > > MSI. Within that MSI I need to perform several gacutil & regasm tasks. > > > I need this urgently. Could anybody guide me through a simple set of > > > steps. Most of the documentation I have found is too verbose and much > > > more information that I need. > > > > > > Thanks in advance > > > > > > Raj
- Next message: Mark Gary: "Re: . Bailo's fate ."
- Previous message: Benjymouse: "RE: Problems intalling Microsoft Visual Studio .NET 2003"
- In reply to: Raj: "Re: MSI installation help"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|