Updating an existing shortcut - Advanced Installer Community

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!

kettch
Posts: 28
Joined: Wed Dec 03, 2008 9:34 pm

Updating an existing shortcut

My installer has installed a shortcut to an EXE in the Application Shortcut Folder. Recently, the name of the EXE that the shortcut points to changed. Within AI (9.6), the shortcut is set to point to the correct EXE, but if someone is updating from an older version of our software the new shortcut doesn't get installed.

My question is, how can I either update a shortcut that has already been installed previously or delete the existing shortcut in order to create the new one that points to the correct EXE?
kettch
Posts: 28
Joined: Wed Dec 03, 2008 9:34 pm

Re: Updating an existing shortcut

After exploring it a bit more, I've noticed that the new shortcuts are getting created, but they are created in APPDIR, not SHORTCUTDIR.

So instead of being added/updated in the Start Menu, they are being created in C:\Program Files (x86)\<Company Name>\<Product Name>.

If I look at the properties of the Application Shortcut Folder, the Identifier and Target/Source name are all still SHORTCUTDIR though.

What is wrong with the installer?
kettch
Posts: 28
Joined: Wed Dec 03, 2008 9:34 pm

Re: Updating an existing shortcut

Actually, I just opened the table editor for the installer and SHORTCUTDIR was being set to use [ProgramFilesFolder] and not [ProgramMenuFolder] like all of our other installers, so someone must have edited it. *sigh*

Return to “Common Problems”