Installation log files, Installation examples – Lenovo ThinkPad R61i User Manual

Page 17

Advertising
background image

msiexec /i "C:\WindowsFolder\Profiles\UserName\
Personal\MySetups\project name\product configuration\release name\
DiskImages\Disk1\product name.msi"

Note:

Enter the preceding command as a single line with no spaces following the

slashes.

For information on command line parameters and public properties, go to the
Microsoft Web site at:
http://www.microsoft.com

Installation log files

The log file rrinstall40.txt is created in the %temp% directory if the setup is
launched by the setup.exe file (double click the main install.exe file and then run
the main executable without parameters, or extract msi and run the setup.exe file).
This file contains log messages that can be used to debug installation problems.
This log file is not created when running the setup directly from the MSI package;
this includes any actions performed from Add/Remove Programs. To create a log
file for all MSI actions, you can enable the logging policy in the registry. To do this,
create the value:

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer]
"Logging"="voicewarmup"

Installation examples

The following table shows installation examples using setup.exe:

Table 1.

Description

Example

Silent installation with no reboot.

setup.exe /s /v”/qn REBOOT=”R””

Administrative installation.

setup.exe /a

Silent administrative installation specifying
the extract location for Rescue and Recovery.

setup.exe /a /s /v”/qn TARGETDIR=”F:
\TVTRR””

Silent uninstallation setup.exe /s /x /v/qn.

setup.exe /s /x /v/qn

Installation with no reboot. Create an
installation log in temp directory for Rescue
and Recovery.

setup.exe /v”REBOOT=”R” /L*v %temp%
\rrinstall40.log”

Installation without installing the Predesktop
Area setup.exe /vPDA=0.

setup.exe /vPDA=0

The table below shows installation examples using Rescue and Recovery.msi:

Table 2.

Description

Example

Installation

msiexec /i “C:\TVTRR\Rescue and
Recovery.msi”

Silent installation with no reboot

msiexec /i “C:\TVTRR\Rescue and
Recovery.msi” /qn REBOOT=”R”

Silent uninstallation

msiexec /x “C:\TVTRR\Rescue and
Recovery.msi” /qn

Installation without installing the Predesktop
Area

msiexec /i “C:\TVTRR\Rescue and
Recovery.msi” PDA=0

Chapter 2. Installation

9

Advertising