LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to install a new version?

I had a 7.0 installed in my PC. Now, I'm installing a 7.1.1 and I notice that the installer uses the version number in the folder. Same issue with TestStand 3.0 vs 3.1.

I'm afraid that when I'll run my application, something will go wrong because of the "new" folders. (I stopped the installation for the time being..)

How is the right way to handle an upgrade?

Thanks
Rafi
0 Kudos
Message 1 of 7
(3,822 Views)
There really should be no issue because of these new folders. If you are using any of the libraries that were available in the old folder, the new version of CVI (7.1.1) will know to go to the new folder for the libraries. You can have multiple versions of CVI on the same machine (but only one version of the run-time engine).
Bilal Durrani
NI
0 Kudos
Message 2 of 7
(3,809 Views)
Hi Bilal and Thanks for answering,

I have no interest of keeping multiple versions of CVI (or TestStand). I wish to rename the CVI library to CVI with no reference to version number. Can I just rename it? Same issue for TestStand?

One of the reason I want it this way is because I have batch file that save some of the configurations and specific files (mainly form TestStand directory). With new versions every time I'll have to go and modify my batch file with every new installation. The simplest solution form me is to have a 'CVI' directory and 'TestStand' directory.

Thanks
Rafi
0 Kudos
Message 3 of 7
(3,797 Views)
Here is one way to get around this

1- Uninstall the previous version of CVI

2- Use the attach reg (i added the txt extention so I can upload it) file to add a CVI 7.1 InstallDir key. I have modified it to point to ..\Program Files\NI\CVI. You can view the file in a text editor and modify it as you like. This basically makes the installer think that CVI is already installed and the current location is the location mentioned above.

3- Run the 7.1.1 installer and now it should default to the path in the InstallDir key.

I've reported this issue, so you won't need to do this for next release of CVI.

I dont think you will run into the same thing with TestStand. If you do, let me know.

I hope this helps
Bilal Durrani
NI
0 Kudos
Message 4 of 7
(3,780 Views)
Hi Billal and thank you very much,

The only problem with your solution is that I don't know where to put this file.... you didn't mention it in your answer...

Also, how can I use it with a new installation?

Thanks
Rafi
0 Kudos
Message 5 of 7
(3,771 Views)
The file bilal has posted is used to update the registry: copy it wherever you want in the computer and run it (double-click); if you are prompted with a confirmation, click Yes to permit registry update and all will be done.


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 6 of 7
(3,763 Views)
Thanks Roberto and Bilal.

I followed the instructions and it didn't work. The new installation is still in CVI71 directory!!

First I did uninstall to CVI71 (TS was still installed, including runtime engine 7.1.1).

I checked the registry and performed a 'Find' to LabWindows/CVI and found traces to CVI versions 7.0 and 7.1. I expected to see none of those....

Then, I activated the registry file Bilal included and it was installed successfully.

I reinstall the CVI71 again and, as I mentioned, it was still installed into the same directory.

Any advice?

Also, I must haves the same solution for TestStand.
Right now we have TS3.0 and TS3.1 installed on several computers. We work on projects that share modules (like GPIB). These modules are in a ClearCase system, so each one of us can modify them. These modules call to some TS files like TSutil.fp (which located on the C drive). As a result of different TS names, the project which formerly called a file in TestStand 3.0 directory is now looking for the same file in TestStand 3.1 directory which it doesn't find...

Can you advice me how to modify the TestStand directory name to 'TestStand'?.

Thanks
Rafi

(I will put this part of the question in another thread in TestStand group)
0 Kudos
Message 7 of 7
(3,723 Views)