This doesn't seem to me to be anything to do with the setup - and anyway
setups don't cause a security breach by allowing a limited user to run an
app as though they were an administrator.
Your app just needs to be coded to know what folders and registry locations
can be used by limited users. Example: a common error is to attempt to
create files in the installation folder (Program Files\.....etc) but limited
users don't have write access to this folder. That's why there are folders
in Documents & Settings for this situation. The same is true of most entries
in HKLM, which is why you should be using HKCU.

Signature
Phil Wilson
[Microsoft MVP Windows Installer]
>I have created a setup project in VS2003 which installs my small
> application.
[quoted text clipped - 10 lines]
> links or making all users administrative or something alike. I just
> want my application by default to be runnable by all.
Marcus - 12 Sep 2006 08:43 GMT
Phil Wilson skrev:
> This doesn't seem to me to be anything to do with the setup - and anyway
> setups don't cause a security breach by allowing a limited user to run an
[quoted text clipped - 6 lines]
> in Documents & Settings for this situation. The same is true of most entries
> in HKLM, which is why you should be using HKCU.
ok, thanks. I did not know that Program folder had restricted access
for limited users. I will try re-arrange folders and files in my
application to use the "documents and settings/all users/application
data/myAppDir/" path
Please see my recent post "How do I add a directory in VS2003 setup
project", cause I am having problems with creating the "documents and
settings/all users/application data/myAppDir/" folder.
I really hope you can help me out.
thanks.