Renaming the SHORTCUTDIR folder - Advanced Installer Community
jasonprice
Posts: 1
Joined: Fri Mar 07, 2014 4:17 pm

Renaming the SHORTCUTDIR folder

Hello,

I'm trying to upgrade a product using a patch file. With the patch, we've decided to to change the product name. That includes the application shortcuts and the shortcut folder where the shortcuts are installed. I'm able to remove the previous application shortcuts, and install the new ones, but I'm not able to change the shortcut folder name. The shortcuts are under [ProgramMenuFolder]\[Manufacturer]\[ProductName] where ProductName was the old product name. When I patch the product, the shortcut folder retains the old product name instead of being renamed to the new product name. How do I change the name of the SHORTCUTDIR folder?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Renaming the SHORTCUTDIR folder

Hello and welcome to Advanced Installer forums,

Indeed, this is the default behavior when applying a patch (an .msp file) to the application, you cannot rename the APPDIR or SHORTCUTDIR.

If you want to change the APPDIR OR SHORTCUTDIR properties you need to release a major upgrade.
Basically, the upgrade process performs the following actions:
  • -Detect and completely remove older products.
    -Install the new product.
Please let us know if you have other questions.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”