473,406 Members | 2,356 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,406 software developers and data experts.

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 1669
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******@discussions.microsoft.com> wrote in message
news:25**********************************@microsof t.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******@discussions.microsoft.com> wrote in message
news:25**********************************@microsof t.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
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...
4
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...
2
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...
5
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. ...
3
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...
0
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...
7
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...
0
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...
3
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
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
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,...
0
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,...
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
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...
0
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...

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.