LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

set access permission

Hello,

 

Is it possible to set the access permission for some specific files or folders when building an installer?

 

Thanks a lot,

 

Yi

0 Kudos
Message 1 of 4
(2,687 Views)

Hi ycui24,

 

What files or folders do you want to modify the permissions of, and what functionality are you trying to restrict? When creating the Installer from Build Specifications, there is Category for Source File Settings where you can set the file attributes as Read-Only, Hidden, etc. Is this the type of thing that you are looking for?

 

Regards,

Stephen S.

National Instruments
Applications Engineering
0 Kudos
Message 2 of 4
(2,656 Views)

I am doing a program to connect with a database. The database is included in the installer and will be installed into the program files directory (which is default). However in some cases the program files folder in C drive is restricted to visit so I was wondering can I make some selection in the installer so that once the program is installed the user can have access to that specific file without the authorization from adminstrator.

 

Thanks a lot,

0 Kudos
Message 3 of 4
(2,643 Views)

Hi Yi,

 

If your programs folder access is restricted, then any files that you write to that folder will be restricted, and this cannot be changed in the installer. If you cannot remove the restrictions on the programs folder, then you will have to install the programs that you want access to into a different location that does not have these restrictions.

 

Regards,

Stephen S.

National Instruments
Applications Engineering
0 Kudos
Message 4 of 4
(2,621 Views)