LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI 8.0 Distribution Kit misses files...

Solved!
Go to solution

We have a set of TestStand pre-built Custom Steps which are made up of a DLL, ICO, couple of INI, and UIR files.

 

A CVI 8.0 Distribution Kit was created to install these files into the correct places so that the TestStand 3.5 development suite can see them i.e:

 

C:\Program Files\National Instruments\TestStand 3.5\Components\User\StepTypes\Bin

C:\Program Files\National Instruments\TestStand 3.5\Components\User\Icons

C:\Program Files\National Instruments\TestStand 3.5\Components\User\Language\English

C:\Program Files\National Instruments\TestStand 3.5\Components\User\StepTypes\Uir

C:\Program Files\National Instruments\TestStand 3.5\Components\User\TypePalettes

 

However, when the installer is run (logged in as Administrator) some of the files never make it to their destinations.  For example ICO files do not appear in 

C:\Program Files\National Instruments\TestStand 3.5\Components\User\Icons and the language INI files do not make it into the 

C:\Program Files\National Instruments\TestStand 3.5\Components\User\Language\English folder.  This is on a Windows XP Pro SP2 PC.

 

Though the Custom Steps operate correctly from a TestStand test executive, when the sequence files that use them are opened in TestStand their icons are missing and right clicking on them puts errors in the menu: "Resource File Missing", (or similar).

 

Is this a permissions issue?  I know under Vista and Win7 that the "Program Files" folder is locked down pretty tightly access wise, even if the account is an administrator.  I did not think this was an issue under Win XP!

 

Any thoughts?

Christopher Povey

Principle Test Systems Engineer for BAE Systems.
0 Kudos
Message 1 of 8
(3,729 Views)

Hi Christopher,

 

Both the files that are having the trouble are .INI files, is that correct? Are these the only two .INI files of all of those listed?

 

Many thanks,

Liam A.
National Instruments
Applications Engineer
0 Kudos
Message 2 of 8
(3,710 Views)

No there are UIR, ICO, and INI files.  The CVI 8.0 distribution kit is set up to install the files into the TestStand folders as listed in my first post.  However, even though, the install runs successfully (no errors reported) the files are not installed in those directories.

Christopher Povey

Principle Test Systems Engineer for BAE Systems.
0 Kudos
Message 3 of 8
(3,708 Views)

Thanks for you quick reply,

 

It don't think it is a permissions issue, as like you said, you are dealing with Windows XP and logged in as an administrator which should be more than adequate (This is all that is specified in the Distribution kit literature). Have you been able to try this on a different computer, preferably a stand alone one?

 

It may also be worthwhile looking into the details specified in both the distribution kit and installer.

 

Please let me know how how you get on or if you've already tried this.

 

Many thanks,

Liam A.
National Instruments
Applications Engineer
0 Kudos
Message 4 of 8
(3,704 Views)

If you run the installer with logging, and post back the log, it will give us more information about what is going on. From the command line, launch your distribution like this:

 

setup.exe /log logfile.txt

 

Thanks.

 

Mert A.

National Instruments

0 Kudos
Message 5 of 8
(3,692 Views)

I uninstalled the problem software and deleted the contents of the folders detailed in my first post.  I then reinstalled the software using the /log switch.  Log files is attached.  The installation reported as successful, but the directories in my original post were still empty, i.e. it actually failed...

Christopher Povey

Principle Test Systems Engineer for BAE Systems.
0 Kudos
Message 6 of 8
(3,676 Views)
Solution
Accepted by topic author ChristopherPovey

Your .ico and .ini files are being installed under the StepTypes directory. For example, C:\Program Files\National Instruments\TestStand 3.5\Components\User\StepTypes\Language\English\CS_OpDisplay.ini. I would double check the structure of your installation tree in the Files tab when editing your distribution. My guess is that the problem lies there.

 

Let me know if you still have problems.

 

Mert A.

National Instruments

0 Kudos
Message 7 of 8
(3,642 Views)

Your correct.  The people that created the kit have not added the correct directories.  Another thing to add to the list to fix... 🙂

 

Thanks.

Christopher Povey

Principle Test Systems Engineer for BAE Systems.
0 Kudos
Message 8 of 8
(3,628 Views)