Old 14th February 2007, 18:32   #1
JamesKiller
Senior Member
 
Join Date: Jan 2007
Posts: 125
permission for installer

Hi,

Regarding the installer, we have one option to let users select if this installer is for all users. If unselect this option, then the installer is only for current user. and when another user log in, he can't run it and use the application we installed using our installer.

How to control ?????
Any hints is appreciated.


James
JamesKiller is offline   Reply With Quote
Old 14th February 2007, 19:33   #2
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
hmm when you offer the option to install for all users what is the point to deny user B to run the application if it is installed by user A?
As far as I know this happens with applications which registered for user A so when user B attempts to run the app a new registration is required.
Anyway one possible solution is when app installed writes some installation info in current user registry and InstallDirRegKey in all users.
So when application is executed by user B should read the InstallDirRegKey and if cannot read the other installation info, denies execution and prompts to run installer.

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine 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