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

VB2005 - Setup Project => Add an uninstall icon in 'All Programs' ?

Hi ,

not much trouble in making a setup project, but I'd like also an icon in All
Programs
to uninstall the application. I can't find a good explanation on the net so
far...

--
Filip
http://www.ww2airborne.net/
Official Site of the 101st Airborne - 463rd PFA
skype: airborne463pfa-fiwi

P.S. Sorry I multiposted also in microsoft.public.dotnet.languages.vb, but I
didn't get an answer from anybody...
so I thoughtabout trying it here as well... :-/
Oct 4 '06 #1
5 6450
Hi,

Take a look at the following link; The /x switch in particular might be of interest to you:

Msiexec command line options on MSDN:
http://msdn.microsoft.com/library/de...ne_options.asp

You can obtain the product code for your setup project by selecting the project node in Solution Explorer and locating the
ProductCode row in the property window.

1. Try creating a batch file that executes the msiexec program with the appropriate command line arguments to uninstall your
application.
2. Add the batch file to the installer under the Application Folder in the File System Editor.
3. Create a shortcut to the batch file:
A. Browse to your application's folder under Programs Menu, or wherever you would like the shortcut to exist
B. Right mouse click the empty area of the File System Editor and select Create Shortcut; Browse to batch file.

Please let us know if that works for you.

--
Dave Sexton

" Screaming Eagles 101" <se*********@online.pleasewrote in message news:B7******************************@scarlet.biz. ..
Hi ,

not much trouble in making a setup project, but I'd like also an icon in All
Programs
to uninstall the application. I can't find a good explanation on the net so
far...

--
Filip
http://www.ww2airborne.net/
Official Site of the 101st Airborne - 463rd PFA
skype: airborne463pfa-fiwi

P.S. Sorry I multiposted also in microsoft.public.dotnet.languages.vb, but I didn't get an answer from anybody...
so I thoughtabout trying it here as well... :-/

Oct 5 '06 #2
"Dave Sexton" <dave@jwa[remove.this]online.comschreef in bericht
news:e6**************@TK2MSFTNGP03.phx.gbl...
Hi,

Take a look at the following link; The /x switch in particular might be
of interest to you:

Msiexec command line options on MSDN:
http://msdn.microsoft.com/library/de...ne_options.asp

You can obtain the product code for your setup project by selecting the
project node in Solution Explorer and locating the ProductCode row in the
property window.

1. Try creating a batch file that executes the msiexec program with the
appropriate command line arguments to uninstall your application.
2. Add the batch file to the installer under the Application Folder in the
File System Editor.
3. Create a shortcut to the batch file:
A. Browse to your application's folder under Programs Menu, or wherever
you would like the shortcut to exist
B. Right mouse click the empty area of the File System Editor and
select Create Shortcut; Browse to batch file.

Please let us know if that works for you.

--
Dave Sexton

" Screaming Eagles 101" <se*********@online.pleasewrote in message
news:B7******************************@scarlet.biz. ..
<<cut>>
>
Thanks,

this seems to work fine, except for the command window executing the bat
file, so for a start I minimised it at start-up. By adding START in the BAT
file
just before the MSIEXEC command
syntax, and an EXIT on the 2nd command line behind that,
the command window opens only for a sec (in the taskbar only), which is
acceptable...
Thanks
--
Filip
http://www.ww2airborne.net/
Official Site of the 101st Airborne - 463rd PFA
skype: airborne463pfa-fiwi
-------------------------------------------------

Oct 5 '06 #3
Hi,

START was a good idea. Thanks for the follow-up.

I know you said the window flashing in the task bar is acceptable, but if you really don't like it you could always put together a
small .NET program to do the trick without any interface. Just make a WinForms project and don't show any forms.

HTH

--
Dave Sexton

" Screaming Eagles 101" <se*********@online.pleasewrote in message news:Q4********************@scarlet.biz...
"Dave Sexton" <dave@jwa[remove.this]online.comschreef in bericht
news:e6**************@TK2MSFTNGP03.phx.gbl...
>Hi,

Take a look at the following link; The /x switch in particular might be
of interest to you:

Msiexec command line options on MSDN:
http://msdn.microsoft.com/library/de...ne_options.asp

You can obtain the product code for your setup project by selecting the
project node in Solution Explorer and locating the ProductCode row in the
property window.

