472,333 Members | 1,137 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,333 software developers and data experts.

Install / Uninstall Applications

VJ
I am deploying a Package having applications developed using VB.NET and
VS.NET 2003. I am using the Packaging feature provided with the
VisualStudio. I can use the package to creates shortcuts for all my
application executables. Now to Uninstall this package I have to make the
user go to Add/Remove programs everytime. The users are requesting that if
they can have a uninstall option as part of the application menus... How do
I provide this?

Thanks
VJ
Nov 20 '05 #1
9 6126
this is like commiting suicide. You can't delete the program files, from
inside the application, they are locked
What you need to do is to trigger the Application Add/Remove Applet (in
control panel) and then immediately shell out ot the
program so it can delete the files.

jc
"VJ" <vi********@yahoo.com> wrote in message
news:u8**************@tk2msftngp13.phx.gbl...
I am deploying a Package having applications developed using VB.NET and
VS.NET 2003. I am using the Packaging feature provided with the
VisualStudio. I can use the package to creates shortcuts for all my
application executables. Now to Uninstall this package I have to make the
user go to Add/Remove programs everytime. The users are requesting that if
they can have a uninstall option as part of the application menus... How do I provide this?

Thanks
VJ

Nov 20 '05 #2
* "VJ" <vi********@yahoo.com> scripsit:
I am deploying a Package having applications developed using VB.NET and
VS.NET 2003. I am using the Packaging feature provided with the
VisualStudio. I can use the package to creates shortcuts for all my
application executables. Now to Uninstall this package I have to make the
user go to Add/Remove programs everytime. The users are requesting that if
they can have a uninstall option as part of the application menus... How do


I /would not/ provide that, even if users like that.
Installation/Uninstallation should be done via the corresponding control
panel. I don't understand why users are not able to open this panel...

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #3
VJ
Oh Ohh.. no no, sorry I think my question was misleading... I want to
provide a uninstall option as Part of Application Menu Like below,
Start -> Programs - MyPackage -> App1
-> App2
-> Uninstall My
Package

Hope I am clear this time

VJ

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:bu************@ID-208219.news.uni-berlin.de...
* "VJ" <vi********@yahoo.com> scripsit:
I am deploying a Package having applications developed using VB.NET and
VS.NET 2003. I am using the Packaging feature provided with the
VisualStudio. I can use the package to creates shortcuts for all my
application executables. Now to Uninstall this package I have to make the user go to Add/Remove programs everytime. The users are requesting that if they can have a uninstall option as part of the application menus... How
do
I /would not/ provide that, even if users like that.
Installation/Uninstallation should be done via the corresponding control
panel. I don't understand why users are not able to open this panel...

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>

Nov 20 '05 #4
VJ
can any one help me with this?

Oh Ohh.. no no, sorry I think my question was misleading... I want to
provide a uninstall option as Part of Application Menu Like below,
Start -> Programs - MyPackage -> App1
-> App2
-> Uninstall My
Package

Hope I am clear this time

VJ
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:bu************@ID-208219.news.uni-berlin.de...
* "VJ" <vi********@yahoo.com> scripsit:
I am deploying a Package having applications developed using VB.NET and VS.NET 2003. I am using the Packaging feature provided with the
VisualStudio. I can use the package to creates shortcuts for all my
application executables. Now to Uninstall this package I have to make the user go to Add/Remove programs everytime. The users are requesting
that
if they can have a uninstall option as part of the application menus...
How do

I /would not/ provide that, even if users like that.
Installation/Uninstallation should be done via the corresponding control
panel. I don't understand why users are not able to open this panel...

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>


Nov 20 '05 #5
* "VJ" <vi********@yahoo.com> scripsit:
can any one help me with this?

Oh Ohh.. no no, sorry I think my question was misleading... I want to
provide a uninstall option as Part of Application Menu Like below,
Start -> Programs - MyPackage -> App1
-> App2
-> Uninstall My


That's how I understood it...

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #6
Herfried -

As a new programmer, I'd like to ask for some clarification
on the pros/cons of providing an app-specific uninstall versus
using Control Panel. Are there things happening "behind the
scenes" with CP? Or, is it to maintain a consistent method
cross-application? TIA

VJ wrote:
can any one help me with this?

Oh Ohh.. no no, sorry I think my question was misleading... I want to provide a uninstall option as Part of Application Menu Like below,
Start -> Programs - MyPackage -> App1
-> App2
-> Uninstall My Package

Hope I am clear this time

VJ
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in
message news:bu************@ID-208219.news.uni-berlin.de...
* "VJ" <vi********@yahoo.com> scripsit: [snip] Installation/Uninstallation should be done via the corresponding
control panel.

