Uninstall A Program Remotely Using .net?
May 1, 2009
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 Replies
ADVERTISEMENT
Jun 23, 2011
Have 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 Replies
Jan 25, 2012
I'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].....
View 3 Replies
Dec 14, 2010
How can i add a program to the add/uninstall program list? using vb.net
View 2 Replies
Jun 12, 2011
If there is any way to uninstall program or uninstall program from add/remove using vb.net codes?
View 4 Replies
Sep 5, 2009
I started learning programming using VB.NET a few months ago, so I'm still like a total noob at this, and I'm not experienced enough with the Microsoft Visual Basic Library to get my answer. I have done some Google searches, and still haven't found any relevant answers.
Okay, suppose I want make a VB.NET desktop app. that displays the number "1" in a textbox when a button is pressed... I can easily make that program, but what if I want the program to, on my remote command, display the number "2" instead when the button is pressed?
Is it possible to write code that reads gmail messages? I know that gmail is pretty open about it's SMTP and POP ports and stuff.[code]...
View 4 Replies
Jan 27, 2010
how to add the Uninstall option in the Start--> Programs, during setup and deployment of an application?
View 4 Replies
Nov 8, 2011
I have several programs written in VB2008 on a network shared drive. Multiple PC's which have access to this drive run the programs. The problem is when I want to upgrade the program or a file/picture with changes, either I cannot overwrite the .exe file because someone is running it, or for example, a background picture on an open form is loaded and then I cannot change the picture on the server. I thought of placing a timing loop in the programs to frequently check a file on the server, which when I need to make a change, I can fill with an appropriate trigger word (like "exit") that would have the program terminate and be unable to restart until I change the file to "OK", but this seems rather crude. I assume there's a better and more elegant method.
View 2 Replies
Jul 26, 2011
We 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?
View 7 Replies
Jun 30, 2011
I have created a VB.NET program using windows forms. The program runs on a remote PC and displays information on a screen. The computer does not even have a mouse or keyboard connected to it. The program shows the information based on the file that is loaded.I want to be able to change this file remotely to another file that is already on the remote PC. I can't use a graphical remote desktop client as we have very limited bandwidth.So, my idea is to change the file using the command prompt.I'm not sure how to do this. Should I use something like this and load DosModule first:[code]How would I then read commands that is send to the program? I also only want one instance of the program running.
View 1 Replies
Feb 7, 2010
Ok, I haven't started this yet, but I'm just thinking out loud for a project I have coming up.
One approach I am thinking about pursuing involves "messaging" my application (windows form in VS 2008 pro) from a mobile device, whether it be a laptop, phone, pda, etc.
is this possible? (1st question) and what is the "correct" implementation to do this? (2nd question)
The idea is to remotely disable the email sending feature of my program by the user (owner of the application) to kill email alerts if they are not at their computer.
View 3 Replies
Jul 28, 2009
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 Replies
Jan 18, 2010
How do I add an unistall shortcut. I am using deployment and setup>setup project to deploy.
View 3 Replies
Dec 8, 2009
Since 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 Replies
Mar 9, 2009
My 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 Replies
Nov 18, 2008
I have VB6 and i want to install VB.NET 2008 without uninstall VB6. Is possilbe? Can i works correctly both?
View 1 Replies
Oct 26, 2010
How do i uninstall a product with win32_product?
View 1 Replies
Jul 27, 2009
I 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 Replies
Oct 26, 2009
I 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 Replies
Oct 6, 2011
I 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.
View 1 Replies
Apr 11, 2011
I have an MSI that installs silently and I need to install it on remote machines via a VB.NET app. I would rather not use WMI so is there a builtin mechanism to do this?
View 5 Replies
Oct 19, 2009
I need to run a .bat file on a remote machine and return the result to the local machine. How would I go about doing this?
View 4 Replies
Jul 12, 2011
how can i uninstall previous version of my windows applcation which is with different name and location? on installing new versions?
View 3 Replies
Jan 28, 2009
how can i unistall previous version of my windows applcation which is with different name and location? on installing new versions?
View 36 Replies
Apr 5, 2007
I'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]....
View 4 Replies
Nov 19, 2010
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.
View 4 Replies
Jul 23, 2010
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
Jul 21, 2009
(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?
View 3 Replies
Jul 15, 2010
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 Replies
Feb 14, 2011
I 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 Replies