# nstall$ParameterX where X is 0-3 can be used to provide substitutions
# for parameters %0 - %3 in string values

# Global values

# User will usually be prompted to reboot, assuming !System has been upgraded.
# This can be disabled by setting a given variable
NoRebootIf:nstall$NoReboot

# Initial message
Welcome:This program will install ArtToSpr and ensure your system resources are sufficiently up to date to run them. Click Next to begin.

# Total number of items. Some may not be installed. Each item is referred to by
# its number, starting from 0
NumberOfItems:5

NumberOfDiscs:2

# Name of each disc for user prompts
DiscHumanName0:ArtToSpr installation disc 1
DiscHumanName1:ArtToSpr installation disc 2

# Number of locations asked for
NumberOfLocations:3

# In this location, which can't be excluded, a subdirectory called Scripts
# will be created and scripts etc copied there, then deleted at completion
MasterLocation:2

# Per-location settings

# Icon used for dragging. These icons should be present in the Sprites[22] files
LocationIcon0:!system
LocationIcon1:!awviewer
LocationIcon2:!arttospr

# Description/prompt.
LocationPrompt0:You appear not to have a !System already installed. Please drag the icon to where you would like the installer to create one.
LocationPrompt1:The latest Artworks rendering modules (!AWViewer) will be installed. If AWViewer is already installed, please check that the path below is correct, otherwise choose a suitable location. After installation, ensure that any redundant copies of !AWViewer are removed or upgraded.
LocationPrompt2:Please indicate where you want to install ArtToSpr. Drag the icon to its destination directory, or drag the destination directory into this window.

# Optional path, may include variables etc
LocationPath1:ArtWorksModules:^

# Leafname if LocationPath isn't used or set, or is changed
LocationLeaf0:!System
LocationLeaf1:!AWViewer
LocationLeaf2:!ArtToSpr

# Whether to exclude location if a variable is set
LocationExcludeIf0:System$Dir


# Per-component (item) settings

# Note there are 2 "System"s. The first is used if no !System is already
# installed (unlikely), the second is used to update an existing !System.

# Leafname in Items folder
ItemName0:BootPatch
ItemName1:System
ItemName2:System
ItemName3:AWView%0
ItemName4:ArtToSpr

# Disc each item is on
ItemDisc0:0
ItemDisc1:0
ItemDisc2:0
ItemDisc3:1
ItemDisc4:1

# Whether item is optional: on for install by default, off for don't install
# by default, omit if not optional
ItemOptional4:on

# Longer description of optional items, messages shown by interactive help
ItemOptionalDesc4:Makes sprites out of Artworks and Draw files

# Location number
ItemLocation1:2
ItemLocation1:0
ItemLocation2:2
ItemLocation3:1
ItemLocation4:2

# Icon used while processing this item
ItemIcon0:!system
ItemIcon1:!system
ItemIcon2:!system
ItemIcon3:!awviewer
ItemIcon4:!arttospr

# Optional installation script - leafname of script in Scripts directory.
# Arg is directory containing extracted files
ItemScript0:BootPatch
ItemScript1:Boot !System
ItemScript2:SysMerge
ItemScript3:Boot !AWViewer
ItemScript4:Boot !ArtToSpr

# Whether to exclude item if a variable is set. NB if you try to install in an
# exluded location behaviour is undefined, but will probably result in items
# being installed in the wrong place.
ItemExcludeIf0:nstall$NotSelect
ItemExcludeIf1:System$Dir
ItemExcludeIf2:nstall$NoSysMerge

# Leaf name of directory each item is installed in, relative to its location,
# including leading .

ItemLeaf0
ItemLeaf2:.Scripts
ItemLeaf1
ItemLeaf3
ItemLeaf4:.^
