Scripting Question

help needed on hot fix ..

09/04/2014 2241 views

i am pacakging hot fix and installation,uninstallation is not a problem but cant create logging. used commend line is Windows6.xxxxxxx86.msu //quiet //norestart /log "%temp%\c\hotfix.log" ?  works fine but no logging. can anyone tell me how i can enable logging? searched /? it displays /log <file name>. tried that way too but no luck.

appreaciate responses thanks
0 Comments   [ + ] Show comments


All Answers


not sure if its the way its been copied into your question, but it looks like your quotes are backwards on the logging.

Why double back slashes???

I would guess the logging is not happening because you are putting the log file into %temp%\c. Do you have a C folder in the Temp dir???

Answered 09/05/2014 by: Badger
Red Belt

If the log isn't appearing during a command line installation, then you almost certainly have an issue with your command string. If however it's failing during installtion using a deployment system, e.g. SCCM, then you should know that these systems almost always use the local System account which means that %TEMP% effectively points to nowhere. Use %SystemRoot%\TEMP instead.
Answered 09/06/2014 by: VBScab
Red Belt

You are using wrong syntax:

Just to work on that ans you should have log created for msu.

wusa.exe msufile(complete path) /quiet /norestart /log c:\temp.. (if there is some space in location use quotes)
Windows6.xxxxxxx86.msu //quiet //norestart /log "%temp%\c\hotfix.log" - See more at: http://www.itninja.com/question/help-needed-on-hot-fix#sthash.EdZIH5eR.dpuf
Windows6.xxxxxxx86.msu //quiet //norestart /log "%temp%\c\hotfix.log" - See more at: http://www.itninja.com/question/help-needed-on-hot-fix#sthash.EdZIH5eR.dpuf
Answered 09/06/2014 by: rock_star
3rd Degree Black Belt

  • yes it creates a log file. but its blank log file......
    • Not sure why its like that . Do check if there is some issue with that msu . Can you let us know the exact name .
      • Windows6.1-KB2667241-v3-x86.msu AND Windows6.1-KB2667241-v3-x64.msu. The command supports for logging but creates log which is not in english launguage.
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