Archive: permission for installer


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


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.