HITACHI Inspire The Next

Job Management Partner 1 Version 10

Job Management Partner 1/IT Desktop Management 2 Automatic Installation Tool Administration Guide

3021-3-374(E)


Contents

Notices
Preface
1. Remote Installation Using an AIT File
1.1 What is the AIT file?
1.2 Procedure for remote installation using an AIT file
1.2.1 Creating an AIT file and a program product ID file
1.2.2 Storing the created files
1.2.3 Packaging
1.2.4 Executing remote installation
1.3 Notes on creating and using AIT files
2. Creating an AIT File
2.1 Overview of the Automatic Installation Tool
2.1.1 Functionalities of the Automatic Installation Tool
2.1.2 Starting and terminating the Automatic Installation Tool
2.2 Structure of an AIT file, and procedure for creating it
2.3 Checking the sequence and properties of installer windows
2.3.1 Items you should check
2.3.2 Acquiring properties of installer windows
2.4 Recording installation operations
2.4.1 Procedure for recording your installation operations
2.4.2 Pausing and resuming recording
2.4.3 Recording installation operations that request the OS to be restarted
2.5 Generating the PACKAGE_INFO section
2.5.1 Procedure for generating the PACKAGE_INFO section and a program product ID file
2.5.2 Specifying the installer and the files for identifying the software to be distributed
2.6 Editing an AIT file
2.6.1 Window processing
2.6.2 Automatically generated flags
2.6.3 Checking and modifying an automatically generated AIT file
2.6.4 Linkage with the Packager and Remote Installation Manager
2.6.5 Adding the coding for error handling and setting a return code
2.6.6 Example of a completed AIT file
2.7 Debugging an AIT file
2.7.1 Syntax check and execution
2.7.2 Debugging
3. AIT Language Reference
3.1 Format of AIT files
3.2 Sections
3.2.1 PACKAGE_INFO
3.2.2 DEFINE
3.2.3 MAIN
3.2.4 ERROR
3.3 Data types
3.3.1 integer
3.3.2 float
3.3.3 bool
3.3.4 string
3.4 Operators
3.4.1 Assignment
3.4.2 Unary plus
3.4.3 Unary minus
3.4.4 Unary not
3.4.5 Adding operators
3.4.6 Multiplying operators
3.4.7 Comparison operators
3.4.8 Bitwise operators
3.4.9 Logical operators
3.4.10 Priority of operators
3.5 Variables and constants
3.5.1 Example of variables
3.5.2 Example of constants
3.6 Program flow control
3.6.1 goto
3.6.2 Label
3.6.3 if-else-endif
3.6.4 while-loop
3.6.5 do-while
3.6.6 for-next
3.6.7 continue
3.6.8 break
3.6.9 switch-endswitch
3.7 Function calls
3.7.1 Format
3.7.2 Example of coding
3.8 Keywords
3.9 Macros
3.9.1 Macros for window and check operations
3.9.2 Macros for message operations
3.9.3 Macros for file operations
3.9.4 Macros for IME operations
3.9.5 Macros for utility operations
3.9.6 Macros for registry operations
3.9.7 Macros for directory operations
3.9.8 Macros for error logging
4. API Function Reference
4.1 API functions
4.1.1 Window operations
4.1.2 Check operations
4.1.3 Resolution check
4.1.4 Date/time operations
4.1.5 IME operations
4.1.6 Character string operations
4.1.7 Message operations
4.1.8 Registry operations
4.1.9 Redirect operations
4.1.10 Directory operations
4.1.11 File operations
4.1.12 INI file operations
4.1.13 Recorder operations
4.1.14 Taskbar operations
4.1.15 Utility operations
4.1.16 Interfacing with JP1/IT Desktop Management 2
4.2 Details about the API functions
Format of API function explanations
AIT_ASCIIToChar
AIT_ChangeFileAttribute
AIT_CharToASCII
AIT_CheckResolution
AIT_ComboBoxCloseUp
AIT_ComboBoxDropDown
AIT_CtrlClick
AIT_CtrlItemCount
AIT_CtrlItemIndex
AIT_CtrlSetFocus
AIT_DefaultButtonCount
AIT_DirCopy
AIT_DirCreate
AIT_DirRemove
AIT_DMPSTRC
AIT_Exec
AIT_ExecCommand
AIT_ExistWindow
AIT_Exit
AIT_FileClose
AIT_FileCopy
AIT_FileDelete
AIT_FileEOF
AIT_FileExists
AIT_FileGetLine
AIT_FileGetPos
AIT_FileOpen
AIT_FilePutLine
AIT_FileRename
AIT_FileSetPos
AIT_FileSize
AIT_FindCloseFile
AIT_FindFirstFile
AIT_FindNextFile
AIT_FindSubStr
AIT_FocusWindow
AIT_GetCtrlText
AIT_GetCtrlTextLen
AIT_GetCurrentDirectory
AIT_GetDate
AIT_GetDtPickerDate
AIT_GetDtPickerTime
AIT_GetEditCurrentLineIndex
AIT_GetEditFirstLineIndex
AIT_GetEditTextLineLen
AIT_GetEnv
AIT_GetErrorText
AIT_GetIndexText
AIT_GetIndexTextLen
AIT_GetKeyState
AIT_GetLastError
AIT_GetMenu
AIT_GetMenuIndex
AIT_GetMenuText
AIT_GetOSType
AIT_GetProfileFirstSection
AIT_GetProfileFirstSectionNames
AIT_GetProfileNextSection
AIT_GetProfileNextSectionNames
AIT_GetProfileString
AIT_GetSubMenu
AIT_GetSubStr
AIT_GetTime
AIT_GetWindowText
AIT_IMEGetConversionStatus
AIT_IMEGetOpenStatus
AIT_IMEGetProperty
AIT_IMEGetStatusWindowPos
AIT_IMESetConversionStatus
AIT_IMESetOpenStatus
AIT_IMESetStatusWindowPos
AIT_IMESimulateHotKey
AIT_InitLog
AIT_IsEmpty
AIT_LogMessage
AIT_MenuItemClick
AIT_MessageBox
AIT_MinWnd
AIT_MouseClick
AIT_MouseDblClk
AIT_MouseDown
AIT_MouseDragDrop
AIT_MouseMoveTo
AIT_MouseUp
AIT_PlayKey
AIT_PostMessage
AIT_RegCloseKey
AIT_RegCreateKey
AIT_RegDeleteKey
AIT_RegDeleteValue
AIT_RegGetDWORDValue
AIT_RegGetStringValue
AIT_RegisterWindowMessage
AIT_RegKeyExists
AIT_RegOpenKey
AIT_RegSetDWORDValue
AIT_RegSetStringValue
AIT_RegValueExists
AIT_SelectIPAddressField
AIT_SelectListItem
AIT_SelectMultipleListItem
AIT_SelectText
AIT_SetActWnd
AIT_SetCheck
AIT_SetComboEditSelText
AIT_SetCurrentDirectory
AIT_SetDefaultWaitTimeout
AIT_SetDtPickerDate
AIT_SetDtPickerTime
AIT_SetKeyState
AIT_SetProfileString
AIT_SetScrollPos
AIT_SetSpinPos
AIT_SetWndPos
AIT_SetWndPosSize
AIT_Sleep
AIT_StatusBox
AIT_StatusBoxClose
AIT_StrLeft
AIT_StrLength
AIT_StrLower
AIT_StrLTrim
AIT_StrRight
AIT_StrRTrim
AIT_StrTrim
AIT_StrUpper
AIT_TaskbarClk
AIT_TaskbarHasFocus
AIT_TaskbarSetFocus
AIT_VerifyCharPos
AIT_VerifyCount
AIT_VerifyDateTime
AIT_VerifyDefaultButton
AIT_VerifyEnabled
AIT_VerifyExistence
AIT_VerifyFirstVisible
AIT_VerifyFocus
AIT_VerifyIndex
AIT_VerifyKeyState
AIT_VerifyLine
AIT_VerifyLocation
AIT_VerifyMenuChecked
AIT_VerifyMenuEnabled
AIT_VerifyNoOfCtrls
AIT_VerifyPos
AIT_VerifySelected
AIT_VerifyState
AIT_VerifyText
AIT_Wow64DisableWow64Redirection
AIT_Wow64RevertWow64Redirection
4.3 Examples of using API functions
4.3.1 Deleting carriage return and linefeed characters
4.3.2 Extracting characters
4.3.3 Manipulating the HKEY_CURRENT_USER registry key during remote installation
5. Troubleshooting
5.1 Checking messages
5.1.1 Message output destination
5.1.2 Format of message explanations
5.2 Messages that may be displayed during editing
5.3 Messages that may be displayed during execution and parsing of AIT files
Appendixes
A. Menus
B. Editing a Program Product ID File
C. Reference Material for This Manual
C.1 Related publications
C.2 Conventions: Abbreviations for product names
C.3 Conventions: Acronyms
C.4 Conventions: Fonts and symbols
C.5 Conventions: Version numbers
C.6 About online help
C.7 Conventions: KB, MB, GB, and TB
D. Glossary
Index