Issue with uninstalling Service when multiple versions are installed. - Advanced Installer Community
nieksa
Posts: 1
Joined: Tue Oct 08, 2019 12:50 pm

Issue with uninstalling Service when multiple versions are installed.

The current problem that I have with my AI project is quite annoying unfortunately.
I've made two versions of my service. 1.0.5 and 1.0.6 which can be installed side by side. They both have a different Product ID as is mandatory for an update. If I install 1.0.5 and uninstall it later on, it's removed accordingly. If I install both services, and try to uninstall version 1.0.6, the issues start to arise.

1. The program is still listed in Program List. When trying to uninstall it again it gives an error that the source files cannot be found.

2. When viewing the Task Manager, viewing the Services tab, I see that the service is still enabled. I'm able to stop it, but I'm not able to view the properties.


So I figured that it's an register problem. I've removed several keys and restarted my machine. Afterwards the issue was resolved.
I cannot expect my users to do the same, so they might run into some trouble. Because reinstalling version 1.0.6 is not possible. :(

Additional information:
AI 0.jpg
AI 0.jpg (94.86 KiB) Viewed 4948 times
AI 1.jpg
AI 1.jpg (37.55 KiB) Viewed 4948 times
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: Issue with uninstalling Service when multiple versions are installed.

Hello and welcome to Advanced Installer forums,

First of all, please accept my apologies for the delayed reply.

Unfortunately, I can not say for sure why that happens.

In order for me to further investigate this, could you please forward me the following:

From what I understand here:
I've made two versions of my service. 1.0.5 and 1.0.6 which can be installed side by side.
you have created two versions of the prerequisites which are installed by different setups. Is this correct? If so:

- a copy of the .AIP file used to build the 1.0.5 version of your setup

- a copy of the .AIP file used to build the 1.0.6 version of your setup

- a download link for both your setups (1.0.5 and 1.0.6)

- a verbose log of the uninstallation process (when both versions are installed)

by e-mail at support at advancedinstaller dot com.

Looking forward to hearing from you.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”