uninstall

ReInstall Visual Studio 2015

回眸只為那壹抹淺笑 提交于 2019-12-13 06:11:28
问题 My Win 10 version of Visual Studio 2015 Community edition failed to load with error "cannot find one or more components .Please reinstall the application". I've tried repairing it but received nondescript errors so cancelled the repair (which also reported similar errors and eventually that 116 out 120 components had been repaired - iirc). I then tried an uninstall, but that crashed windows. On reboot, the VS 2015 uninstall options screen was displayed. Tried uninstall again but progress bar

Executing UninstallString using C#

人走茶凉 提交于 2019-12-13 05:50:41
问题 I have a problem to execute uninstallString using process, it won't work in all cases. I need a generic procedure that will run in any case. one of my ideas was to parse uninstall string Code: int indexOfExe = uninstallString.ToLower().IndexOf(".exe") + 4; string exeFile = uninstallString.Substring(0, indexOfExe).Trim(); string args = uninstallString.Substring(indexOfExe, uninstallString.Length - indexOfExe).Trim(); if (args.Length > 0) { procStartInfo.FileName = exeFile; procStartInfo

WiX property not found in uninstall log

被刻印的时光 ゝ 提交于 2019-12-13 01:27:43
问题 Property change from the UI disappears from uninstall log. If I install my app with default property values and then run uninstall the property appears in the uninstall log. If I change the property value from the UI on uninstall it does not appear in the log. This is the reason why the apppool and webapp remain in IIS after uninstall, which is not the case with the default values. <Property Id="WEB_APP_NAME" Value="WebApp" Secure="yes" /> this is how to property looks like. This is where I

Wix installer could not remove installation folder

扶醉桌前 提交于 2019-12-13 00:56:21
问题 I have a Wix installer which is designed to install (uninstall) a Windows service and another .exe file. When I uninstall the software using this installer, and enabling extra log, I see some error messages about unable to remove my installation folder, although it is indeed empty. The first message that appears on the log is like this: DEBUG: Error 2911: Could not remove the folder MY_INSTALLATION_FOLDER. The following errors are all about the same problem. My first guess is of course that

WiX RemoveRegistryKey element not behaving as advertised

喜夏-厌秋 提交于 2019-12-12 23:03:24
问题 I can't seem to delete a registry key when I uninstall. Note that this isn't a repeat of this question, as I don't think that I have the same problem. Or, if I do, I'd like some clarification as to why. This problem happens when I install on a fresh VM, so it's not like I'm installing on top of the same GUID. What I'm doing is placing values from the user (from a UI) into some properties, importing those into some C# code through a CustomAction , where I then encrypt the values and put them

Prevent installing android app with specific package name

眉间皱痕 提交于 2019-12-12 19:16:05
问题 I am developing two android apps with android studio and for some reason I want just one of these apps can be installed on a device. I think I should check the package name of second app and prevent it from installing. Is there any way to do that? thanks. 回答1: You can not prevent any app from being installation. Instead you can stop your app from being running. I mean, when your app starts, check if specific application is installed, and if so stop your application. 回答2: An ordinary app

Batch file to uninstall a program

ⅰ亾dé卋堺 提交于 2019-12-12 18:35:21
问题 I'm trying to uninstall a program EXE via batch file and am not having any success. The uninstall string found in the registry is as follows: C:\PROGRA~1\Kofax\Capture\ACUnInst.exe /Workstation C:\PROGRA~1\Kofax\Capture\UNWISE.EXE /U C:\PROGRA~1\Kofax\Capture\INSTALL.LOG If I run that from CMD or batch it does nothing. If I run C:\PROGRA~1\Kofax\Capture\UNWISE.EXE /U from CMD it will open up a dialog box to point to the INSTALL.LOG file and then proceed to uninstall. At the end, it will ask

I have made an installer for MyProgram but the uninstall shortcut that it creates leaves behind empty folders

半城伤御伤魂 提交于 2019-12-12 18:17:20
问题 I have created an installer for MyProgram using the Visual Studio Installer (Visual Studio Setup Project). It is called "MyProgram Setup.msi". It installs the program fine and if it is uninstalled using the Add/Remove Programs control panel then everything gets removed as it should. The problem is that I want to add a shortcut to the "User's Programs Menu" under the program shortcut called "Uninstall MyProgram". I have tried doing this in 3 different ways and in all 3 ways if MyProgram is

Inno Setup - Progress bar doesn't show when uninstall

心不动则不痛 提交于 2019-12-12 09:41:23
问题 I'm using Inno Setup to create my own installer. When user uninstall app I want delete some folder. So I use CurUninstallStepChanged event to delete folder and show "progress bar" with npbstMarquee style (based on Inno Setup: How to handle progress bar on [UninstallDelete] section?). Here is the code: procedure DeleteFolder(); var FindRec: TFindRec; fullPath: string; tmpMsg: string; StatusText: string; deletePath: string; begin { find all and delete } UninstallProgressForm.ProgressBar.Style :

Uninstall multiple products using Custom Action

我的未来我决定 提交于 2019-12-12 08:13:42
问题 I am developing WIX based instller for our product which is having a base product and many plug-ins. Base and plug-in will be shipped as separate MSIs. Plug-ins can be installed only when base is available. Base and plug-ins are sharing common folder tree under a ROOT folder like "C:\Program files\MyProduct". I am using custom actions to uninstall all dependant plug-ins. But the plug-ins are not uninstalling properly. It is very random. Some times three plug-ins got uninstalled and some times