[snip]
Nov 20 '05 #7
* "Patrick Pirtle" <pap at skilling dot com> scripsit:
As a new programmer, I'd like to ask for some clarification
on the pros/cons of providing an app-specific uninstall versus
using Control Panel. Are there things happening "behind the
scenes" with CP? Or, is it to maintain a consistent method
cross-application? TIA


IMO it's recommended to avoid such a shortcut for consistency between
all applications /and/ to make installing/uninstalling applications
easier by providing one central place for installing/uninstalling.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #8
Consistency is a GOOD thing. Thanks for your
advice.

Herfried K. Wagner [MVP] wrote:
* "Patrick Pirtle" <pap at skilling dot com> scripsit:
As a new programmer, I'd like to ask for some clarification
on the pros/cons of providing an app-specific uninstall versus
using Control Panel. Are there things happening "behind the
scenes" with CP? Or, is it to maintain a consistent method
cross-application? TIA
IMO it's recommended to avoid such a shortcut for consistency

between all applications /and/ to make installing/uninstalling applications
easier by providing one central place for installing/uninstalling.

Nov 20 '05 #9
Arguments of consistency of discovery aside, if you still want the
Uninstall in your Start menu, then here are some steps you can use to make
it work...
1. In your setup project's directory, create a new uninstall.bat file.
2. In your Setup project, copy the ProductCode property (something like
[12345678-1234-1234-1234-123412341234]
3. Edit the uninstall.bat so that it has one line that says:
Msiexec /x [insert product code here]
4. Add the uninstall.bat to your setup project's application folder.
5. Right-click on the uninstall.bat to create a shortcut, and then put it
in the Start menu folder you want it in (in the setup project).
6. Rename the Shortcut to something like "Uninstall MyApplication"

That should do it.

This will uninstall the applicatoin using the same mechanism as Add/Remove
programs
---
David Guyer - VBQA Deployment Testing
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: "VJ" <vi********@yahoo.com>
Subject: Install / Uninstall Applications
Date: Mon, 19 Jan 2004 15:48:10 -0600
Lines: 12
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <u8**************@tk2msftngp13.phx.gbl>
Newsgroups: microsoft.public.dotnet.languages.vb
NNTP-Posting-Host: adsl-68-90-217-174.dsl.rcsntx.swbell.net 68.90.217.174
Path: cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTN GP08.phx.gbl!tk2msftngp13.
phx.gblXref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.languages.vb:174269
X-Tomcat-NG: microsoft.public.dotnet.languages.vb

I am deploying a Package having applications developed using VB.NET and
VS.NET 2003. I am using the Packaging feature provided with the
VisualStudio. I can use the package to creates shortcuts for all my
application executables. Now to Uninstall this package I have to make the
user go to Add/Remove programs everytime. The users are requesting that if
they can have a uninstall option as part of the application menus... How do
I provide this?

Thanks
VJ


Nov 20 '05 #10

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

Similar topics

3
by: CMan | last post by:
Hi, We are currently trying to install .Net Framework v.1.1 on a server which already has v1.0. We are receiving the following error. Error...
3
by: Analyst | last post by:
Is it possible to install DB2 CAE v5.2 using a response file ? From one of IBMs tech article, I found that the IBM DB2 Universal DB can be...
3
by: Jeremy S. | last post by:
On my dev machine (XP/Pro with VS.NET 2003) I have been developing a Windows Service and installing it on the local machine by opening the Visual...
2
by: vbmark | last post by:
I get the following message box: Visual Basic 2005 Express Edition Beta 2- ENU Setup =================================================== ...
5
by: seberino | last post by:
It appears that apps distributed as Python Eggs are either a single compressed blob in site-packages directory or a directory under site-packages...
0
by: Nattydreadlock | last post by:
Hello, I'm having some problems installing Visual Studio 2005. I'll briefly explain what's the history of the problem here. First I installed...
5
by: Curious | last post by:
I installed a service program. It contained executables in the form of .exe and .dll files. And the service was started automatically after the...
2
by: =?Utf-8?B?ZnJlZGR5?= | last post by:
I would like to uninstall app form both local and remote computers without the user knowing what is going on. I have admin right to all the...
0
by: JDeats | last post by:
I have a new Installer class (derived from System.Configuration.Install.Installer) and I have override methods for Install, Uninstall, Commit. The...
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
better678
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: CD Tom | last post by:
This only shows up in access runtime. When a user select a report from my report menu when they close the report they get a menu I've called Add-ins...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, 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.