473,765 Members | 2,015 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem With Application Uninstall

I am developing a Windows application using VS2005 Pro (VB). The solution
includes a setup project. I sent the setup files to a tester and he installed
and used the program successfully. I then sent him a new install package with
some updates but after he did the uninstall via Add/Remove Programs and then
runs the new install package it complains that the program is already
installed? How can I completely uninstall the previous version.

BTW - in scanning earlier posts on the topic I see references to changing
the Product Code but in looking through properties on my setup project I
don't see a way to view or change the product code?

Apr 2 '06 #1
2 1691
This is very odd. If you uninstall the previous version the new version
should not give you any problem on install. That has been my experience. I'm
wondering if some kind of error occurred during the install or uninstall,
perhaps as a result of a permissions issue.
BTW - in scanning earlier posts on the topic I see references to changing
the Product Code but in looking through properties on my setup project I
don't see a way to view or change the product code?
This can be useful if you want to allow a new version to uninstall any
previous version automatically on install, which can be quite a nice feature
for the end user. It can be done in the Setup project's Properties window.
If you click on the box with the GUID in it, you will see an ellipse button
that allows you to edit the GUID. But the better (and recommended) way is to
increment the Setup version in the Properties window. You will be prompted
and asked if you want the Product Code automatically changed for you. If you
say "yes" it will be.

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Numbskull

Show me your certification without works,
and I'll show my certification
*by* my works.

"WWengert" <WW******@discu ssions.microsof t.com> wrote in message
news:25******** *************** ***********@mic rosoft.com...I am developing a Windows application using VS2005 Pro (VB). The solution
includes a setup project. I sent the setup files to a tester and he
installed
and used the program successfully. I then sent him a new install package
with
some updates but after he did the uninstall via Add/Remove Programs and
then
runs the new install package it complains that the program is already
installed? How can I completely uninstall the previous version.

BTW - in scanning earlier posts on the topic I see references to changing
the Product Code but in looking through properties on my setup project I
don't see a way to view or change the product code?

Apr 2 '06 #2
Thanks for the response Kevin. I finally figured out the difference between
clicking on the Property tab with the setup project selected and right
clicking on the setup project and selecting properties (confusing interfaces
there). I did change the version there and saw that it generated a new code.

I agree that the inability to fully uninstall is strange. The tester is very
knowledgable and I am confident he would have reported any anomilies in the
uninstall. Weird?

Wayne

"Kevin Spencer" wrote:
This is very odd. If you uninstall the previous version the new version
should not give you any problem on install. That has been my experience. I'm
wondering if some kind of error occurred during the install or uninstall,
perhaps as a result of a permissions issue.
BTW - in scanning earlier posts on the topic I see references to changing
the Product Code but in looking through properties on my setup project I
don't see a way to view or change the product code?


This can be useful if you want to allow a new version to uninstall any
previous version automatically on install, which can be quite a nice feature
for the end user. It can be done in the Setup project's Properties window.
If you click on the box with the GUID in it, you will see an ellipse button
that allows you to edit the GUID. But the better (and recommended) way is to
increment the Setup version in the Properties window. You will be prompted
and asked if you want the Product Code automatically changed for you. If you
say "yes" it will be.

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Numbskull

Show me your certification without works,
and I'll show my certification
*by* my works.

"WWengert" <WW******@discu ssions.microsof t.com> wrote in message
news:25******** *************** ***********@mic rosoft.com...
I am developing a Windows application using VS2005 Pro (VB). The solution
includes a setup project. I sent the setup files to a tester and he
installed
and used the program successfully. I then sent him a new install package
with
some updates but after he did the uninstall via Add/Remove Programs and
then
runs the new install package it complains that the program is already
installed? How can I completely uninstall the previous version.

BTW - in scanning earlier posts on the topic I see references to changing
the Product Code but in looking through properties on my setup project I
don't see a way to view or change the product code?


Apr 2 '06 #3

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

Similar topics

3
2057
by: Rob Brown | last post by:
I put together an installation program and it works great the first time. The problem I have is that we want the users to be able to rerun the installation without needing to uninstall the older package first. How can I set up the package to overlay the existing installation without forcing the user to run an uninstall first? Thanks, Rob Brown
4
438
by: Steve House | last post by:
I'm running VS.Net 2003 on an XP system with the most recent MSDN library integrated into it. When you do a search in the help, only "a"'s appear in the search results title column as a column 1 character wide, with nothing appearing in the rank or location columns (this is in the VS.Net window). Double clicking on any row will bring up an article resulting from the search, with the problem of not knowing what the article is until you...
2
1619
by: Mark | last post by:
Hello All, I have recently developed a small application with VB.net. What I wish to do is to add an uninstaller to the application that the user can use to uninstall my application instead of having to use the windows control panel. Can someone please show me how to do this iin VB.net? Thanks, Mark
5
2691
by: George | last post by:
VB.net 2003 standard, XP windows home edition. Installed first application OK today. When I removed the application via Control Panel, there were no problems and the app folders were deleted. But when I installed the app from a CD-ROM (Release folder is in D:), when I remove the app in Control Panel these problems occur: Control Panel does not delete the application folders. When I try to delete them I get message "Cannot delete file:...
3
2975
by: Henry Seymour | last post by:
I've developed a .Net Windows Form application and used the Click-Once Deployment. In that application I would like to allow the user a click-once method of uninstalling it. I do not find an uninstall folder for this application. How can I programmatically uninstall the application? Perferred language is Visual Basic.
0
1556
by: Waldy | last post by:
Hi there, I have written a C# service that self installs by running the ..exe with a parameter. A log is produced when it does this. At a customer site where they have had to re-install, they are getting an error. See the log file below. It fails because the name already exists, but then fails to uninstall because it does not exist! Eh??? There is no service with that name in the Services applet. Running a transacted installation.
7
2285
by: gngui | last post by:
Hi, I am using the Microsoft Office Access 2003 Developer Extensions to package a Ms Access application. After packaging & running setup, the installation works & is completed OK. The problem is with uninstalling. If I install the package to the default folder i.e \program files\"my package"\, the uninstall works fine & deletes the folder "my package" with all its contents. If i install the package in a non default folder e.g. \"my package"\,...
0
3300
by: coopdog | last post by:
This is a new issue as of an install to sp1 on vb express 2005. When I publish the application to my drive then I try to install it is wants to be installed from the same location as it was originally install. Any help would be great it is a real pain having to uninstall then install this update. Also all users are admins. Thanks Mike
3
8095
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgRGVzYXJyb2xsbw==?= | last post by:
Hi anyone, I have installed a winforms application vs 2005. It appears in Control Panel -Add / Remove Programs. I have another application .NET and I want uninstall the application installed programatically using only the name of application that appears in Control Panel -Add /Remove Programas (the product name). Is it possible ?? Any suggestion about it ? Anyone has any ideas ?
0
9568
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
10156
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, 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...
1
9951
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
9832
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
7375
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
6649
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();...
0
5419
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3924
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2805
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.