12-21-2015 02:19 PM
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?
12-21-2015 09:27 PM
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 user
12-22-2015 05:39 PM
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.
12-22-2015 10:50 PM
Hello Sarina
Which Driver file you asking ?I can Creat simple Exe by Creat Disrtibution kit or just build exe?
Thank you
Sudheer Acharya
12-23-2015 05:38 PM
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.
12-23-2015 09:57 PM
Okay i will Check and let you know