1. Try creating a batch file that executes the msiexec program with the
appropriate command line arguments to uninstall your application.
2. Add the batch file to the installer under the Application Folder in the
File System Editor.
3. Create a shortcut to the batch file:
A. Browse to your application's folder under Programs Menu, or wherever
you would like the shortcut to exist
B. Right mouse click the empty area of the File System Editor and
select Create Shortcut; Browse to batch file.

Please let us know if that works for you.

--
Dave Sexton

" Screaming Eagles 101" <se*********@online.pleasewrote in message
news:B7******************************@scarlet.biz ...
<<cut>>
>>
Thanks,

this seems to work fine, except for the command window executing the bat
file, so for a start I minimised it at start-up. By adding START in the BAT file
just before the MSIEXEC command
syntax, and an EXIT on the 2nd command line behind that,
the command window opens only for a sec (in the taskbar only), which is acceptable...
Thanks
--
Filip
http://www.ww2airborne.net/
Official Site of the 101st Airborne - 463rd PFA
skype: airborne463pfa-fiwi
-------------------------------------------------

Oct 5 '06 #4

"Dave Sexton" <dave@jwa[remove.this]online.comschreef in bericht
news:ev**************@TK2MSFTNGP06.phx.gbl...
Hi,

START was a good idea. Thanks for the follow-up.

I know you said the window flashing in the task bar is acceptable, but if
you really don't like it you could always put together a small .NET
program to do the trick without any interface. Just make a WinForms
project and don't show any forms.

HTH

--
Dave Sexton

That's an excellent idea.
In VB6 it's done with WinExec I think (to start another application), but I
didn't make anything like it in .net just yet, but I 'm confident I'll find
that line of code easily on the net, won't be much trouble.
Thanks for the idea !
--
Filip
http://www.ww2airborne.net/
Official Site of the 101st Airborne - 463rd PFA
skype: airborne463pfa-fiwi
-------------------------------------------------
Oct 6 '06 #5
" Screaming Eagles 101" <se*********@online.pleaseschreef in bericht
news:Kb******************************@scarlet.biz. ..
>
"Dave Sexton" <dave@jwa[remove.this]online.comschreef in bericht
news:ev**************@TK2MSFTNGP06.phx.gbl...
>Hi,

START was a good idea. Thanks for the follow-up.

I know you said the window flashing in the task bar is acceptable, but if
you really don't like it you could always put together a small .NET
program to do the trick without any interface. Just make a WinForms
project and don't show any forms.

HTH

--
Dave Sexton


That's an excellent idea.
In VB6 it's done with WinExec I think (to start another application), but
I didn't make anything like it in .net just yet, but I 'm confident I'll
find
that line of code easily on the net, won't be much trouble.
Thanks for the idea !
--
Filip
http://www.ww2airborne.net/
Official Site of the 101st Airborne - 463rd PFA
skype: airborne463pfa-fiwi
-------------------------------------------------
FOUND : -)
System.Diagnostics.Process.Start("C:\WINDOWS\syste m32\CALC.EXE")
Oct 6 '06 #6

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

Similar topics

1
by: Tom | last post by:
I created an msi using the Setup Wizard, but don't seem to be able to create a shortcut to the applicaton on the desktop (or prompt for one) or the menu. Also, I would like to add an "uninstall"...
4
by: Bob | last post by:
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...
5
by: Fred Nelson | last post by:
Hi: I've written a really cool VB.NET application that I want to install on the many computers in my company (all located behind a firewall) so I'm trying to create a Setup and Deployment...
2
by: Brian | last post by:
when creating an installer for your solution, how can you make it create an entry on the programs listing or a desktop icon? Thanks, Brian
3
by: Michael D. Murphy | last post by:
Hi, I am searching for a way to creat desktop shortcuts when running the setup files that were created within a VB solution using the setup wizard. Thanks, Michael
0
by: mstoler | last post by:
Hello, I created a setup and deployment project in VS2005 and vb. When I look at my project in the control panel, add/remove programs a generic icon is displayed. How can I specify my...
0
by: Screaming Eagles 101 | last post by:
Hi , not much trouble in making a setup project, but I'd like also an icon in All Programs to uninstall the application. I can't find a good explanation on the net so far... -- Filip...
4
by: =?Utf-8?B?R2F1cmF2?= | last post by:
Hello... I posted this a couple of weeks back, but could't get a reply, so trying again! I use the Setup project in C# to create a .msi file to be distributed to the clients. The size of...
3
by: sanghavi | last post by:
how to create a set up project in vb.net..how to run an application on a different machine
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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...
0
agi2029
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,...
0
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...

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.