Lenovo ThinkPad T410 (Japanese) Rescue and Recovery 4.3 Deployment Guide - Page 69

install MSI, install.cmd, rnrdeploy.xml, c¥SWTOOLS, Rescue and Recovery, Rescue and Recovery CD

Page 69 highlights

4. install MSI install.cmd v ΧελϜͷ rnrdeploy.xml ϑΝΠϧΛ c¥SWTOOLS v Rescue and Recovery v Rescue and Recovery v Rescue and Recovery CD ͷ ISO v ISO v PC 5. install.cmd 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 ஫: Rescue and Recovery PC Set up the environment set PATH=%SystemDrive%¥Program Files¥Common Files¥Lenovo¥Python24 set PATHEXT=%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 ୈ 4 61

  • 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
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112

4.
install MSI
ファイルと同じディレクトリーに
install.cmd
ファイルを作成しま
す。これは以下のいくつかのアクションを実行します。
v
カスタムの
rnrdeploy.xml
ファイルを
c¥SWTOOLS
フォルダーに作成された
インストール・パッケージにコピーします。
v
インストール後に再起動を行わない
Rescue and Recovery
のサイレント・イン
ストールを実行します。
v
Rescue and Recovery
を起動して、基本バックアップを実行します。
v
サービスが開始されたら、
Rescue and Recovery CD
ISO
イメージを作成す
る環境をセットアップします
(
これは通常、再起動の一部として実行されま
)
v
ISO
イメージを作成します。
v
基本バックアップを作成し、
PC
を再起動します。
5.
install.cmd
コードを変更します。以下に
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
:
Rescue and Recovery
のインストール後に
PC
を再起動する場合、以下の環
境変数の設定は不要です。
:: Set up the environment
set PATH=%SystemDrive%¥Program Files¥Common Files¥Lenovo¥Python24
set PATHEXT=%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
4
章 ベスト・プラクティス
61