LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Nested shortcut bug in CVI2010 distribution function

I am developing a number of small apps that I would like organized into a common folder under 'ALL PROGRAMS' on Windows 7 (32 bit). (ie group the apps under a common folder name]

 

 

Under the shortcuts tab on the Edit Installer window I have the shortcut set to [Program Files]\[common folder]\<APP>.
This does not work.

 

The apps correctly reside in subfolders but the shortcuts do not show up when done this way.

 

Using the shortcut [Program Files]<APP> works and places the shortcuts works.

 

Thanx!

 

 

0 Kudos
Message 1 of 3
(2,610 Views)

Hi ChetK,

 

Are you getting any errors, or does the shortcut just not show up?

Under shortcuts, what do you have the “Target File” and “Destination Directory” set to? Can you send screen shots? Of your installer, I want to make sure you’re setting up the shortcuts properly.

Have you tried running the installer with Administrator privileges?

 

Regards,

 

Michael Miracle

NI Americas | AE

0 Kudos
Message 2 of 3
(2,594 Views)

Unfortunately, directories that do not have files in them are not created at install time. If you try to have your shortcuts installed to [Program Files]\<subfolder_name>, the shortcuts will fail to install unless:

 

  1. your installer is adding at least one file to that directory, OR
  2. the subfolder already exists on that machine.

The easiest workaround is just to install some dummy file to that directory. You can set the "hidden" property on that file (right-click, File Options...) so that it is less visible to users on the target machines.

 

Mert A.

National Instruments

0 Kudos
Message 3 of 3
(2,575 Views)