Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 7th November 2011, 10:12   #1
balamdu01
Junior Member
 
Join Date: Apr 2011
Posts: 7
Our application is not running in Limited user privilege

We install our application in admin privilege and run it in limited user privilege. We install our app in Program files/OwnApp path.

We are facing the following error message when we try to run it in Limited user privilege -

"java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary <volatile> Jet DSN for process 0x970 Thread 0xd64 DBC 0x3b3ecc Jet'."

The app uses MS Access DB for storing data, and we feel the problem is because we are unable to read from and write to the DB (which is in the install directory) and the permission is limited.

In Administrative priviledge, If we give full permission for the particular folder i.e. install directory for all the users, then we were able to run the app in limited privilege. How can we give full permission for the particular folder through NSIS code?

We are using drivers (JDBC - ODBC Bridge driver) for the DB. While opening the DB, it will read some values from the registry and proceed for the further process.

In limited user priviledge, I think it cant open the registry. And, this might be the problem.

Can some one please help out.

Thanks in advance...
balamdu01 is offline   Reply With Quote
Old 8th November 2011, 00:04   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 2,775
Try the accesscontrol plugin...

IntOp $PostCount $PostCount + 1
Anders is online now   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump