home *** CD-ROM | disk | FTP | other *** search
- LATE BREAKING INFORMATION ABOUT INSTALIT/MEDIABUILDER
- INSTALIT 2.09G+ - MediaBuilder 2.10+
-
-
- OUR FAX NUMBER
-
- By fax, you can reach us at (205)881-7787. See the Developer's Guide for
- details of our BBS.
-
- NEW MEDIABUILDER PVD [INSTALLER] WRINKLE
-
- If you're running MediaBuilder version 2.1 or higher, you can include the
- following line inside PVDs in order to specify that a specific installer
- executable is the one which should be placed on the distribution media and
- renamed...that is...something other than INSTALIT as the source name.
-
- [Installer] installer_name as target_name
-
- PROBLEMS WITH "INSERT DISKETTE FOR"
-
- If you use BernoulliAsFixed and RequireFixed, you may find some extraneous
- requests for media insertion. The only current solution is to not use
- BernoulliAsFixed. You can also query whether any Bernoulli drives are
- present and use the new DefineDrive instruction described below.
-
- NEW ASPECTS FOR FULLPATHTO
-
- FullPathTo works with both string and directory variables. For example:
-
- [DirX] := FullPathTo file_name_with_no_path {PathOnly}
- [StringX] := FullPathTo file_name_with_no_path {PathOnly}
-
- Since INSTALIT normally looks first in the current directory and the current
- directory is not always known, the PathOnly keyword causes INSTALIT to search
- the path only, including the current directory only if it is on the path.
-
- FullPathTo now gives the full path even when Novell returns something like
- Z:.\XYZ.
-
- A NOTE ABOUT ZERO-BYTE FILES
-
- It's sometimes advantageous to include files with zero size in your
- distribution builds. INSTALIT and MediaBuilder can handle those situations
- just fine. You should adhere to one rule, however. Don't make those zero
- byte files the last ones in your PVD; that almost certainly prevents them
- from being the last ones on any given distribution diskette.
-
- ERRATA
-
- Page 51 of the version 2.0 Developer's Guide erroneously lists full paths
- in the "FURTHER EXAMPLES" section. As correctly stated above on that page,
- no paths are allowed.
-
- Page 202 incorrectly states that BINMOD searches from the end by default.
- BINMOD searches from the beginning by default.
-
- NEW THERMOMETER ACTION
-
- In order to prevent excessive flashing on the screen, the extraction
- progress indicator for single files is now inactive when the file size
- is less than 10K bytes.
-
- The thermometer now has a new display mode. Try this out:
-
- GetQuedFiles ShowJustOne
-
- CHANGE TO BINMOD
-
- BINMOD.EXE has been changed to allow you to specify up to 50 rather than
- 25 bytes for the ID string. **YOU** must assure that the DOS command line
- length limit isn't exceeded, however.
-
- BINMOD now allows you to search for a limited length. To do so, use
- "-L" followed by the customary hex or decimal representation of the search
- length in bytes.
-
- USING DOSVERSION AND EMSVERSION
-
- Since DOSVersion and EMSVersion both return real numbers, the usual
- assignment to [NumberX] variables isn't feasible. These two functions
- both work fine with If statements, however, allowing you the decision
- making power you need to control your scripts.
-
- NEW INSTRUCTIONS
-
- ForceError ;; Force unrecoverable error and thus show
- ;; the info set by SetSupportInformation
- ;; Useful in test mode.
- If CompletionStatus = Finished|Unfinished|DontCare
- ;; see SetCompletionStatusTo
- If MediaIsFormatted <drive>
- If MediaIsWriteProtected <drive>
- If MediaIsEmpty <drive>
- If DirectoryIsEmpty directory_name ;; directory contains no subdirs or files
- ;; NOTE (FileExists C:\DIR\*.* returns false if subdirs but no files)
-
- DeleteDirectory directory_name ;; only mode is "quietly"
- ;; Make sure directory is empty before calling to assure that no
- ;; files present spur a "do you wanna" request.
- ;; If any subdirs are present, error will occur.
- ;; No wildcards allowed.
-
- UnQueFiles
- list_of_files
- EndUnqueFiles
-
- UnQueFileGroup group_number ;; unqueues any file which belongs to the group
-
- UnQueAllFiles
-
- SetAllowExit On|Off ;; disable <ctrl+x> (and during extraction, exit keys)
-
- SetReadOnlyInquiry On|Off ;; disable automatic inquiry about readonly file
- ;; replacement
-
- SetClearScreenOnExit On|Off ;; optionally clear screen on return to DOS
-
- SetExitMessageTo one_line_message ;;message displays after return to DOS
-
- NEW DEFINEDRIVE INSTRUCTION
-
- For those networks such as DEC PCSA which return erroneous information about
- the local/remote and fixed/removeable status of network drives, the new
- DefineDrive instruction can assist in handling the situation. Basically,
- if the Network function returns true and NovellLoaded returns false and
- your custom dialog box finds out that the network is a PCSA, you can use
- the DefineDrive instruction and a little more logic to correctly note the
- true status of the drive. The fixed/removeable issue is important when it
- causes INSTALIT to ask for insertion of a new media into a fixed drive.
-
- Here's the DefineDrive syntax:
-
- DefineDrive drive_letter {LOCAL|REMOTE} {FIXED|REMOVEABLE|ABSENT}
-
- For example:
-
- DefineDrive J local removeable
- DefineDrive InstallationDrive Remote
- DefineDrive D absent
-
-
- NEW MATH PROCEDURES
-
- You can now do addition/subtraction in the following way:
-
- [NumberX] := - [NumberY] + 200000 - 2,365 + [NumberZ]
- [NumberX] := [NumberY] + 200000 - 2,365 + [NumberZ]
-
- Note that operators must be preceded and followed by space characters.
-
-
- NEW ADDRESSOF FUNCTION
-
- [StringX] := AddressOf [StringY]
-
- This instruction can be useful to pass the memory address segment:offset
- of a string variable to a child process. The strings are stored with a
- length byte followed by the characters of the string.
-
- After this function executes, [StringX] will contain a string of the form
-
- HHHH:HHHH
-
- where H is a hexidecimal digit. Zeros are left padded as necessary.
-
-
- NEW CURRENTDIRECTORY FUNCTION
-
- INSTALIT doesn't make use of the concept of the current directory, instead
- referring to all files as full paths. Note that this statement doesn't mean
- that you can't specify relative paths in your PVD and script.
-
- The ChangeDirectoryTo instruction allows you to set the directory prior to
- running a self-extracting file, for example.
-
- Under certain circumstances it's also desirable to be able to access the
- name of the current directory...perhaps that set by a child process which
- ran. The new CurrentDirectory function fills this need. The syntax is as
- follows:
-
- [DirX] := CurrentDirectory
-
- The function returns a full path.
-
- NEW PROCEDURES USEFUL FOR FLOPPY INSTALLATIONS
-
- INSTALIT/P (the Pascal version) now supports installation to and from the
- same floppy drive. The following new instructions and new optional
- instruction line switches are useful for floppy installations. Some of
- them may also have some application for dynamic mapping of large products onto
- multiple fixed drives.
-
- DefineMedia
- list_of_media
- EndDefineMedia
-
- for example: DefineMedia
- Program Disk 1 ;; Media number 1
- Program Disk 2 ;; Media number 2
- Utilities Disk ;; Media number 3
- .
- .
- EndDefineMedia
-
- QueFiles OntoMedia media_number
- file_list
- EndQueFiles
-
- QueFileGroup group_number OntoMedia media_number
-
- QueAllFiles OnToMedia media_number
-
- [NumberX] := SizeOfQueForMedia media_number
- [NumberX] := MediaCount ;; number defined via DefineMedia
- [NumberX] := SizeOfGroup
-
- GetQuedFiles ForMedia media_number
- ;; default is get for all media...autopilot mode...automatic
- ;; destination media insertion requests
-
- GetQuedFiles NoInsertionPrompt ;; don't ask for insertion of destination
- ;; media for first destination media
-
- GetQuedFiles RequireEmpty ;; Require that each floppy be empty
- ;; on first insertion