Package completion logs, Example 3, Package – Lenovo ThinkPad R50p User Manual

Page 144: Completion, Logs, Example

Advertising
background image

3.

Create

a

file

named

go.rrs

and

place

the

following

lines

in

it

but

customize

the

line

that

will

run

and

install

the

Microsoft

Quick

Fix

Engineering

or

patch.

Since

this

patch

can

only

be

installed

in

a

regular

Windows

operating

system,

this

script

prevents

the

install

from

attempting

to

run

in

Windows

Professional

Edition.

retryonerror

/on

10

InRR.exe

if

errorlevel

2

goto

ERROR

if

errorlevel

1

goto

InOS

if

errorlevel

0

goto

InPE

:ERROR

exit

1

:InOS

REM

DISABLE

NETWORKING

Netwk.exe

/d

patchinstall.exe

REM

ENABLE

NETWORKING

Netwk.exe

/e

msgbox.exe

/msg

“Patch

Installed”

/head

“Done”

/ok

exit

0

:InPE

exit

1

4.

Place

go.rrs

in

C:\ADM\PATCHBUILD

directory

and

run:

apkgmes.exe

/key

mykey.prv

C:\ADM\PATCHBUILD

PATCHBUILD

5.

Copy

PATCHBUILDYYDDHHMM.ZAP

to

your

mailbox.

6.

The

patch

will

be

installed

either

on

next

scheduled

run

of

the

mailman.exe

file

for

the

client

machine

or

on

reboot

of

the

client

machine.

Package

completion

logs

v

Fail

log

This

file

is

typically

stored

in

the

C:\Program

Files\Lenovo\Rescue

and

Recovery\ADM

directory.

If

a

zap

file

exits

with

any

non-zero

value,

it

will

be

logged

into

this

file.

v

Rescue.log

This

file

is

typically

located

in

the

C:\SWSHARE

directory.

This

file

provides

more

detailed

information

that

may

help

determine

why

a

package

may

have

failed,

or

to

make

sure

a

package

worked.

It

has

line

by

line

logging

of

what

occurs

in

a

zap

file.

v

Success

Log

This

file

is

typically

stored

in

the

C:\Program

Files\Lenovo\Rescue

and

Recovery\ADM

directory.

If

a

zap

file

exited

with

value

of

zero

then

it

is

logged

here.

Example

3

This

example

uses

an

FTP

or

HTTP

site

in

the

Predesktop

Area:

1.

Define

an

external

Web

site

for

packages:

ftp.yourmailbox.com

2.

Create

public

private

keys

See

Step

5.

3.

Add

mailbox

to

registry.

mailbox=ftp://username:[email protected]

4.

When

the

user

presses

F11

or

the

Enter

key,

to

enter

the

Predesktop

Area,

the

Antidote

Delivery

Manager

package

executes

at

boot

time

in

the

Predesktop

area.

136

Rescue

and

Recovery

4.2

Deployment

Guide

Advertising