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 4 2629
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*******@yaho o.com> wrote in message
news:eT******** ******@TK2MSFTN GP11.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
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*****@somewh ere.com> wrote in message
news:O2******** *****@TK2MSFTNG P10.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*******@yaho o.com> wrote in message news:eT******** ******@TK2MSFTN GP11.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
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*******@yaho o.com> wrote in message
news:%2******** **********@TK2M SFTNGP09.phx.gb l... 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*****@somewh ere.com> wrote in message news:O2******** *****@TK2MSFTNG P10.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*******@yaho o.com> wrote in message news:eT******** ******@TK2MSFTN GP11.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
Someone else told me to set the RemovePreviousV ersions 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*****@somewh ere.com> wrote in message
news:ep******** ******@TK2MSFTN GP11.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*******@yaho o.com> wrote in message news:%2******** **********@TK2M SFTNGP09.phx.gb l... 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*****@somewh ere.com> wrote in message news:O2******** *****@TK2MSFTNG P10.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*******@yaho o.com> wrote in message news:eT******** ******@TK2MSFTN GP11.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 > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 syncronization with remote
database using merge replication.
I found contradictory results while installing the application. I will
mention here all the steps that I done while creating and installing setups.
Result: Case 1: worked fine. ...
|
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 wizard. I only have 4 steps, when I look
at exaple to create a setup file I find I should have 5 steps. One step Step
3 of 5 is missing in my steps ( Choose project outputs to Include. I don't
have this step in my wizard. I am not sure why. I went...
|
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 create web applications
I downloaded the update that is supposed to install ASP.NET 1.1, but I'm still getting the message
My research leads me to understand that VS.NET 2003 wont allow users to create web applications on anything "less" than...
|
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 of my program is MYPROGRAM and I am
presuming that it would be installed in the "MYPROGRAM" folder of "Program
Files". Therefore I can reference record.txt file in my code as
path =...
|
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 specified properties like
ServiceName, DisplayName and so on.
What I like to do, is to add one more dialog screen with the test box and
"Browse" button to the installation wizard and provide user with the ability
to select/change service monitoring...
| |
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 that simply by using custom actions .
1st create setup and deployment project...
add->new project->windows application name it ReadmeDilogue
now customize Form as per ur requirement
now again
|
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 then the reboot happens and when
the system comes back it says it cant find the setup1.msi file (my setup) and
so wont continue and install my app.
So how do I make it find setup1.msi and continue the setup after reboot (to
setup my app) or even...
|
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 due to not having the correct
administrator rights. I'm perplexed over this as I cannot reasonably
ask corporations to allow the local secretary to have admin or power
user rights just to install my software.
My software is intended for user...
|
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 .NET or in Visual Basic
2005'
http://support.microsoft.com/kb/317421
I've been able to program and run this example without problems.
However, I wonder if I'm missing the point here. How do you deploy a
service like this to a machine...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| | |