PDA

View Full Version : Install with data folder


Edvard Korsbęk
03-07-2005, 11:57 PM
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, 03: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, 05: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, 07: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, 02:37 AM
:) THANKS - Now I begin to catch hold on it.

Best regards

Edvard