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

How To Write log file in Permission directory


2 replies to this topic

thinhtx

thinhtx
  • Full Members
  • 8 posts

Posted 21 August 2008 - 16:31

Hi all.

I want to install MSI FILE with Log file but i can not carry out because of Windows's account permission.

For example

msiexec.exe /I Setup.MSI /L c:\"Document And Settings\All Users\Templates\File.log"

For Administrator That is not problem, but with user account is alway fail install.

How can i do?
Please help me
Thanks you


THINH



Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 22 August 2008 - 11:55

Specify a different directory for the log. The user must have write permissions to that folder, e.g. the user's documents folder instead of all users.

Zweitze

Zweitze
  • Full Members
  • 522 posts

Posted 25 August 2008 - 11:38

To create a log file in the temp folder of the installing user, try
msiexec.exe /I Setup.MSI /L "%TEMP%\File.log"