Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Distributed Applications / February 2004

Tip: Looking for answers? Try searching our database.

MSI installation help

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Raj - 02 Feb 2004 04:40 GMT
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
Cor - 02 Feb 2004 08:19 GMT
Hi Raj,

If you have Visual.studio.net it is a function called setup and deployment
projects. Do you use that?

Cor
> 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.
Phil Wilson - 02 Feb 2004 18:34 GMT
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).
Signature

Phil Wilson [MVP Windows Installer]
----

> Hi,
>
[quoted text clipped - 8 lines]
>
> Raj
Raj - 03 Feb 2004 11:19 GMT
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

> 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.
[quoted text clipped - 14 lines]
> >
> > Raj
Phil Wilson - 03 Feb 2004 23:10 GMT
At

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/ht
ml/vbcondeployinghybridvisualbasic60visualbasicnetapplications.asp


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.
Signature

Phil Wilson [MVP Windows Installer]
----

> 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
[quoted text clipped - 21 lines]
> > >
> > > Raj

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.