473,738 Members | 9,555 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to setup 'uninstall' ??

I can deploy the program very well, However, Everything i want to
re-install.
I need to remove it in Control Panel , and then start install,
Can I include(uninsta ll) function during my deployment ???
THnaks
Nov 21 '05 #1
2 4442
The way that I do my uninstall stuff is that I created a .bat file with
the following line:

"<windows system dir>\MsiExec.ex e /I{<productCode (found in .net>}"

the <windows system dir> for windows xp for example is
'c:\windows\sys tem32', that could be different for win98 and nt though.
the productCode (the curly brackets {} are a must) is found in .NET
when you click on your deployment project it is shown in the properties
window.

I put the uninstall shortcut on the users start menu with the actual
program. Hope that helps.

Nov 21 '05 #2
Take a look at my program uninstaller program, which will then point you in
the right direction:

http://www.gotdotnet.com/Community/U...9-c59de27ae5b6

"Not Aaron" wrote:
The way that I do my uninstall stuff is that I created a .bat file with
the following line:

"<windows system dir>\MsiExec.ex e /I{<productCode (found in .net>}"

the <windows system dir> for windows xp for example is
'c:\windows\sys tem32', that could be different for win98 and nt though.
the productCode (the curly brackets {} are a must) is found in .NET
when you click on your deployment project it is shown in the properties
window.

I put the uninstall shortcut on the users start menu with the actual
program. Hope that helps.

Nov 21 '05 #3

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

Similar topics

8
3245
by: Alia Khouri | last post by:
If the cannonical way to install a python app is python setup.py install one would expect the following to uninstall it python setup.py uninstall However, distutils doesn't automatically take care of that for you.
4
2630
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 understanding on how to create a setup program. All the articles about Windows Installer 2.0 is the best way to install your assembly into GAC but I haven't found one shows what exactly I need to do differently in my VS.NET setup project in order...
5
2687
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:...
2
1785
by: karthikeyan.rsm | last post by:
Hi i some queries in teh setup and deployment package. Currently i have developed a project and i have created a setup for this project in the same solution. My queries are as follows 1. In this project, the setup should automatically detect if the target machine has .net framework or not and should ask the user if heeds to install the .net framework. 2. This project also needs install a third party component and this
5
6467
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 http://www.ww2airborne.net/
0
2104
by: JM | last post by:
Hi Everybody, I have created a setup project in Visual Studio .NET 2005. The setup is for Windows application. It works fine but I am unable to do somethings is this: 1. The setup uses couple of files and dlls. There are 2 files: one is help.xml file and other is help.chm file. Both have same properties in setup project. But after uninstall, help.chm file is removed from the install directory but help.xml remains there.
1
2019
by: Des Norton | last post by:
Hi NG I have successfully created a setup package for my Windows application. To uninstall the app, a user has to go to control panel --Add/Remove Programs. This effectively calls MsiExec.exe /I{ApplicationGUID}. I would like to add an Uninstall Application shortcut to the setup package to be placed in the "User's Programs Menu" group along with the shortcut to launch the application.
0
1655
by: StefanPienaar | last post by:
Hi I'm getting some really weird and unexpected behaviour when I build a setup project in Visual Studio 2005 containing an application I wrote. The installation runs fine and the application work 100%, BUT... As soon as the original setup files (the setup.exe and setup.msi) are delete or no longer available (Cd is ejected) the application refuses to run. It also does not want to uninstall using the Add/Remove dialog in the control panel as...
1
2540
by: =?Utf-8?B?Qi4gQ2hlcm5pY2s=?= | last post by:
I am reviewing Windows service programming. I'm running VS2005 and programming in VB. I've just found an example in Support: 'How to create a Setup project for a Windows Service in Visual Basic .NET or in Visual Basic 2005' http://support.microsoft.com/kb/317421 I've been able to program and run this example without problems. However, I wonder if I'm missing the point here. How do you deploy a service like this to a machine...
1
2001
by: romcab | last post by:
Hi guys, Just want to ask your idea on how to add "uninstall" in my setup project. I do have a working a installer but the uninstall part is not yet working. I saw some code which uses script file but I'm not sure if it will work. Aside from that, I think there's a better alternative since the custom install contain uninstall folder. Hope you can give share your ideas. Thanks,
0
8969
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
8788
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9335
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
9263
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
8210
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6751
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
6053
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();...
2
2745
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2193
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.