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

Account used by Installshield


2 replies to this topic

pmurphy

pmurphy
  • Members
  • 2 posts

Posted 05 April 2004 - 16:17

We create some directories during our install. After install the user could have changed permissions on those folders. When we go to do an upgrade or an install of a different component our installer sometimes bombs with a permissions error on the folders. The installs are being run by a user in the local admin group or the local admin account, either way permissions causes a problem.

When the local admin is installing the software and the only permission on the folder is Full for the local admin the install still fails. Which leads me to believe that the installer does not run under the account of the person isntalling the application. But after researching I can not find who the installer impersonates as it install the software. Anyone have an idea?

hteichert

hteichert
  • Members
  • 158 posts

Posted 07 April 2004 - 15:25

At least the "SYSTEM" account also needs full access.
By the way: How do your normal users run the installed software if they are not administrators because they don't have any access rights?
h.teichert-ott

Glytzhkof

Glytzhkof
  • Moderators
  • 1,447 posts

Posted 28 May 2004 - 13:49

The actual transaction that changes the system is run as LocalSystem (SYSTEM) on WinNT based systems. You could write a custom action to reset the file and folder permissions before installing, but to be honest with you this is really the users fault. They shouldn't change the access rights on your installation after install. You could call cacls.exe to change the access rights: http://support.micro...kb;EN-US;135268

Edited by Glytzhkof, 29 May 2004 - 06:29.

Regards
-Stein Åsmul