Lenovo ThinkPad R61i User Manual

Page 84

Advertising
background image

:: administrative installation.

@ECHO OFF
:: This is the name of the EXE (Without the .EXE)

set BUILDID=z652zisXXXXus00.exe

:: This is the drive letter for the z652zisXXXXus00.exe

:: NOTE: DO NOT END THE STRING WITH A "\".

IT IS ASSUMED TO NOT BE THERE.

SET SOURCEDRIVE=C:

:: Create the RRTemp directory on the HDD for the exploded WWW EXMD c:\RRTemp

:: Explode the WWW EXE to the directory c:\RRTemp

start /WAIT %SOURCEDRIVE%\%BUILDID% /a /s /v"/qn TARGETDIR=c:\RRTemp"

Copy Z652ZAB10YYUS00.tvt and Z333ZAA10ZZUS00.tvt to C:\rrtemp\

(where YY and ZZ are build IDs)

copy Z652ZAB10YYUS00.tvt to C:\RRTemp

copy Z333ZAA10ZZUS00.tvt C: to C:\RRTemp

If you want installation for supported languages besides US,

copy Z652ZAB10YYUS00.tvt to C:\RRTemp

(where YY is the build ID and CC is the country code).

copy Z652ZAB10YYUS00.tvt to C:\RRTemp

2.

You can make many customizations before the installation of Rescue and
Recovery. Some examples in this scenario are:
v

Change maximum number of incremental backups to 4.

v

Set Rescue and Recovery to perform an incremental backup every day at 1:59
p.m. to the local hard disk drive and call it Scheduled.

v

Hide the Rescue and Recovery user interface to all users not in the local
Administrators Group.

3.

Customize the default rnrdeploy.xml file. Some parameters can be modified.
See the ThinkVantage Technologies XML/ADM Supplement for more information.

4.

In the same directory as the install MSI file, create an install.cmd file, which
will perform several actions:
v

Copy the custom rnrdeploy.xml file into the installation package created in
the C:\RRTemp directory:

v

Perform a silent installation of Rescue and Recovery without a reboot at the
end.

v

Start Rescue and Recovery so that a base backup can be performed.

v

After the service is started, set up the environment to create an ISO image of
the Rescue and Recovery CD (this is normally performed as part of a reboot).

v

Create the ISO image.

v

Create the base backup and reboot the system.

5.

Modify the install.cmd code. The following represents the code for install.cmd:

:: Copy custom rnrdeploy.xml here

copy rnrdeploy.xml "c:\RRTemp\Program Files\Lenovo\Rescue and Recovery"

:: Install using the MSI with no reboot (Remove "REBOOT="R"" to force a reboot)

start /WAIT msiexec /i "c:\RRTemp\Rescue and Recovery.msi" /qn REBOOT="R"

:: Start the service. This is needed to create a base backup.

start /WAIT net start "Rescue and Recovery Service"

:: Make an ISO file here - ISO will reside in c:\Program Files\Lenovo\Rescue and
Recovery\rrcd

Note:

You do not need to set up the environment if the system is rebooted.

:: Set up the environment

set PATH=%SystemDrive%\Program Files\Common Files\Lenovo\Python24

set PATHEXT=%PATHEXT%;.PYW;.PYO;.PYC;.PY

76

Rescue and Recovery 4.21 Deployment Guide

Advertising