We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

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

Create a condition for installer

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.88 KiB) Viewed 3209 times
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Create a condition for installer

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”