LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI Installation Problem (after removing patched version)

I decided to remove the 7.1.1 patch from my system to test out a previous problem I was having (see thread http://forums.ni.com/ni/board/message?board.id=180&message.id=16449).
I uninstalled my patched version of CVI (7.1.1 314) as instructed within the readme file supplied with the patch. When I go to reinstall CVI I’m getting the following error when the installation is initialising :

‘You already have patched NI LabWindows/CVI to a higher version. Aborting install.’

This is stopping me from reinstalling CVI completely. I us CVI on a daily basis so as you can imagine this is a major problem for me.

A quick fix for this would be greatly appreciated.
0 Kudos
Message 1 of 18
(5,149 Views)
Hello James,

I don't know how you got into the situation where CVI is not on your machine but the patch is. I have seen this once before but have never been able to reproduce this here at NI.

I will tell you the procedure to solve this.

1) Go to where the Patch is on your hard drive: C:\National Instruments Downloads\LWCVI_711_Patch
Run setup.exe and tell the patch to remove itself. Try running the full CVI installer again.

2) If this doesn't work we have a little bit of a harder task. Open Regedit. Browse to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\{SID#}\Products - you will see a lot of what look like GUIDs but are really mangled garbage. Search for "NI LabWindows/CVI 7.1.1 Patch". When you find this key you should also see a LocalPackage key in the same section. This points to a mangled MSI name like 1a56rd39e.msi in the C:\Windows\Installer directory. Send me that file from your machine.

3) I will make it able to uninstall without CVI being installed and send it back to you. You will replace the one on you machine with the fixed up one.

4) Repeat step 1 from above and you should be able to reinstall CVI no problem.


I have one question though. Can you tell me everything you went through to get to this point? I have had one other person run into this and have tried to reproduce it and been unsuccessful. Any info would be helpful, thanks.

Jeff
NI
0 Kudos
Message 2 of 18
(5,131 Views)
Jeff,

I have tried uninstalling the CVI 7.1.1 Patch and I still have no success.

The file against the registry entry is attached (I’ve had to zip the file as the forum doesn’t like the file extension .msi).

It’s been a while since I installed CVI so I will try to remember as best as I can.
To get to this point I first installed CVI 7.1 (full installation). I then downloaded the CVI 7.1.1 Patch from the NI website and installed that. I don’t think I done anything out of the ordinary during this process. The PC that I’m developing on is running Windows 2000 (Service Pack 3).
Another reason that I decided to reinstall (I don’t know if this is relevant or not) is that a dialog was popping up when launching CVI stating that the LabView 6.0.2 Runtime engine needed to be installed and it was looking for LVRT.MSI to do so. I tried to install this from the CVI 7.1 CD but was unsuccessful.

I also have other NI Software installed on my PC. I’ve listed the major products below.
LabWindows CVI Version 6.0
TestStand Version 3.1 f1 (3.1 updated to 3.1 f1 by the patch from the NI website.)
NI-VISA Version 3.0.1
I installed CVI 7.1 and TestStand 3.1 at the same time but I can’t remember the order in which they were installed.

I hope this is of some use. I’m sorry I can’t be of more help. If you think of anything else you need to know as then please don’t hesitate to get in touch.

Cheers
James.
0 Kudos
Message 3 of 18
(5,120 Views)
Jeff, you may want to investigate cases where the user does not install NI software to the default directory. (James, did you do this?)

I got into some real difficulties by installing CVI 7.1 into a different folder than 6.0, and then later uninstalling 6.0. Specifically 7.1 went into ...\Program Files\NI\... and 6.0 was in ...\Program Files\National Instruments\...

Windows XP restore points saved me (!) by undoing the botched 6.0 uninstall, and I was able to then uninstall both in reverse order (7.1 then 6.0) and then re-install 7.1. Phew!

--Ian
0 Kudos
Message 4 of 18
(5,108 Views)
Ian,

I installed CVI to it's default location.

Cheers,
James.
0 Kudos
Message 5 of 18
(5,106 Views)
James,

Here is the corrected MSI. Replace this in the Windows\Installer directory. Then rerun setup.exe for the patch or the msi directly.

Let me know how it turns out.

Jeff
NI
0 Kudos
Message 6 of 18
(5,101 Views)
Jeff,

I’ve replaced the existing MSI file with the one on you supplied and I’m still having problems. When I run the setup for the patch file it tries to install the patch. During the installation of the patch I get the attached dialog popping up. It’s pointing to the correct location for the file. I’ve browsed to the same location(C:\National Instruments Downloads\LWCVI_711_Patch\) and still I get and error. I’ve also tried running the MSI file you supplied directly and the same dialog is shown.

Cheers
James.
0 Kudos
Message 7 of 18
(5,097 Views)
James,

This dailog usually happens when the MSI file is corrupt. I downloaded and tested both MSI files and they are usable.

Can you run cvi_711_Patch.exe with the following command:

CVI_711_Patch.exe /l*v c:\cvipathclog.txt

Then attach the cvipatchlog.txt file so I can debug what is happening.

Jeff
NI
0 Kudos
Message 8 of 18
(5,088 Views)
Jeff,

See attached.

I'm in the UK so with the time difference it may be tomorrow before I can get back to you.

Cheers
James.
0 Kudos
Message 9 of 18
(5,089 Views)
James,

The log states that the install/uninstall completed successfully.

Have you tried reinstalling CVI? Is it still giving you the error? IF so try running the Attached EXE and see if you can remove the patch that way.

If the patch no longer appears in the list of the MSIBlast.exe, then you should be able to reinstall CVI no problems. Let me know if this works.

Jeff
NI
0 Kudos
Message 10 of 18
(5,082 Views)