NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Teststand 3.0 Deployment Wizard and .lnk files

Hello;
It seems that the TestStand Delpoyment Wizard corrupts .lnk files. I want to provide a shortcut icons to start the testsequence. So I created a .lnk file, which starts the operator interface with the sequence file as commandline parameter. That shortcut works fine on the development system. But the .lnk file gets corrupted when it is copied from its original place to the Image directory by the deployment wizard. Its size grows from 2k to 1396k. So it seems that the Operator interface executable and not the plain .lnk file is copied into the deployment Image tree.
Is there any known workaround for that problem ?
0 Kudos
Message 1 of 3
(3,349 Views)
Hi markus,

Are you following instructions as outlined by David's response?

http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000BADD0000&UCATEGORY_0=_8_&UCATEGORY_S=0

Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 2 of 3
(3,349 Views)
Well, David's solution works as expected. It copies the the pristine .lnk file from the startup menu to the desktop.
This .lnk file will start only the operator interface testexec.exe without loading any sequence.

Now I did try a modification. I did create a .lnk file, which loads the sequence file automagically by providing the right commandline arguments to testexec.exe. This .lnk file works on the development system either I start it from desktop or from some normal directory with the explorer.
And now I try to add that .lnk file to the deployed files like all other deployed files by adding it to some project in the workspace, which is configured to be used in the deployment wizard. That doesn't work.

If there is a 2kb "MySequence.lnk" in t
he development tree,you will also find a "MySequence.lnk" in the Image tree at the expected position. But this is 1396 kb big, which is just the size of testexec.exe ( Labwindows/CVI version) where the .lnk file did point to. And the properties (commandline) of that .lnk file became empty.
Other "normal" files in the same directory, which are also included in the deployment, are copied without any coruption into the Image tree into the same directory as the corupted .lnk file.
The installer will install the corupted .lnk file to the desired position without problems. And copying it with post.bat to the desktop is also no problem.
0 Kudos
Message 3 of 3
(3,349 Views)