LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Windows language (US vs. non-US) problem in Create Distribution Kit/Parent Folder.

Parent folder in Create distribution kit can't handle NON-us version of windows. In Swedish Windows "Program Files" is named "Program". Sometimes there is also a "Program Files"-folder present. Installation program selects "Program" despite "Program Files"-folder exist.
CVI 6.0 (105) on a Swedish NT4.
0 Kudos
Message 1 of 4
(3,103 Views)
This sounds like it is the CORRECT behavior. CVI's installers, like all Windows installers should be doing, don't just install to the C:\Program Files\ directory. They install to the directory designated in the system registry as the ProgramFilesDir. This can technically be any directory on the system. It sounds like on your Swedish NT4, it is set to be c:\Program. You can set this directory by editing the registry of the system with regedit. This directory is stored under HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion and is called ProgramFilesDir.

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 4
(3,103 Views)
Greetings,

Chris is correct in that this behavior is by design, so that the different folder names for various languages are handled properly.

In addition to Chris's suggestion (and in response to solution "C" in your attached PDF) - you actually can choose your own parent folder - to some degree. In the parent folder, choose "Root", and for the Sub Folder, choose "Program Files". It will then always default to "Program Files" in the root directory on the partition which has the most free space (which will always be C:\ if your target machines only has one partition).

Regards,
- Wes / NI
0 Kudos
Message 3 of 4
(3,103 Views)
Thanks for reply.
But changing "system-files" in my case is not recommended because I distribute my software to 7 users around the country who don't have any windows knowledge.

Wes/NI" answerd to, and in my case ROOT-dir becomes K: because I have several disks! And in order for my application to be "fool-prof" I can't use that Parent folder selection.

My solution to this problem is actually that you add a new selection item in "parent folder", so I can decide myslef were to put it. I also distibute Matlab exe-files and therefore I would like to have it in this way: C:\MyCompany\Ni\Measurement...

As extra information: I get the same problem is with Swedish Windows2000.

Regards Anders Nyström
0 Kudos
Message 4 of 4
(3,103 Views)