LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Shortcut name generated by the installer

Using CVI 6, if you name your application "abc v5.5" the shortcut created by the installer is "abc v5".
How to fix that without renaming the shortcut at the end of the installation, as it will not be removed during the uninstallation...

Thanks,
Yannick
0 Kudos
Message 1 of 2
(2,487 Views)
Hello

Manually changing the name might cause the un-installer some problem, a couple of ways around it.

While making your distribution kit in CVI, you can change the name in your application so that instead of calling this "abc v7.2", you can have it as "abc v7.2.0", so that your app's name will show up as "abc v7.2" (it seems to be truncating past the last decimal) in the shortcut, but the side effect is while installing, the name on the installer will be "abc v7.2.0". But this is one way.

Another way is to use Orca (a free tool that installer with the Windows Installer SDK, you can download that from here). After you finish making your distribution kit, you can edit the msi file that it cr
eates with orca. You would then go to the table marked "Shortcut" ( its a column on the left), and under the Name entry for that table, you will see the incorrect name for the shortcut. Change it to what you want the correct name to be and this should install it correctly every time you run the installer. However, you will have to change this setting every time you re-build the distribution kit. But once you change the msi file, it will make the shortcuts with the correct name.

I hope this helps

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 2
(2,487 Views)