Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
2 ratings:
 4 out of 5     Rate this Document

Measurement Studio Visual C++ Class Libraries Remain in Evaluation Mode After Installing Licensed Version over Evaluation Version

Primary Software: Measurement Studio>>Visual C++ Support
Primary Software Version: 8.0.1
Primary Software Fixed Version: 8.0.1
Secondary Software: N/A

Problem: When you attempt to install the licensed version of Measurement Studio 8.0.1 on a machine that has the evaluation version of Measurement Studio 8.0.1, the installer requires you to uninstall the evaluation version of Measurement Studio before you can install the licensed version. However, the installer does not require you to uninstall the Visual C++ Common class libraries. If you do not uninstall the Visual C++ Common class libraries prior to installing the licensed version of Measurement Studio, the Visual C++ Common class libraries continue to exhibit evaluation behavior. This occurs for both the Microsoft Visual Studio .NET 2003 and Visual Studio 2005 versions of the Common class libraries (NiCommon71x.lib and NiCommon80x.lib, respectively).

As a result, your Measurement Studio 8.0.1 Visual C++ programs will exhibit evaluation behavior. The evaluation behavior is to display a message box after running for 5 minutes and then to terminate the application. The message in the message box is, "The Measurement Studio evaluation period has expired."

Solution: There is more than one solution to this problem. After implementing any of these solutions, you must explicitly rebuild all projects that use these libraries to generate fully licensed (non-evaluation) programs.
  • Use Solution 1 if you have not yet installed the licensed version of Measurement Studio 8.0.1.
  • Use Solution 2 if you have already installed the licensed version of Measurement Studio 8.0.1 and you still have the Evaluation CD.
  • Use Solution 3 or Solution 4 if you have already installed the licensed version of Measurement Studio 8.0.1 and you do not have the Evaluation CD. Solution 3 has fewer steps than Solution 4, but Solution 3 takes more time.

Solution 1: Uninstall all evaluation components before installing the licensed components.
  1. In the Windows Control Panel, select Add or Remove Programs.
  2. Select National Instruments Software and click Change.
  3. Select all entries in the NI Products list that start with "NI Measurement Studio" and click Remove. Be sure to select the Visual C++ Common Class Libraries entries.
  4. Install the licensed version of Measurement Studio.

Solution 2: Repair the NI Measurement Studio Visual C++ Common libraries from the Evaluation CD.
  1. In the Windows Control Panel, select Add or Remove Programs.
  2. Select National Instruments Software and click Change.
  3. Select all entries in the NI Products list that start with "NI Measurement Studio Visual C++ Common Libraries" and click Repair.
  4. When prompted, insert the Measurement Studio Evaluation CD and follow the instructions.

Solution 3: Uninstall all Measurement Studio Visual C++ components and re-install the licensed version of Measurement Studio 8.0.1.
  1. In the Windows Control Panel, select Add or Remove Programs.
  2. Select National Instruments Software and click Change.
  3. Select all entries in the NI Products list that start with "NI Measurement Studio Visual C++ Common Libraries," select all entries that start with "NI Measurement Studio 8.0.1," and click Remove.
  4. Re-install the licensed version of Measurement Studio.

Solution 4: Uninstall only the Measurement Studio Visual C++ class libraries and re-install them from the licensed version CD.
  1. Open a Microsoft Windows command prompt; select Start»Run, type cmd, and click OK.
  2. Type msiexec /x {7B4088FA-9E69-46C0-973C-2B0869C528A2} and press <Enter>.
  3. The installer will display a message, "Are you sure you want to uninstall this product?" Click Yes.
  4. If the installer displays the message, "This action is only valid for products that are currently installed.", click OK. Otherwise, wait for the installer to complete.
  5. Type msiexec /x {C4DB7A9F-21A5-4657-9070-CA91C68C5407} and press <Enter>.
  6. The installer will display a message, "Are you sure you want to uninstall this product?" Click Yes.
  7. If the installer displays the message, "This action is only valid for products that are currently installed.", click OK. Otherwise, wait for the installer to complete.
  8. Type msiexec /x {197E3431-7E3C-4EBE-A97A-F5C0D9ECC8DB} and press <Enter>.
  9. The installer will display a message, "Are you sure you want to uninstall this product?" Click Yes.
  10. If the installer displays the message, "This action is only valid for products that are currently installed.", click OK. Otherwise, wait for the installer to complete.
  11. Type msiexec /x {EA2757F1-DA37-4089-BFFE-DF3AFF019109} and press <Enter>.
  12. The installer will display a message, "Are you sure you want to uninstall this product?" Click Yes.
  13. If the installer displays the message, "This action is only valid for products that are currently installed.", click OK. Otherwise, wait for the installer to complete.
  14. Re-run the Measurement Studio installers from the licensed version CD. The installer will install only the Visual C++ class libraries that you uninstalled in the previous steps.

    Note: Using the installer Repair functionality does not work, you must re-run the installer from the CD.


Related Links:

Attachments:





Report Date: 06/12/2006
Last Updated: 06/14/2006
Document ID: 3YBFRSO4

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit