Lenovo ThinkPad Z60m (English) Rescue and Recovery 4.5 Deployment Guide - Page 52

ThinkVantage, Technologies XML/ADM Supplement, for more information.

Page 52 highlights

:: Explode the WWW EXE to the directory c:\SWTOOLS start /WAIT %SOURCEDRIVE%\%BUILDID% /a /s /v"/qn TARGETDIR=c:\SWTOOLS" Copy z936ZAB10YYUS00.tvt and Z333ZAA10ZZUS00.tvt to c:\SWTOOLS\ (where YY and ZZ are build IDs) copy z936ZAB10YYUS00.tvt to c:\SWTOOLS copy Z333ZAA10ZZUS00.tvt C: to c:\SWTOOLS If you want installation for supported languages besides US, copy z936ZAB10YYUS00.tvt to c:\SWTOOLS (where YY is the build ID and CC is the country code). copy z936ZAB10YYUS00.tvt to c:\SWTOOLS 2. You can make many customizations before the installation of the Rescue and Recovery program. Some examples in this scenario are: • Change maximum number of incremental backups to 4. • Set the Rescue and Recovery program to perform an incremental backup every day at 1:59 p.m. to the local hard disk drive and call it Scheduled. • 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: • Copy the custom rnrdeploy.xml file into the installation package created in the c:\SWTOOLS directory: • Perform a silent installation of the Rescue and Recovery program without a reboot at the end. • Start the Rescue and Recovery program so that a base backup can be performed. • 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). • Create the ISO image. • 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:\SWTOOLS\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:\SWTOOLS\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=.PYW;.PYO;.PYC;.PY set TCL_LIBRARY=%SystemDrive%\Program Files\Common Files\Lenovo\Python24 \tcl\tcl8.4 set TK_LIBRARY=%SystemDrive%\Program Files\Common Files\Lenovo\Python24 \tcl\tk8.4 set PYTHONCASEOK=1 set RR=C:\Program Files\Lenovo\Rescue and Recovery\ set PYTHONPATH="C:\Program Files\Common Files\Lenovo\Python24" :: The next line will create the ISO silently and not burn it C:\Program Files\Common Files\Lenovo\Python24\python C:\Program Files\Common Files\Lenovo\spi\mkspiim.pyc :: Take the base backup... service must be started c: cd "C:\Program Files\Lenovo\Rescue and Recovery" RRcmd.exe backup location=L name=Base level=0 :: Reboot the system C:\Program Files\Common Files\Lenovo\BMGR"/bmgr32.exe /R 46 Rescue and Recovery 4.5 Deployment Guide

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86

´´ ([SORGH WKH ::: (;( WR WKH GLUHFWRU\ F´?6:722/6
VWDUW ±:$,7 ·6285&('5,9(·?·%8,/','· ±D ±V ±Y³±TQ 7$5*(7',5°F´?6:722/6³
&RS\ ]½ÂÀ=$%µº<<86ºº²WYW DQG =ÂÂÂ=$$µº==86ºº²WYW WR F´?6:722/6?
ÃZKHUH << DQG == DUH EXLOG ,'VÄ
FRS\ ]½ÂÀ=$%µº<<86ºº²WYW WR F´?6:722/6
FRS\ =ÂÂÂ=$$µº==86ºº²WYW &´ WR F´?6:722/6
,I \RX ZDQW LQVWDOODWLRQ IRU VXSSRUWHG ODQJXDJHV EHVLGHV 86Å
FRS\ ]½ÂÀ=$%µº<<86ºº²WYW WR F´?6:722/6
ÃZKHUH << LV WKH EXLOG ,' DQG && LV WKH FRXQWU\ FRGHIJ
FRS\ ]½ÂÀ=$%µº<<86ºº²WYW WR F´?6:722/6
2. You can make many customizations before the installation of the Rescue and Recovery program.
Some examples in this scenario are:
Change maximum number of incremental backups to 4.
Set the Rescue and Recovery program to perform an incremental backup every day at 1:59 p.m. to
the local hard disk drive and call it Scheduled.
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:
Copy the custom rnrdeploy.xml file into the installation package created in the c:\SWTOOLS directory:
Perform a silent installation of the Rescue and Recovery program without a reboot at the end.
Start the Rescue and Recovery program so that a base backup can be performed.
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).
Create the ISO image.
Create the base backup and reboot the system.
5. Modify the install.cmd code. The following represents the code for install.cmd:
´´ &RS\ FXVWRP UQUGHSOR\²[PO KHUH
FRS\ UQUGHSOR\²[PO ³F´?6:722/6?3URJUDP )LOHV?/HQRYR?5HVFXH DQG 5HFRYHU\³
´´ ,QVWDOO XVLQJ WKH 06, ZLWK QR UHERRW Ã5HPRYH ³5(%227°³5³³ WR IRUFH D UHERRWÄ
VWDUW ±:$,7 PVLH[HF ±L ³F´?6:722/6?5HVFXH DQG 5HFRYHU\²PVL³ ±TQ 5(%227°³5³
´´ 6WDUW WKH VHUYLFH² 7KLV LV QHHGHG WR FUHDWH D EDVH EDFNXS²
VWDUW ±:$,7 QHW VWDUW ³5HVFXH DQG 5HFRYHU\ 6HUYLFH³
´´ 0DNH DQ ,62 úOH KHUH » ,62 ZLOO UHVLGH LQ F´?3URJUDP )LOHV?/HQRYR?5HVFXH DQG
5HFRYHU\?UUFG
Note:
You do not need to set up the environment if the system is rebooted.
´´ 6HW XS WKH HQYLURQPHQW
VHW 3$7+°·6\VWHP'ULYH·?3URJUDP )LOHV?&RPPRQ )LOHV?/HQRYR?3\WKRQÁ¸
VHW 3$7+(;7°²3<:Dz3<2Dz3<&Dz3<
VHW 7&/B/,%5$5<°·6\VWHP'ULYH·?3URJUDP )LOHV?&RPPRQ )LOHV?/HQRYR?3\WKRQÁ¸
?WFO?WFO¾²¸
VHW 7.B/,%5$5<°·6\VWHP'ULYH·?3URJUDP )LOHV?&RPPRQ )LOHV?/HQRYR?3\WKRQÁ¸
?WFO?WN¾²¸
VHW 3<7+21&$6(2.°µ
VHW 55°&´?3URJUDP )LOHV?/HQRYR?5HVFXH DQG 5HFRYHU\?
VHW 3<7+213$7+°³&´?3URJUDP )LOHV?&RPPRQ )LOHV?/HQRYR?3\WKRQÁ¸³
´´ 7KH QH[W OLQH ZLOO FUHDWH WKH ,62 VLOHQWO\ DQG QRW EXUQ LW
&´?3URJUDP )LOHV?&RPPRQ )LOHV?/HQRYR?3\WKRQÁ¸?S\WKRQ
&´?3URJUDP )LOHV?&RPPRQ )LOHV?/HQRYR?VSL?PNVSLLP²S\F
´´ 7DNH WKH EDVH EDFNXS²²² VHUYLFH PXVW EH VWDUWHG
FG ³&´?3URJUDP )LOHV?/HQRYR?5HVFXH DQG 5HFRYHU\³
55FPG²H[H EDFNXS ORFDWLRQ°/ QDPH°%DVH OHYHO°º
´´ 5HERRW WKH V\VWHP
&´?3URJUDP )LOHV?&RPPRQ )LOHV?/HQRYR?%0*5³±EPJUÂÁ²H[H ±5
46
Rescue and Recovery 4.5 Deployment Guide