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

creating a setup to install into GAC, where can I find an example?

Bob
Could anyone suggest me some examples/articles on creating a setup program
in VS.NET that can install the assembly into the GAC? I have done some
search and research myself and have some basic understanding on how to
create a setup program. All the articles about Windows Installer 2.0 is the
best way to install your assembly into GAC but I haven't found one shows
what exactly I need to do differently in my VS.NET setup project in order
for it to stick the assembly into GAC.

Bob
Nov 18 '05 #1
4 2603
its actually very simple

Create a setup project.
Right click on the installer project and go to view --> file system
Right click in the left pan and add global assembly cache folder
click on the GAC folder and then in the right pane, right click and add
assembly or project output (make sure all is strong named before adding
otherwise the installer will fail).

hth
mike

" Bob" <bo*******@yahoo.com> wrote in message
news:eT**************@TK2MSFTNGP11.phx.gbl...
Could anyone suggest me some examples/articles on creating a setup program
in VS.NET that can install the assembly into the GAC? I have done some
search and research myself and have some basic understanding on how to
create a setup program. All the articles about Windows Installer 2.0 is the best way to install your assembly into GAC but I haven't found one shows
what exactly I need to do differently in my VS.NET setup project in order
for it to stick the assembly into GAC.

Bob

Nov 18 '05 #2
Bob
Ahh, there it is, really very simple. Thanks a lot.

Mike, do you know if it's possible to make the setup program automatically
uninstall an older version of the same program when you run a newer .msi?
By default it says "Another verion of this product is already installed.
Installation of this verion cannot continue. To configure or remove the
existing version of this product, use Add/Remove Programs on the Control
Panel." I would think it's not a stretch to program the installer (custom
action?) to uninstall the older version?

Thanks again.
Bob

"mike" <so*****@somewhere.com> wrote in message
news:O2*************@TK2MSFTNGP10.phx.gbl...
its actually very simple

Create a setup project.
Right click on the installer project and go to view --> file system
Right click in the left pan and add global assembly cache folder
click on the GAC folder and then in the right pane, right click and add
assembly or project output (make sure all is strong named before adding
otherwise the installer will fail).

hth
mike

" Bob" <bo*******@yahoo.com> wrote in message
news:eT**************@TK2MSFTNGP11.phx.gbl...
Could anyone suggest me some examples/articles on creating a setup program in VS.NET that can install the assembly into the GAC? I have done some
search and research myself and have some basic understanding on how to
create a setup program. All the articles about Windows Installer 2.0 is

the
best way to install your assembly into GAC but I haven't found one shows
what exactly I need to do differently in my VS.NET setup project in order for it to stick the assembly into GAC.

Bob


Nov 18 '05 #3
I am not sure - Havent really investigated that too much as we are allowing
multiple versions for my project. But I would imagine that it can be done
through a custom action. If I come across anything I will certainly post
back here with results...

Mike

" Bob" <bo*******@yahoo.com> wrote in message
news:%2******************@TK2MSFTNGP09.phx.gbl...
Ahh, there it is, really very simple. Thanks a lot.

Mike, do you know if it's possible to make the setup program automatically
uninstall an older version of the same program when you run a newer .msi?
By default it says "Another verion of this product is already installed.
Installation of this verion cannot continue. To configure or remove the
existing version of this product, use Add/Remove Programs on the Control
Panel." I would think it's not a stretch to program the installer (custom
action?) to uninstall the older version?

Thanks again.
Bob

"mike" <so*****@somewhere.com> wrote in message
news:O2*************@TK2MSFTNGP10.phx.gbl...
its actually very simple

Create a setup project.
Right click on the installer project and go to view --> file system
Right click in the left pan and add global assembly cache folder
click on the GAC folder and then in the right pane, right click and add
assembly or project output (make sure all is strong named before adding
otherwise the installer will fail).

hth
mike

" Bob" <bo*******@yahoo.com> wrote in message
news:eT**************@TK2MSFTNGP11.phx.gbl...
Could anyone suggest me some examples/articles on creating a setup program in VS.NET that can install the assembly into the GAC? I have done some search and research myself and have some basic understanding on how to
create a setup program. All the articles about Windows Installer 2.0 is
the
best way to install your assembly into GAC but I haven't found one
shows what exactly I need to do differently in my VS.NET setup project in

