473,394 Members | 1,841 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,394 software developers and data experts.

MSI installation help

Raj
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
Jul 21 '05 #1
4 1813
Cor
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.

Jul 21 '05 #2
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" <ra*****@yahoo.com> wrote in message
news:97**************************@posting.google.c om...
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

Jul 21 '05 #3
Raj
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" <ph*********@unisys.spamcom> wrote in message news:<#X**************@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" <ra*****@yahoo.com> wrote in message
news:97**************************@posting.google.c om...
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

Jul 21 '05 #4
At

http://msdn.microsoft.com/library/de...plications.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.
--
Phil Wilson [MVP Windows Installer]
----
"Raj" <ra*****@yahoo.com> wrote in message
news:97**************************@posting.google.c om...
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" <ph*********@unisys.spamcom> wrote in message

news:<#X**************@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" <ra*****@yahoo.com> wrote in message
news:97**************************@posting.google.c om...
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


Jul 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: MichaƂ Januszczyk | last post by:
Hello. I've got the following problem: I created a windows installer project that installs my application. The application works with some files. I want to include some example files with the...
1
by: 3f | last post by:
Hello; We have made a web application that people can download from our web site and installed on: Windows XP Windows 2000 Professional Windows 2003 Server Windows 2000 Server
2
by: Jimbo | last post by:
I am trying to install Sql Server on a Win 2000 Server...It keeps failing and I dont know why...I turned off my anti-virus for installation and am logged in as an admin..heres the output of the...
2
by: mb12036 | last post by:
All- Having a problem installing a DB2 client on a machine running AIX version 5.0. Client appeared to install one time succesfully, then was uninstalled and a reinstall was attempted. For...
1
by: srihari | last post by:
Hai, I am trying to install IBM DB2 8.1 on Red Hat linux 8.0. My machine is Intel XEON 64bit. The installation went well except for the creation of tools catalog. When I tried to install the tools...
4
by: coosa | last post by:
Hi, I was installing SQL Server on my machine and during installation my PC freezed. It happens frequently on my machine. So i tried after restarting to install it again and since then i always...
16
by: Jeremy S. | last post by:
I'm about to install VS.NET 2005 and SQL Server 2005 on a new/clean development machine (XP Pro/SP2 etc). Is the order of installation important (i.e., which product should I install first)? ...
16
by: eSolTec, Inc. 501(c)(3) | last post by:
Thank you in advance for any and all assistance. I'm looking for a way to programmatically retrieve the following if possible: Windows Installation Key or COA from the registry Windows installed...
20
by: piggy | last post by:
I have developed an application using C# under .NET 2.0 framework. It is almost done and it is time for me to think about deploymnet to all users. I don't have any background about this and would...
4
by: James | last post by:
I am going to install DB2 version 9 on Windows XP workstation. But I can not continue the installation after I issue the command "setup /i en". System shows me that "A major error occoured while...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.