uninstall

WiX Uninstalling after a minor upgrade

I have noticed that after applying a minor upgrade (1.0.1) the uninstall will be executed using the older version of the installation package (1.0.0) and not with the new package (1.0.1). Is it possible to uninstall using version 1.0.1 ? This is what I done: I have a version 1.0.0 msi package. After installing version 1.0.0 I app...

After patch replaced dll is not deleted on uninstall

Install Shield 2009 Premier: Basic MSI Project. Deploys some dll to system32 (and others to other directory) Uninstall of it doesn't delete these dlls from System32 directory. So i added a custom action which forcefully deletes them & it did my job. But I needed a patch of that msi setups. I created it from Install Shield & it just repl...

Problem to install MSI via msiexec /i .. /qn

I'm working on a MSI file which is able to install 2 tools. Both tools are installed from an exe file but which are able to be launched silently with arguments like /SI I can built the project without problem, without warning... Un-install works fine too. If I double click on my MSI file, both software are installed without problem.... t...

How to remove application shortcut from home screen on uninstall automaticaly?

I'm developing an application that should add it's shortcut to home screen after installation and remove it after the application is being uninstalled. The application will be preinstalled on the end user device, but still should have an option for uninstall). The task looks very simple but I've faced lots of troubles implementing it. W...

Uninstall error if original install DVD is not in drive

When trying to remove our application in Add/Remove Programs, the following error pops up, and the application fails to uninstall: Error 'mFileBagIDE.dll' is not a valid short file name. The curious thing is that you only get this error if the original installation DVD is not in the drive. If the DVD is in the drive, the unins...

Tell application to automatically uninstall?

This question is for demonstrative purposes. How can I tell my application to uninstall after a certain period of time is over? May or may not be possible. Just wondering... ...

Error when upgrading or uninstalling application with Windows Installer

We have developed some applications which are installed with Windows Installer (MSI files). Some are installed for all users and others for the current user only. Sometimes users experience a problem when attempting to upgrade or remove the applications which were installed for the current user which causes Windows to pop up a message s...

Uninstall WM DRM Active-X control

I am using WM DRM to protect content. Licenses for the content are issued through a web page (lauched from within Windows Media Player) using an embedded active-X control with the following Id. clsid:A9FC132B-096D-460B-B7D5-1DB0FAE0C062 Obviously, not everyone has access/permission to install the Active-X control so there is a separa...

Can a Visual Studio Installer remove a program installed by a non Visual Studio Installer?

I released a beta version of a dll driver a while ago that used a script based installer called Inno Setup, which did three things. 1) copied the dll file to a specific directory on the target file system 2) performed COM registration 3) executed a custom registration method that is contained in the dll For the next release of this s...

Finding ALL installed applications with PowerShell?

I am trying to use Windows PowerShell 2.0 to find an installed application. I have tried two methods, one using WMI and one using the Registry. Both methods are able to bring up a large list of installed applications and components, however neither one seems to bring up the application I am interested in. I am specifically looking for ...

ClickOnce and GAC

Hi all, I have WinForms application .net 3.5. I deploy it using clickonce in intranet with several client machines. I publish application in intranet web server (http://desbiz/CarwinClickOnce). In developer environment (my PC), my application uses GAC assemblies, like Fk.Security.Common.dll v.1.0.0.0. In tab Publish -> Application fi...

Getting the Windows CE uninstaller to work properly

On some of the devices that I am working on, the \Windows directory is not on permanent storage. That is, once the device is rebooted, whatever was written to \Windows is lost. This is particularly problematic for uninstalling programs since wceload.exe (the Windows CE CAB installer program) generates a .unload file and places it in \W...

Broke XAMPP trying to downgrade. Need to eradicate and re-install.

When my laptop wiped a few months back, I had to re-install, and thinking I didn't have the original disk image anymore, I downloaded and installed what was then the latest version of XAMPP (1.7.2a). I quickly became annoyed with some of the quirks of the new version's included version of phpMyAdmin, however, and so I frankly stopped bo...

Improving performance of Wix msi install/uninstall

In Windows 7(i.e. MSI 5.0), there is a property called MSIFASTINSTALL which will improve the performance of your installer. Or else, you can turn off the rollback option by setting property DISABLEROLLBACK. This property is available in earlier version of MSI 5.0 too. Please share your knowledge to improve the install experience. Also, ...

Using WMI to uninstall programs

Hello, I want to uninstall a program using WMI, but I get this error : "Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))". Installing it worked without any problems, using the same ConnectionOptions. Is there any possibility that the Administrator user has rigths to install software, but not to uninstall? If so, ...

How do I completely uninstall rails, ruby and rubygems?

My system is F'd. How do I completely uninstall rails, ruby and rubygems? any suggestions on where to go to reinstall from scratch? Best practices? I'd like to get back to 3.0 beta Thanks! ...

Use Innosetup to delete another appliction not installed with Innosetup during installation

Hello, I have an old VB6 application that is deployed using a very old 16 bit version of InstallShield. I have created a new installer with Innosetup to be 64 bit friendly for my VB6 application with updates. All of my users already have the existing InstallShield version installed. Currently, I have Innosetup working. The problem i...

Clickonce Online Only Uninstall

Is there an established way to uninstall an application that was deployed via ClickOnce using the Online Only method? I found it's location buried deep in the %APPDATA% tree, but I want to make sure I back it out all the way without creating future problems when I reinstall it. ...

WIX: COM unregistration when removing one of two programs

Hello, I am relatively new to WiX. It is a great tool, but I still need some time to learn it better. I have encountered a problem with registration and unregistration of a COM component. I have created installers for two applications, lets call them A and B. Both are using the same COM component. I have used the heat tool, as recommend...

Windows Vista, Default Programs API, file format associations, and (un)installers - explosive mix!

My application is a rather well behaved Windows citizen, so when I ported it to Windows Vista/7 I replaced my custom file format association code with support for the Default Programs API. However I ran into a problem when trying to make uninstaller for my application - there seems to be no way to remove file format associations via Defa...