wildgingergal
Posts: 1
Joined: Mon Aug 30, 2021 4:37 pm

update installer

Mon Aug 30, 2021 6:57 pm

Hi,

I am having difficulty creating an update installer for a .NET application. I am new to AI. I created the installer with AI v 18.6 (professional license) and it works. I created the update installer with AI 18.6 and it does update correctly. It just copies a new EXE over the existing EXE. I changed the product code as directed so that the update installer would run and update the existing EXE. I left the upgrade code the same as the original installer.

The problem occurs upon uninstall. When the program is uninstalled via Control Panel, the uninstall process does not remove the updated EXE or the desktop shortcut. I assume this occurs because the product code has been changed but you have to change the product code for the installer to run.

Is there a solution to this situation?

Catalin
Posts: 6509
Joined: Wed Jun 13, 2018 7:49 am

Re: update installer

Wed Sep 01, 2021 6:36 pm

Hello Lisa and welcome to our forums,

I have answered you over the e-mail.

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

AlexThunder
Posts: 15
Joined: Mon Sep 06, 2021 3:30 pm

Re: update installer

Tue Sep 07, 2021 7:53 am

The solution to this might be intersting for me as well!

Catalin
Posts: 6509
Joined: Wed Jun 13, 2018 7:49 am

Re: update installer

Tue Sep 07, 2021 11:15 am

Hello Alex and welcome to our forums,

In Lisa's case, the problem occured because the upgraded setup was created by copying the old .AIP file.

When this happens, the components' GUIDS will not change, resulting in shared resources.

For more information about this, please have a look over the following thread:

Uninstall does not remove files , shortcuts etc

Hope this helps!

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

Return to “Building Installers”