Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Installation user rights problem


4 replies to this topic

Sickboy

Sickboy
  • Members
  • 10 posts

Posted 19 April 2005 - 15:33

Hi everyone,

i just found out how to install my App.msi to all users (ALLUSER=1 option).
It works fine. I can see the icons on the desktop of all users and so on.

BUT ohmy.gif

i don't find a way to set the installed folder (subfolders, files,...) permissions to Modify and Write for a normal user or a poweruser. blink.gif

Any way to do this with the installer ?


Thanks in advance
Sickboy


Using:
Visual Installer 1.1
Orca

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 20 April 2005 - 08:52

You can add rows to the LockPermissions table to grant rights.

Sickboy

Sickboy
  • Members
  • 10 posts

Posted 20 April 2005 - 13:14

First of all, thx for your reply!

I tried to find some information how to use it but without success.
Do you know a website where it is explained or can you give me a little example
for the row entries ?

I see:
Lock Object | Table | Domain | User | Permission


thank you

Sickboy

Sickboy
  • Members
  • 10 posts

Posted 20 April 2005 - 15:42

i found this microsoft support page concerning LockPermissions:
http://support.micro...kb;en-us;288975

Now it works for files but not for folders dry.gif

It should work for File, CreateFolder & Registry tables.

But my CreateFolder table is empty and in the file table are just files.
However, if i install my application alot of folder will be created.

APP_DIR\[CompanyName]\[SOFTWARE_NAME]\[APP_SUBDIR]

Following attempt fails too:

LockObject | Table | Domain | User | Permission |
----------------------------------------------------------------------------
TARGETDIR | Directory | | Everyone | 268435456 |


Any idea how to get it work ?

thx in advance

Edited by Sickboy, 20 April 2005 - 16:10.


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 21 April 2005 - 20:52

So you have to add a row to the CreateFolder table for your TARGETDIR.