PDA

View Full Version : Install with data folder



Edvard Korsbæk
03-08-2005, 12:57 AM
Hi!
In Installbuilder 4, i made a variable %Datafolder%, A dialog to find the datafolder and used it as parameter for my icons.
I am sure that this is easy to do in SB5 as well, but how :confused:
Is there an example - I am quite sure, that this is a common way to make installs with one folder for program, and another for data

Edvard Korsbæk

linder
03-08-2005, 04:17 AM
Edvard,

1. Create a new variable, e.g. %DATAFOLDER%
2. Create a new Select Install Folder dialog
3. Open the Select Install Folder dialog properties and select the Advanced tab
4. Select the above %DATAFOLDER% variable in the "Store Folder in Variable" list
5. Use the variable wherever you want

Does this help?

Edvard Korsbæk
03-08-2005, 06:52 AM
'Does this help'
[Snip]
Not much unfortunately - I simply cannot find the items you describe.
Is it possible to make a sample script?

Edvard

linder
03-08-2005, 08:05 AM
Edvard,

You only have to switch to the Script Editor, create a new variable using the Set Variable script item and then create a new Select Install Folder dialog.

Edvard Korsbæk
03-09-2005, 03:37 AM
:) THANKS - Now I begin to catch hold on it.

Best regards

Edvard