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

Windows Vista Asks For Administrative Permissions When Running An Executable From LabWindows/CVI Or LabVIEW

Primary Software: LabWindows/CVI Development Systems>>Base Package
Primary Software Version: 2.0
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
Why does the application I built in LabWindows/CVI or LabVIEW ask for administrative privileges on Windows Vista, but not Windows XP/2000?

Solution:

Using the keywords word "update", "setup" or "install" in a built executables filename or file resources will automatically trigger Windows Vista to ask for administrative privileges.

From LabWindows/CVI, clicking the green Debug Project button will show the error: Could not run executable. Examples that use the "update", "setup" and "install" keywords will also require administrative privileges to run properly.

To resolve this problem, remove any instance of "update", "setup" and "install" from the executable's filename and file resources (resources such as String Table and Version). This is also required for some LabWindows/CVI shipping examples as well.



Related Links:
Windows Vista Application Development Requirements for User Account Control Compatability
Getting Ready For Windows Vista
KnowledgeBase 46RG5SNZ: Windows Vista Asks For Administrative Permissions When Running An Executable From LabWindows/CVI Or LabVIEW

Attachments:





Report Date: 02/28/2007
Last Updated: 03/16/2007
Document ID: 46RG5SNZ

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