NovaES
Posts: 143
Joined: Tue Feb 24, 2015 5:20 pm

Create a condition for installer

Thu Dec 17, 2020 8:31 am

Hello,

I have recently modified the configuration of my installer, when an installation is performed it no longer removes the files, but it installs it first (see attached screenshot).

Code implemented in program files:
(AI_CLEAN_RESOURCES_UNINSTALL = "1") AND (NOT UPGRADINGPRODUCTCODE)

My problem is that when the name of one of the shortcuts that is created on the desktop is modified, it is not modified.

I would like to know how to program and detect these modifications so that the installer with this new configuration modifies this as well as if something has been eliminated, it can be eliminated.
Attachments
Captura.PNG
Captura.PNG (2.88KiB)Viewed 2470 times

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

Re: Create a condition for installer

Tue Jan 05, 2021 2:22 pm

Hello,

First of all, please accept my apologies for the delayed reply.
Code implemented in program files:
(AI_CLEAN_RESOURCES_UNINSTALL = "1") AND (NOT UPGRADINGPRODUCTCODE)
It is not quite clear to me what this condition is used for.

Have you created, in the shortcut location, a "File Removal" operation (to remove the shortcut) that has the above condition?

If possible, could you please forward me a sample project that reproduces this issue or a step-by-step test case which I can follow in order to reproduce this?

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

Return to “Building Installers”