Windows installer logs

 

 

Windows installer logs

Windows installer logs are usually kept in the temp folder, you can get to this by going to run or an explorer bar and type the location as %temp%.

The default folder for this is:

C:\Users\<username>\AppData\Local\Temp

From This MS Support page:

To enable Windows Installer logging yourself, open the registry with Regedit.exe and create the following path and keys:

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer

Reg_SZ: Logging

 

Value: voicewarmupx

 

The letters in the value field can be in any order. Each letter turns on a different logging mode. Each letter's actual function is as follows fo r MSI version 1.1:

v - Verbose output

o - Out-of-disk-space messages

i - Status messages

c - Initial UI parameters

e - All error messages

w - Non-fatal warnings

a - Start up of actions

r - Action-specific records

m - Out-of-memory or fatal exit information

u - User requests

p - Terminal properties

+ -Append to existing file

! - Flush each line to the log

x - Extra debugging information. The "x" flag is available only on Windows Server 2003 and later operating systems, and on the MSI redistributable version 3.0, and on later versions of the MSI redistributable.

 

"" - Wildcard, log all information except for the v and the x option. To include the v and the x option, specify "/lvx".

 

Note This should be used only for troubleshooting purposes and should not be left on because it will have adverse effects on system performance and disk space. Each time you use the Add/Remove Programs tool in Control Panel, a new Msi*.log file is created.

 

Please note that the above is just for MSI files or setups that take advantage of the Windows Installer. Some others will also create log files either in the temp folder, their application directory or the root of the hard drive. There is no one answer fits all.

 

You can also have the installer write an installation log wherever you like, as needed, without modifying the registry. Run the installer msiexec from the command line with the /L option. For example,

msiexec /i C:\Users\myusername\Downloads\somepackage.msi /L*v install.txt

 

This will run the install script and write all logging info (verbose) to the file install.txt

 

The options for the /L flag are:

i : Logs status messages.
w : Logs nonfatal warnings.
e : Logs all error messages.
a : Logs startup of actions.
r : Logs action-specific records.
u : Logs user requests.
c : Logs initial user interface parameters.
m : Logs out-of-memory.
p : Logs terminal properties.
v : Logs verbose output. To use v, specify /L*v.
+ : Appends to existing file.
! : Flushes each line to the log.
* : Logs all information except for the v option. This is a wildcard.

Source: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/msiexec.mspx

Although the Microsoft support page references Windows XP, I have confirmed that this works for Windows 7.

 

From <https://superuser.com/questions/180281/what-folder-are-installation-logs-in>

 

Windows 2000/2003

  1. In the Registry editor, navigate to the following location:

    HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer
  2. Under the Installer key, create a String value named Logging.
  3. Edit the value of the string and type in the following:

    voicewarmup
  4. Remove all files from the %temp% directory. The log files default to the location: C:\Documents and Settings\Administrator\Local Settings\Temp
  5. Run the Symantec Mail Security for Microsoft Exchange installer.

 

Windows 2008/Windows 7

 

  1. Start > Run and type gpedit.msc to open the group policy manager.
  1. Expand Computer Configuration -> Administrative Templates -> Windows Components -> Windows Installer.
  2. Select Logging choose the Enabled option box and type voicewarmupx without quotes.
  3. Once you have generated the requested install log, disable the "Logging" option by reversing the steps.

Windows 2012/Windows 8

 

1.Start > Run and type gpedit.msc to open the group policy manager.

2.Expand Computer Configuration -> Administrative Templates -> Windows Components -> Windows Installer.

 

3.Select "Specify the types of events Windows Installer records" choose the Enabled option box and type iwearucmpvox without quotes.

4.Once you have generated the requested install log, disable the "Logging" option by reversing the steps.

 

 

When the installation/uninstallation completes or you see an error message, locate the four (4) MSIxxxxx. log files created in the Temp folder. Send the four MSIxxxxx.log files and the SMSMSExx_Setup.log file to the Symantec Technical Support agent who requested the logs. The default path is:

Windows 2000/2003: C:\Documents and Settings\<Username>\Local Settings\Temp

Windows 2008/Windows 7: c:\users\<username>\appdata\local\temp

NOTE:  You can also use the environment variable %TEMP% in Windows Explorer.

 

Where SMSMSExx_Setup.log refers to the version of the Symantec Mail Security for Microsoft Exchange installed.

 

 

Note: If you install the product remotely, the installation log appears in the Windows\Temp directory.

 

 

 

From <https://knowledge.broadcom.com/external/article?legacyId=tech82257>

 

 

 

Created with OneNote.

No comments:

Post a Comment

Removing tiered storage spaces - Windows Server 2022

As part of the work I have done in my homelab with tiered storage on Server 2022 storage spaces , here is a script I created that allows you...