Lenovo ThinkPad R50p User Manual

Page 76

Advertising
background image

2.

Modify

this

application.xml

file

for

the

application

and

applications

settings

that

you

want

to

migrate.

3.

Modify

the

information

in

the

<Applications>

section.

4.

Modify

the

<Name>

and

<Verison>

commands

in

the

<Application

Shortname=Shortname>

section.

5.

Determine

the

registry

keys

that

must

be

migrated:

a.

Click

Start

,

and

then

click

Run

.

The

Run

window

opens.

In

the

Open

field,

type

regedit

and

click

OK

.

The

Registry

Editor

window

opens.

b.

In

the

left

pane,

expand

the

HKEY_LOCAL_MACHINE

node.

c.

Expand

the

Software

node.

d.

Expand

the

vendor-specific

node,

for

example,

Adobe

.

e.

Continue

navigating

until

you

have

located

the

registry

key

for

the

application.

In

this

example,

the

registry

key

is

SOFTWARE\Adobe\

Acrobat

Reader\6.0.

f.

Set

the

value

of

theDetect

field.

For

example:

<Detects>

<Detect

<hive>HKLM</hive>

<keyname>Software\Adobe|acrobat

Reader\6.0<keyname>

</Detect

</Detects

6.

Modify

the

name

and

version

commands

in

the

Install_Directories

section.

7.

Determine

the

path

to

the

installation

directories

for

the

application.

a.

From

the

Registry

Editor

window,

navigate

to

the

HKLM\SOFTWARE\

Adobe\Acrobat

Reader\6.0\InstallPath

node.

b.

Add

the

appropriate

command

to

the

Install_Directories

section

of

the

application

file.

For

example:

<Install_Directory>

<OS>WinXP</OS>

<Registry>

<hive>HKLM</hive

<keyname>Software\Adobe\Acrobat

Reader\6.0\InstallPath</keyname>

<value>(Default)</value>

</Registry>

</Install_Directory>

Note:

If

you

do

not

find

an

application-specific

directory

in

the

HKLM\Software\Microsoft\Windows\CurrentVersion\AppPaths

directory,

you

must

locate

a

directory

that

contains

the

installation

path

elsewhere

in

the

HKLM\Software

tree.

Then,

use

that

key

in

the<Install_Directories>

section

8.

In

the

<Files_From

Folders>

section,

specify

the

customization

files

you

want

to

migrate.

a.

Since

many

applications

by

default

save

files

in

the

Documents

and

settings

subdirectory,

check

the

Application

data

directory

for

directories

that

pertain

to

the

application.

If

one

exists,

you

can

use

the

following

command

to

migrate

the

directory

and

files:

<Files_From_Folder>SMAvariable\Location\[File]

[/s]

</Files_From_Folder>

where

Location\

is

a

fully

qualified

file

or

directory,

and

[File]

is

an

optional

parameter

that

can

be

used

only

if

Location\

specifies

a

directory.

In

the

Adobe

Reader

example,

the

customization

files

are

in

the

Preferences

directory.

68

Rescue

and

Recovery

4.2

Deployment

Guide

Advertising