Unable to Install Files and Reinstall - Advanced Installer Community
mgerde
Posts: 2
Joined: Thu Sep 04, 2014 3:09 am

Unable to Install Files and Reinstall

I'm running into two significant issues:

1. In the development of my installer, I ran into a weird issue where I couldn't get the app to uninstall on my development machine. I ran the MicrosoftFixit.ProgramInstallUninstall and that "fixed" the problem and removed the app. Since then, however, I'm not able to fully uninstall the application on this system. Now when I run the uninstall, it removes the app from the "Add/remove programs", but the files still remain in the installation directory, the app is still running, and the update service is not removed. When this happens, I've manually removed the updater service and the installation files. Subsequent installs, which appear to work fine, and uninstalls will not remove the files.

2. Another machine has experienced an issue with installing and uninstalling where:
- the updater process is running multiple times
- it says it can't start the updater service
- reinstalls do not work because of the updater service issue

A few details about the project (please let me know if you need more info):
- Installation Type: Per-machine if user is administrator, per-user otherwise (I could've swore I had this at per-machine fails before I started using AdvanacedInstaller.com to set build location, version, installserver, etc.)
- run as admin
- limit user interface
- enable patching w/out elevation
- check for updates using advanced updater
- manual updater execution
- install support service
- services has an updater service, 32-bit in own process, auto start type...rest should be defaults
- installation has been from a single exe
- run the app w/out showing finish dialog
- also have a custom action to launch the app...this was to handle the webinstall where the finish dialog didn't have it run. The app has a mutex to only allow one instance to run so it shouldn't matter.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Unable to Install Files and Reinstall

Hi and welcome to Advanced Installer forums.
1. In the development of my installer, I ran into a weird issue where I couldn't get the app to uninstall on my development machine. I ran the MicrosoftFixit.ProgramInstallUninstall and that "fixed" the problem and removed the app. Since then, however, I'm not able to fully uninstall the application on this system. Now when I run the uninstall, it removes the app from the "Add/remove programs", but the files still remain in the installation directory, the app is still running, and the update service is not removed. When this happens, I've manually removed the updater service and the installation files. Subsequent installs, which appear to work fine, and uninstalls will not remove the files.
I'm not sure why you encounter this behavior, but it seems that some registry entries related to this package got corrupted somehow on your machine. Can you reproduce the problem on multiple clean machines?

You can take a look on the Desktop icon is not getting deleted during the uninstall thread which might help you.
2. Another machine has experienced an issue with installing and uninstalling where:
- the updater process is running multiple times
- it says it can't start the updater service
- reinstalls do not work because of the updater service issue
I'm afraid I don't fully understand what is the problem here. Can you give us more details about your scenario (maybe exemplify)? Can you reproduce this problem on multiple clean machines, too?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”