I wud like to know how to move directory while installing
from c:\pf\Lotus\notes
to c:\pf\lotusnotes
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Hello,

All you need to do is create a Custom Action, with a Type value of 35.

Set the 'Source' column to the directory key (from the Directory table) you want to change (ie: 'notes' ?)

And the set the 'Target' column to the actual directory you want (ie: 'c:\pf\lotusnotes' )
Answered 05/19/2005 by: brenthunter2005
Fifth Degree Brown Belt

Please log in to comment
0
Actually, I don't think I understand 100%.

My previous comment was to set/change the old directory ('c:\pf\lotus\notes') to the new directory ('c:\pf\lotusnotes')

Are you actually asking how to rename/move a folder while installing a MSI package?
Answered 05/19/2005 by: brenthunter2005
Fifth Degree Brown Belt

Please log in to comment
0
Move a folder while installing
Answered 05/19/2005 by: skj
Second Degree Brown Belt

Please log in to comment
0
[8D]

OK, then. You need to use the MoveFile table.

The following example may help you:

MoveFile Table:
FileKey column = key1
Component_ column = component_name
SourceName column = *
DestName column = *
SourceFolder = notes (referenced from the Directory table)
DestFolder = lotusnotes (again, referenced from the Directory table)
Options = 1 (1 = Move, 0 = Copy)


Just as another point too, if you ever need to do anything in MSI's and don't know how to, always consult the Windows Installer SDK documentation. Its the best source of information and it has always helped me! [;)]
Answered 05/20/2005 by: brenthunter2005
Fifth Degree Brown Belt

Please log in to comment
Answer this question or Comment on this question for clarity