Add Program To Add / Uninstall List?
Dec 14, 2010How can i add a program to the add/uninstall program list? using vb.net
View 2 RepliesHow can i add a program to the add/uninstall program list? using vb.net
View 2 RepliesHave a VB.net application that installs initially from CD and then when the user gets into the internet the application updates. In order to better support problems with this application is has been suggested in the past to uninstall it and do a fresh re-install. However, in investigation it was determined that the uninstall does not consider all installed objects and does not uninstall the CD install.Can the uninstall functionality be modified to catch the other instances of this application and also uninstall them?
View 11 RepliesI'm looking for any references on the best way to perform an unattended uninstall of a product using VB.NET. The product was installed using Windows Installer and the product name is Dell Kace Agent. I would like to perform the uninstall within the VB.NET code.Here's a VBScript that uninstalls a product using WMIC. This could be converted to VB.NET fairly easily, but is there a better way to perform a uninstall within VB.NET code than querying WMIC? I would rather not use WMIC to perform the uninstall maybe get the uninstall string from the registry?
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\" _
[code].....
I've taken MS 4994A (Intro to VB.net), and am studying for 4995A (Advanced Intro to VB.net)Previous experience with VB6 and C++ tells me that the way to do it would be to create a program that will accept a list of computer names and check the registry one-by-one (I'm open to suggestions, though, of course). If it finds the program we're wanting to remove, it will remove it, then automagically install .net 2.0 and the .net version of the programs that were just removed.
View 1 RepliesIf there is any way to uninstall program or uninstall program from add/remove using vb.net codes?
View 4 Replieshow to add the Uninstall option in the Start--> Programs, during setup and deployment of an application?
View 4 RepliesWe are currently changing our Antivirus program which involves uninstalling our current one first. That isn't a problem but we have several laptop users not in the building who might have a problem uninstalling programs.
It should be possible to write a script/program to automate the uninstall process I guess, but don't know where to start. Can someone point me in the right direction?
I am looking for a way to uninstall one Vb application from another.It just needs to run the uninstall you would find in add and remove programs.
View 8 RepliesI have a program that will compare an array of grocery list items glist and an array of coupon item clist.When I compare the two and if there is a match somewhere in the array I want to have a picturebox visible.When there is no match, I want the picture box not to be visible. [code] The code seems to work great until I come to the else statement.When the code finds a match it displays the picture box and the msgbox without error, but as soon as the message box is cleared, even though i've input it as an ELSE statement, the picturebox goes false again.Does anyone have any idea of how I can "hold" the picturebox to stay visible while the match between the arrays exists?
View 18 RepliesHow do I add an unistall shortcut. I am using deployment and setup>setup project to deploy.
View 3 RepliesSince installing Windows 7 on one of my test machines my automated uninstaller can not find the uninstall string. My script works on XP just fine. I noticed that the uninstall information is in a different location for Windows 7. it is in Wow6432NodeMicrosoft... is there a constant I can use that will allow my script find the correct uninstall location on both Windows 7 and Windows XP?
View 2 RepliesMy trial version of VS9 professional just expired and wanted to uninstall it, however upon loading, it goes into debug mode and displays the message;an unhandled win32 exception occurred in setup.exe [3816]If I do go into debug mode, then it loads VS but since my version is already expired, I can't do anything but close it...I can't repair it since I dont have the original installation files (its VS9 professional ENU, and microsoft doesnt have it up for downloads anymore.. but here is a SS of the other programes installed which are related to VS9.[URL]..
View 1 RepliesI have VB6 and i want to install VB.NET 2008 without uninstall VB6. Is possilbe? Can i works correctly both?
View 1 RepliesHow do i uninstall a product with win32_product?
View 1 RepliesI have a project that creates and installs a window service. I want to uninstall it because it is running both on my PC and on another. I want to leave it on the other. So when I open VS with the project, I right-click on the servicesetup and choose uninstall and it says "This action is only valid for products that are currently installed." It is listed in control panel Services, so isn't it installed?
View 5 RepliesI am looking for a way to uninstall an application installed using the MSI Installer.I believe there should be a way out to directly call the Uninstall module specifically for a particular application using VB.Net.How can I achieve this using VB.Net? I am using VB.Net 2005.
View 1 RepliesI have an application that contains an MDB. This application has a feature that will allow the user to update the database to a newer version that is on a thumb drive.The database ispart of the application and is not user-updatable, so it seems as though it should live in the Program Files directory with all the other data files (xml, etc.)However, somehow it found its way into the Virtualstore.Now when I go through my process to update the database via the application when I try to run the application is is re-routed to the old mdb in the virtualstore.
But much worse than that, I found out that the virtualstore for the application survives a reinstall Now to my mind this is a huge bug because one would expect when one uninstalls and re-install an application that would have created a "clean slate" and everything would work correctly. But here I have an instance where the user thinks she has installed a fresh copy of the application but in fact is getting corrupted by old junk in the virtual store from a previous install.
how can i uninstall previous version of my windows applcation which is with different name and location? on installing new versions?
View 3 Replieshow can i unistall previous version of my windows applcation which is with different name and location? on installing new versions?
View 36 RepliesI'm trying to read keys in the HKLM Uninstall section in my attempt to do a software inventory. I tried the WMI, it works but it doesn't show everything. I decided to just read each of the sub keys in the Uninstall section, but it doesn't show everything.
The code works, but it's just not showing some items.
Dim UninstallKey, SubKey As RegistryKey
Dim SubUninstallKeyNames() As String
UninstallKey = RegistryKey.OpenRemoteBaseKey(RegistryHive.LocalMachine, "\" &
[Code]....
Ive created a shell context menu dll using the great example at [url]...
This dll can be included in a vb.net setup project and installs ok but upon uninstall Windows prompts the user to close explorer.exe for the uninstall to complete. If the user clicks ok then the windows GUI is lost and the user either needs to reboot or know how to run task manager and startup another instance of explorer.exe to get their desktop back.
Does anyone know how to go about uninstalling a context menu dll which is currently in use by explorer without ending the explorer.exe process.
I created a myapp setup project and set "RemovePreviousVersions = true". I have to uninstall previous myapp first and then install new one. Is there any any way to create a setup msi file to uninstall and install at the same step?
View 7 Replies(I found no server 2003 forums so i posted here) I have recently been tasked with moving legacy applications (written in VB 6) that have to be migrated from windows server 2K to windows 2003. My superiors tell me that we MUST use MDAC 2.7 because the VB 6 applications are very old and use office 97 (no chance for upgrade because they will break - they will be supplanted by .net applications) Also, if these legacy apps use 2.8 they will break as well.
I know that Windows Server 2003 automatically comes with MDAC 2.8 and there is no way to uninstall it (is there?). But is it possible to install MDAC 2.7 (parallel to 2.8) and force our applications to use the 2.7 version? Or do we have to stick with windows 2k if we HAVE to MDAC 2.7?
I don't know what's got into them but they decided to purchase vs2010 pro licenses in my company. Anyway i gave it a quick look and since i don't need to have it installed right now (service pack 1 first, Microsoft anti-bug law) i uninstalled it. The problem i see is that it leaves leftovers everywhere.C++ redist, ado components, sql r2 components etc. These will not be deleted if i just remove vs2010 but will be installed if i install vs2010 full.Anyway i ended up removing them one by one and it took about 30-45 minutes. So has anyone have done a removal? Is this the case? I cannot remove most of the components with one big uninstall?
View 2 RepliesI want to excute the uninstall command with VB.NET, but want to wait until the uninstall process finished like Control Panel, the Shell command seem not realize it.[code]...
View 6 RepliesI am working visual basic express, when I installed it came with a bunch of programs which are:
Microsoft SQL server2005
Microsoft SQL server2008
Microsoft SQL server Compact
Microsoft SQL Server System
Microsoft visual c++ redistributable 2005
Microsoft visual c++ redistributable 2008
Microsoft visual c++ redistributable 2008
Microsoft visual c++ redistributable 2008
visual studio 2010 ADO.net entity framework tools
MSXML 4.0 SP2
MSXML 4.0 SP2
Since then my PC became heavy and slow, I want to some of the programs but I am afraid that vb express won't function properly. Can someone tell me which program can be removed without problems?
I use Project Setting in visual studio 2008 and everything works correctly and save my information when the application is closed. However the information it lost when the application is Uninstalled. The information is not available with my new install.how to keep Project Settings through uninstall and installs!
View 4 RepliesI'm trying to add a printer as part of my install and then remove that printer as part of the uninstall, and I'm not having much luck. I can add the printer using a shell command and the "printUI.dll" but when I try to use the addprinter() from the windows API, nothing happens. When I try to delete a test printer with the deleteprinter() function, it executes fine... but doesn't actually remove the printer. Everything I've been able to find on it seems to indicate that my code is right, but obviously I'm missing something because its not working.
VB
Module Module1
Public Declare Auto Function OpenPrinter Lib "winspool.drv" _
(ByVal pPrinterName As String, _
ByRef phPrinter As IntPtr, _
ByVal pDefault As PrinterDefaults) As Int32
[Code] .....
I'm kind of shooting in the dark here - searches don't seem to be productive on this. I want to create a .NET program to monitor the install and uninstall of fonts. If something is installed or uninstalled, I want to run a program to do something.
I thought maybe a Windows Service, but haven't gotten very far with figuring out how to monitor fonts. Is this the right way and if so, what am I overlooking? If not, is there a different way to do this?
Is it possible to create an uninstall option in the setup package?
View 1 Replies