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 needs Power user authority


6 replies to this topic

goodluck999958

goodluck999958
  • Members
  • 13 posts

Posted 18 August 2005 - 11:25

I create a installscript project with only copy one file into application folder,
the installation is finished without error, but when I use the windows account of user group, an error 80040706 occurs !

But when I use MSI project, if I don't register dll, the windows account of user group can install without any error.

Where I can modify to let installscript project can be installed use the windows account of user group ? sad.gif



Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 22 August 2005 - 10:53

Restricted users don't have write access to ProgramFilesFolder and subfolders thereof (unless you modified the permissions). Therefore restricted users won't be able to copy files there, not with InstallScript neither with MSI. So there must be something different.
Note that an administrator can enable a restricted user to install msi based setups with "elevated privileges" which will enable him to copy files there. Maybe that policy is set on your set machine?

goodluck999958

goodluck999958
  • Members
  • 13 posts

Posted 23 August 2005 - 10:43

In my simple InstallScript projects

I have only copy one file and set the TARGETDIR to c:\TEST11, no shortcut is set.
I log on as Restricted users then install,
during copying data....., an error 0x80040706 object reference isn't set.

How can debug this error ?
I don't see any file copied into ProgramFilesFolder and subfolders.

Help !

goodluck999958

goodluck999958
  • Members
  • 13 posts

Posted 23 August 2005 - 10:44

In my simple InstallScript projects

I have only copy one file and set the TARGETDIR to c:\TEST11, no shortcut is set.
I log on as Restricted users then install,
during copying data....., an error 0x80040706 object reference isn't set.

How can debug this error ?
I don't see any file copied into ProgramFilesFolder and subfolders.

Help !

goodluck999958

goodluck999958
  • Members
  • 13 posts

Posted 23 August 2005 - 10:46

continued above......

If install in administrator then no error happened.

Help ! Please.

goodluck999958

goodluck999958
  • Members
  • 13 posts

Posted 23 August 2005 - 11:21

continued above......

I trace the script then found the error happens in FeatureTransferData,
how can I know which files cause the error ?

Help ! Thanks.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 24 August 2005 - 18:10

Not sure what's causing this exact error message. However I'm pretty sure that a restricted user is not allowed to write to c:\TEST11 or qnywhere else except his own user profile folder (plus shared folders and things like the temp folder)