order for it to stick the assembly into GAC.

Bob



Nov 18 '05 #4
Bob
Someone else told me to set the RemovePreviousVersions to true and increment
the version # in the setup project properties. I tried and the installer
ran sucessfully and removed the older version. However, the newer version
doesn't show up in GAC until I do a "repair" of the install... Just so you
know.

Thanks
Bob
"mike" <so*****@somewhere.com> wrote in message
news:ep**************@TK2MSFTNGP11.phx.gbl...
I am not sure - Havent really investigated that too much as we are allowing multiple versions for my project. But I would imagine that it can be done
through a custom action. If I come across anything I will certainly post
back here with results...

Mike

" Bob" <bo*******@yahoo.com> wrote in message
news:%2******************@TK2MSFTNGP09.phx.gbl...
Ahh, there it is, really very simple. Thanks a lot.

Mike, do you know if it's possible to make the setup program automatically
uninstall an older version of the same program when you run a newer ..msi? By default it says "Another verion of this product is already installed.
Installation of this verion cannot continue. To configure or remove the
existing version of this product, use Add/Remove Programs on the Control
Panel." I would think it's not a stretch to program the installer (custom action?) to uninstall the older version?

Thanks again.
Bob

"mike" <so*****@somewhere.com> wrote in message
news:O2*************@TK2MSFTNGP10.phx.gbl...
its actually very simple

Create a setup project.
Right click on the installer project and go to view --> file system
Right click in the left pan and add global assembly cache folder
click on the GAC folder and then in the right pane, right click and add assembly or project output (make sure all is strong named before adding otherwise the installer will fail).

hth
mike

" Bob" <bo*******@yahoo.com> wrote in message
news:eT**************@TK2MSFTNGP11.phx.gbl...
> Could anyone suggest me some examples/articles on creating a setup program
> in VS.NET that can install the assembly into the GAC? I have done

some > search and research myself and have some basic understanding on how to > create a setup program. All the articles about Windows Installer
2.0 is the
> best way to install your assembly into GAC but I haven't found one shows > what exactly I need to do differently in my VS.NET setup project in

order
> for it to stick the assembly into GAC.
>
> Bob
>
>



Nov 18 '05 #5

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

Similar topics

1
by: santhosh_176 | last post by:
:I Created a Pocket PC application for iPAQ 5450. Every thing went fine even installer creation. I could run the setup and install it into the actual device and worked fine. The application enables...
0
by: deploying visual basic .net application | last post by:
Hi There, I'm trying to create a setup for a Windows application to install my application I developed using Visual basic .net. I'm using Visual Studio .net Professional. When I use the Set up...
2
by: umilmi81 | last post by:
I am having a problem creating an ASP.NET application in Visual Studio.NET 2003, installed on Windows XP Professional I get a message stating that I do not have ASP.NET 1.1 installed, so I can not...
4
by: I_AM_DON_AND_YOU? | last post by:
Hi Cor: You have given a very good suggestion that I can directly reference the "Program Files" Folder. Actually my vb.net program reads/write a notepad file record.txt. For example, the name...
2
by: ValK | last post by:
Hello All. I have a windows service, that monitors file directory. Now I'm trying to create custom install wizard for this service. I added projectinstaller class to my application, where I...
0
by: shanthsp2002 | last post by:
well friends i have a small tip here which may be helpfull for u there may be situations where we need to use a customized dilogue box while doveloping setup and dyployment project, so u can do...
2
by: =?Utf-8?B?VHJhY2tz?= | last post by:
When I run my setup of a vb.net app made in VS2005 and setup made with the setup wizard and then modified in the ide, The .net 2 setup runs and installs and then asks to reboot. If you answer ok...
6
by: Pep | last post by:
Firstly, I'm not sure if this is the right group for this query, so please forgive me if I am wrong. My problem is that most users I distribute my software to cannot install it on their systems...
1
by: =?Utf-8?B?Qi4gQ2hlcm5pY2s=?= | last post by:
I am reviewing Windows service programming. I'm running VS2005 and programming in VB. I've just found an example in Support: 'How to create a Setup project for a Windows Service in Visual Basic...
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: 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
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
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.