安装Labview2012 “labview 2012 未定义必须的 NIPathsDir属性 maxAFWDIR”

安装Labview2012   出现“ 未定义必须的 NIPathsDir属性 maxAFWDIR”。

More Information

This error has several causes. One cause is that the installation was created with a hard-coded path to a drive letter that does not exist on the machine. If this is the case then there is no way to make the installation install to a different drive letter. The software vendor must be contacted. Other causes include:

  • The CD-ROM or DVD-ROM drive letter has changed since a previous install.
  • You have changed the drive letter of the hard disk that the operating system is installed on, for example, drive C.
  • This behavior may occur if a registry key contains an incorrect value in a Data field.
Fix

Because this error has different causes, you may have to check multiple items on your computer.

  1. If drive letters have been changed on your computer, re-assign the original letter to the CD-ROM, DVD-ROM, or operating system drive. Follow the steps appropriate to your operating system:
    Windows XP Users
    1. Click Start, and then click Control Panel.
    2. In Control Panel, double-click Administrative Tools, and then double-click Computer Management.
    3. In the Computer Management tree, click Disk Management.
    4. Right-click the CD-ROM or DVD-ROM drive, or the drive that contains the operating system, and then click Change Drive Letter and Paths.
    5. Click Change, and change it to the original drive letter. Click OK, and then click Close.
    Windows 2000 Users
    1. Click Start, point to Settings, and then click Control Panel.
    2. In Control Panel, double-click Administrative Tools, and then double-click Computer Management.
    3. In the Computer Management tree, click Disk Management.
    4. Right-click the CD-ROM or DVD-ROM drive, or the drive that contains the operating system, and then click Change Drive Letter and Path.
    5. Click Edit, and change it to the original drive letter. Click OK, and then click Close.
    Windows NT Users
    1. Click Start, and then click Run.
    2. In the Run dialog box, type windisk.exe in the Open field, and then click OK. This opens Disk Administrator.
    3. Find the letter of the CD-ROM or DVD-ROM drive, or the drive that contains the operating system that needs to be changed back to its original letter.
    4. Right-click the drive letter and select Assign Drive Letter.
    5. In the Assign Drive Letter dialog box, select the original drive letter from the drop-down list.
    6. Close Disk Administrator, accept the changes, and restart the computer.
     
  2. Verify that registry entries do not contain invalid drive letters that might be causing this error:
    Important: The following steps require you to modify the Windows registry. Modifications to the Windows registry, if not done correctly, can cause serious problems to a Windows system. Before editing the registry, see  How Do I Back Up Registry Keys on My Computer?
    1. Click Start, and then click Run. The Run dialog box opens.
    2. In the Open field, type regedit, and then click OK. The Registry Editor opens.
    3. In the Registry Editor, locate the following registry key:
      HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
    4. In the right pane, note the values in the Data column of each entry. If any value contains a drive that is not correct for your computer, right-click the entry and select Modify.
    5. Type the correct drive letter in the Value data field, and then click OK. For example, if one of the values is "X:\Documents and Settings\Administrator", the drive letter should be changed to a valid drive on the system, such as “C:\Documents and Settings\Administrator".
    6. Repeat steps 4 and 5 for each entry whose Data value contains an incorrect drive.
    7. Repeat steps 3 through 6 for each of the following registry keys:
       
      • HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
         
      • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
         
      • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
         
      • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
       
    8. Close the Registry Editor and run the installation again.
     
  3. If none of the above suggestions apply, this error might be happening because the installation author has hard-coded a path to a drive letter that does not exist on the machine. In this situation, you should contact the software vendor. Your software vendor can follow the suggestions in the following InstallShield Knowledge Base article to help determine what is causing the issue within the installation project:
    Q107033 ERRDOC: Windows Installer Error 1327.
    Keep in mind that the above article is meant for the installation author that has created the installation. Many of the suggestions do not apply to consumers trying to install software.
    Another suggestion, although not a long-term solution, would be to create a partition on the local hard drive or map a network drive with the drive letter that is mentioned in the invalid drive error.

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值