labview卸载重装碰到的问题

目录

labeiw卸载重装过程当中总是碰到一些问题,记录一下解决办法,碰到后好查找。

个人推荐卸载

用laview自带的卸载软件进行卸载,卸载的比较干净。

卸载完全第一步

启动 labview自带的卸载软件进行卸载。一般进行完这一步,就可以从新安装labview了

完全卸载第二步

如果卸载过程中,因为某些原因,可能导致卸载完之后,在安装labview,会有某些功能安装不上。如果遇到,查看“添加/删除程序”,查看条目是否保留:转到开始>>运行并键入“regedit”,转到HKEY_LOCAL_MACHINE/SOFTWARE/National Instruments/Common_Installer,删除仍显示在“添加/删除程序”中的组件的相关注册表项。注意:这些键将以类似的名称出现,并且在初始文本之后会出现一个长的数字/字母代码。我还删除一个IVI的服务。

完全卸载第三步

使用MSIBlast公开隐藏的MSI卸载程序,并在必要时将其删除。有关更多信息以及如何完成本节,请参阅以下说明:
·下载附加文件msiBlast.exe,并将其保存到桌面或本地硬盘驱动器。·双击下载的msiBlast.exe文件以运行可执行文件。·选择“仅显示NI安装程序”选项。·使用(Ctrl+鼠标左键单击)选择要删除的MSIBlast中显示的所有National Instruments Software。·卸载所有National Instruments MSI注册表项

完全卸载第四步

从计算机上清除所有与National Instruments组件有关的参考资料。有关更多信息以及如何完成本节,请参阅以下说明:
·转到操作系统的START按钮,选择RUN并键入“regedit”。这将打开注册表编辑器窗口。转到注册表菜单并选择导出注册表文件。选择“全部”作为导出范围,然后选择一个文件名。这将创建注册表的备份,以防在删除注册表项时出错。
·从Windows注册表中删除以下注册表组件:
HKEY_CURRENT_USER\Software\National Instruments删除整个树!
HKEY_LOCAL_MACHINE\Software\National Instruments删除整个树!
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Enum\PPCI\、\ISA或\PMCIA,并删除包含1093键的注册表项。
如果这些树中有任何一棵没有列出,请不要担心。继续该过程的剩余部分。
注意:您可能需要修改安全策略。在Windows XP中,您可以使用注册表编辑器(regedit)中的编辑>>权限来修改安全选项。
·关闭regedit。
·确保您自己的VI或其他文件没有保存在“C:\VXIpnp”、“C:\Program files\National Instruments”或“C:\WINDOWS\nidaq”文件夹中。如果您这样做了,请将它们复制到其他位置。如果您担心保持旧的虚拟通道和SCXI设置不变,请同时备份“C:\WINDOWS\niconfig.daq”文件。删除上面提到的所有文件夹和文件。
·下载Windows安装程序清理实用程序(msicuu.zip)并将其复制到硬盘驱动器。
注意:zip文件中包含两个版本的Windows安装程序清理实用程序。第一个版本Msicu.exe支持Windows 95/98。第二个版本Msicuu.exe支持Windows NT/2000/XP。
·通过解压缩文件并选择适当的可执行文件来运行windows安装程序清理实用程序。
·重新启动计算机。

完全卸载终结技

  • 理论上经过上面操作重装labview应该没什么问题了,如果还有问题,把注册表里面所有包含National Instruments的注册表项都删掉,可能有部分不能删除,但是影响不大,把能删除的都删除了。
  • 在环境变量里面把和labview相关的 信息删除,比如 labview、National Instruments等
  • 如果有个别插件装不上,比如VIPM,在注册表里面吧所有和vipm相关的相删除,在装就没有问题了。

引用原文

National Instruments(简称NI)软件卸载以及清除残余文件的方法:

1. Use Add/Remove programs to remove the software. If errors persist proceed to Step 2.

 

2. Look into Add/Remove programs to see if the entries remain:

Go to Start >> Run and type "regedit"

Go to HKEY_LOCAL_MACHINE/SOFTWARE/National Instruments/Common_Installer

Delete the related Registry Keys for the components that still appear in Add/Remove Programs.

Note: The keys will appear with similar names and have a long number/letter code appearing after initial text.

 

3. Use MSIBlast to expose hidden MSI uninstallers and remove them if necessary. For more information and how to complete this section, refer to the following instructions:

·         Download the attached file, msiBlast.exe, and save it to the desktop or local hard drive.

·         Double click on the downloaded msiBlast.exe file to run the executable.

·         Choose the Show NI Installers Only selection.

·         Using (Ctrl+Left Mouse Click) select all National Instruments Software that you want to remove that appears in MSIBlast.

·         Uninstall all of the National Instruments MSI Registry entries.

 

4. Clean all references to National Instruments components from the computer. For more information and how to complete this section, refer to the following instructions:

·         Go to START button of your operating system, choose RUN and type "regedit". This will open the Registry Editor window. Go to the Registry Menu and choose Export Registry File. Select "All" for the export range, and select a file name. This creates a backup of the Registry in case a mistake is made when deleting the keys.

·         Remove the following registry components from the Windows Registry:

HKEY_CURRENT_USER\Software\National Instruments Delete the entire tree!

HKEY_LOCAL_MACHINE\Software\National Instruments Delete the entire tree!

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Enum\PCI\ , \ISA, or \PCMCIA and delete registry entries containing any keys with 1093 in them.

Do not worry if any of these trees are not listed. Continue with the remainder of the process .

Note: You may need to modify security policies. In Windows XP you can modify security options using Edit>> Permissions in the Registry Editor (regedit).

·         Close regedit.

·         Make sure that you do not have any of your own VIs or other files saved in the "C:\VXIpnp", "C:\Program Files\National Instruments", or "C:\WINDOWS\nidaq" folders. If you do, copy them to a different location. If you are concerned about keeping old virtual channels and your SCXI setup intact, then backup the "C:\WINDOWS\niconfig.daq" file, too. Delete all folders and files mentioned above.

·         Download the Windows Installer Cleanup Utility (msicuu.zip) and copy it to the hard drive.

Note: There are two versions of the Windows Installer Cleanup Utility included in the zip file. The first version, Msicu.exe, supports Windows 95/98. The second version, Msicuu.exe, supports Windows NT/2000/XP.

·         Run the windows installer clean up utility by unzipping the file and selecting the appropriate executable.

·         Reboot your computer.

5. You should be ready to install your software. For the cleanest possible install, first install all of your application development software, such as LabVIEW, Measurement Studio, etc. Do a custom install, so that you can install just the application WITHOUT ANY DRIVERS. Reboot your PC when requested after each install. Even if the installer does not tell you to reboot, it would probably be a good idea to do so anyway. Now install your driver software and follow the associated user manuals. Some older non Plug-n-Play hardware must be installed before the driver. Download the latest versions of the drivers that support your hardware from our Drivers and Updates software library (link below), and install them one-by-one, rebooting after each install.

6. Finally, shut down and re-install your hardware.

你可能感兴趣的:(labview)