skj
Posts: 40
Joined: Thu Apr 07, 2005 11:08 am

Set Directory Custom Action

I wud like to know how to move directory while installing
from c:\pf\Lotus\notes
to c:\pf\lotusnotes
UdreaMihai
Posts: 90
Joined: Wed Mar 23, 2005 8:13 am

Hi,

In order to change the location of a folder during install, you can use the "Directory Set With Formatted" build in custom action.

1. Add the "CostFinalize" standard action to the Install Sequence tree, using "Show Standard Action">"Before Initialization">"CostFinalize".

2. Use the "New Custom Action">"Directory Set With Formatted" menu item.
Select the folder whose location you want to change and then, in the Formatted Text, enter your new location, let say:
[ProgramFilesFolder]lotusnotes .

The content of that folder will be installed in "X:\Program Files\lotusnotes".

Best,
Mihai
Udrea Mihai
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”