LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating Distribution Package that does not require admin privledges in CVI 8.0

I just wanted to clarify that you are having the same issue as the original post on the forum; however with LabWindows CVI 15.0.

 

The distribution kit of LabWindows CVI 8.0 and greater does require administrative privileges to install. The reason why it asks for this in LabWindows CVI 15.0 is the same as why it asks in LabWindows CVI 8.0. That being “The new framework introduced in CVI 8.0 always writes registry keys to HKLM during installation, and this means admin privileges.”

 

http://digital.ni.com/public.nsf/allkb/7DB0F74A94EBCAF78625701A0074FC39

 

That being said, this is specifically talking about each time the distribution is installed, is this what is happening in your case?

Sarina
Applications Engineering
National Instruments
0 Kudos
Message 11 of 16
(1,940 Views)

I Built Application Using cvi15 and evry time launching in user account its asking Admin Username and Password.

 

How you will give your admin pasword to userSmiley Wink

Spoiler
 
0 Kudos
Message 12 of 16
(1,933 Views)

Can you tell us a little about the application, what specific drivers are being used in the program? As per the Readme file for LabWindows CVI 2015 (http://www.ni.com/pdf/manuals/374674b.html ), some functions may require being run as an administrator.

 

If you were to launch it in a user’s account but launch the .exe as an admin, does the exe run with the expected behavior?

 

Another step to take would be to build an example project and try and run it on the user’s computer and see if the issue persists.

 

In general, you might get more community involvement if you create a new forum post, since this is different than the original post.

Sarina
Applications Engineering
National Instruments
0 Kudos
Message 13 of 16
(1,915 Views)

Hello Sarina

Which Driver file you asking  ?I can  Creat simple Exe by Creat Disrtibution kit or just build exe?

 

 

 

Thank you

Sudheer Acharya

0 Kudos
Message 14 of 16
(1,910 Views)

If you build a distribution, when the users installs it, it will require administrative privileges. However what you can do is just run the specific program as an administrator, meaning that that don’t need administrative privileges for all the programs on the computer. That way that user will be able access the registry keys to HKLM when the installation takes place.

 

Secondly depending on the application you can just transport the .exe from a simple build to the user computer. However this will not work if there are other files that are being called from the program, since the distribution packages the programs together.

Sarina
Applications Engineering
National Instruments
Message 15 of 16
(1,890 Views)

Okay i will Check and let you know

0 Kudos
Message 16 of 16
(1,885 Views)