A new Flexera Community experience is coming on November 25th. Click here for more information.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

.MSI containing shortcuts needs to upgrade a previous version but maintain shortcuts

greg_zielinski
By
Level 2
We have an in house application that we've packaged that drops files inside PROGRAM FILES and creates 2 shortcuts. One shortcut in the start menu and one on the desktop.
I'm being asked to write the upgrade so existing shortcuts are not removed. This is because command line parameters are being added by the user to the shortcut originally created by the install .MSI.


Upgrades are performed by having the new .MSI reference the previous rollouts "upgradecode" in the "upgrade" table. I usually edit this via the DIRECT EDITOR and set the attribute on the previous versions to 769 and action property to "ISACTIONPROP1".

Current behavior due to how the Upgrade table is populated, causes the previous version to be uninstalled (including the shortcuts created by the package).
Is there anyway to supress the deletion of the shortcuts? Or perhaps a script that reads in the command line parameters and adds them to the newly created shortcut?
(1) Reply

jaybee96
By
Level 8
you can create a patch or minor upgrade for this spcific case.

your current action is called a Major Upgrade which is configured to completely uninstall any previous product.
therefore you will also loose any shortcuts.