11.07.2015 Views

using the Package Builder - Community - LANDesk

using the Package Builder - Community - LANDesk

using the Package Builder - Community - LANDesk

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

If conditionsIf $ASKn$If $SYSn$If $variable$If CPU()If DiskSpace()If FileVer()If FindModem()If CDROM()If GroupIf IsFile()If Locate()If MemoryIf SearchIfSearch(Registry)If SoundCard()If Video()If OSVer()ElseEndIfExitMessageThe $ASKn$ variable is assigned <strong>the</strong> value of whatever <strong>the</strong> user hastyped in response to an ASK command.The $SYSTEM$, $SYS2$, and $SYS3$ are assigned <strong>the</strong> values ofwhatever <strong>the</strong> user types on <strong>the</strong> command line when running <strong>the</strong>installation program.The SetVariable command assigns <strong>the</strong> value to $variable$This command detects <strong>the</strong> user's system and allows <strong>the</strong> installation toperform differently based on <strong>the</strong> type of CPU <strong>the</strong> user has.This command detects <strong>the</strong> available free space on <strong>the</strong> specified drive,and allows <strong>the</strong> installation to perform differently based on <strong>the</strong> availablespace.This command checks <strong>the</strong> timestamp or internal version number of aspecific file.This command checks for <strong>the</strong> existence of a modem on one of <strong>the</strong> serialports on <strong>the</strong> user's system.This command determines whe<strong>the</strong>r a CDROM drive is installed on <strong>the</strong>end-user’s systemhe Group command sets up groups that a user can select from.The If IsFile("[path]filename") command checks for <strong>the</strong> existence of a filewithin a specific directory on <strong>the</strong> user's system.The If Locate("filename", drive/dir) command searches <strong>the</strong> user’s systemfor a specific file. It will search all directories on some or all drives.This command checks <strong>the</strong> RAM of <strong>the</strong> computer.This command searches a text file for a specified text string.This command searches <strong>the</strong> registry for a specified key and name and<strong>the</strong>n stores <strong>the</strong> string value in specified variables.This command checks for <strong>the</strong> existence of a sound card on one of <strong>the</strong>serial ports on <strong>the</strong> user's system.This command allows you to create an IF condition based on three valuesof <strong>the</strong> computer’s video display capabilityThis command allows you to create an IF condition based on <strong>the</strong> enduser’s operating system.This command creates an “else” condition within an IF statementThis command is required to mark <strong>the</strong> end of an IF statement.This command enables you to terminate <strong>the</strong> installation based on <strong>the</strong>evaluation of an IF statement.Defaults & CallsBlankLineFontNameOverWriteFileProgressBarThis command adds a blank line to <strong>the</strong> script. It has no effect onexecution.This command is useful for international users because <strong>the</strong> default font(MS Sans Serif) does not display some international character sets suchas Chinese and Japanese.This command determines <strong>the</strong> default behavior for installing files thatalready exist on <strong>the</strong> user’s systemThis command is used only if you choose to manually build diskettes.Most people specify files to be installed, and let <strong>Package</strong> <strong>Builder</strong> collectfiles, compress <strong>the</strong>m, and build installation. In this case, you do not needBuilding Successful <strong>Package</strong>s - 9 - v1.0

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!