473,748 Members | 2,410 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 6346
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********@yah oo.com> wrote in message
news:u8******** ******@tk2msftn gp13.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********@yah oo.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********@yah oo.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********@yah oo.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********@yah oo.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********@yah oo.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********@yah oo.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.publi c.dotnet.langua ges.vb
NNTP-Posting-Host: adsl-68-90-217-174.dsl.rcsntx. swbell.net 68.90.217.174
Path: cpmsftngxa07.ph x.gbl!cpmsftngx a06.phx.gbl!TK2 MSFTNGP08.phx.g bl!tk2msftngp13 .
phx.gblXref: cpmsftngxa07.ph x.gbl microsoft.publi c.dotnet.langua ges.vb:174269
X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.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
20680
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 1704.An installation for Microsoft .NET Framework SDK (English) is currently suspended. You must undo the changes made by that installation to continue. Do you want to undo those changes?
3
3903
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 installed using a response file. My objective it to install and uninstall DB2 CAE v5.2 without user input like navigating through the wizard. Any help, suggestion are welcome. Cheers.
3
56999
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 Studio Command Prompt and then executing . Now I want to test this service on a Windows Server 2003 box that doesn't have the Visual Studio Command prompt. How do I go about installing the service on the Windows Server 2003 box? Thanks!
2
1573
by: vbmark | last post by:
I get the following message box: Visual Basic 2005 Express Edition Beta 2- ENU Setup =================================================== Setup has detected that previous versions of the following product(s) are currently installed. Uninstall these applications before continuing with Setup. For more information, see the readme.htm file. This file can be
5
2182
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 directory. Is this ALWAYS true? So by just erasing stuff under site-packages I can do a COMPLETE uninstallation of an Egg? Chris
0
2414
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 VS 2005 beta 2. I uninstalled it later via the Windows Uninstall Tool you can download. Then I installed Visual Studio 2005 Team Edition ENU. This was a trial version for 180 days.
5
1674
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 install. Then, I UN-installed the program, but the service didn't get cleared from the "Service" panel. How can I delete this "service" from the "Services" panel?
2
2788
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 computers so this is not a problem. Can this be done? Thanks Freddy
0
2315
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 MSI builder tool I'm using is Advanced Installer, the resulting MSI successfully executes the code inside my Installer classe Install and Uninstall methods... My problem is distinguishing a patch from a fresh install and following a different execution path in my Installer class depending on...
0
8991
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, 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...
0
9376
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 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...
1
9326
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9249
tracyyun
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...
1
6796
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4607
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4877
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2787
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2215
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.