Old 13th November 2018, 20:29   #1
jllbee
Junior Member
 
Join Date: Nov 2018
Posts: 2
How to Pass logon and Pasword

First off - I'm New to NSIS, Thank you for your Help.
I would like to build 1 installer that will list Multipal "Access Databases", and let the user choose which one's to install. the DB's are in a Admin folder and user does not have access to them. How do I Pass the Admin Logon and Password to the file server to copy the DB's to there Workstation?
Thanks
JL
jllbee is offline   Reply With Quote
Old 13th November 2018, 23:45   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,926
Multipal? multiple?

What kind of fileserver? SMB/CIFS? WebDAV? FTP?

Why can't you just run the installer as Admin?

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 14th November 2018, 14:23   #3
jllbee
Junior Member
 
Join Date: Nov 2018
Posts: 2
USer has no Admin access

It is a Windows Server 2008 File Server. The Issue is that the USer are running the Access Database Front-Ends from the FE folder on the server and not copying them to there Desktop. When they do this is creates a lock file on the server and then when other try to do the same it causes Corruption. I would like to Lock the FE folder down to Admins only, then use the installer with an admin logon to copy the database to there desktop. This way they do not have access to the FE folder. Just can't figure out how to pass the logon and password from the installer to allow this.
jllbee is offline   Reply With Quote
Old 14th November 2018, 16:34   #4
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,926
Why not just make the files read-only for non-admins, then you can copy them normally.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast 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