LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

installer and ini files in Vista

Hello,

 

I have develloped an application (LabVIEW 8.5 in Windows XP), this application saves default settings in an *.ini file.

 

In order to install this application on machine, I created an installer which also intall the *.ini files in the required directory.

The Installer works perfectly in XP. It reads the ini files from the correct directories and changes the *.ini files if required.

 

However in Vista I have an error message (from my software) because it cannot access the files. I have checked and the files are here but the permission is set to read only.

If I change the permission for the files then the software is able to read the files.

If I install the software direcly on the C drive in a folder C:\Program Name\, then the files are not read only and the software runs

 

Is it possible to install a program in c:\Program files\ Program Name in Vista and change the access rights for the ini files? Or is there another way to install the ini files so that the user can access those.

 

Thank you

 

Etienne

0 Kudos
Message 1 of 2
(2,465 Views)
Sounds like you're running into UAC restrictions on Vista. In order to install into "C:\Program Files" on Vista you need admin rights. Note that User/Admin on Vista is not the same as full admin.
0 Kudos
Message 2 of 2
(2,446 Views)