Document Type: IPF item: Global Version=6.0 Flags=00000100 Languages=0 0 65 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 LanguagesList=English Default Language=2 Japanese Font Name=MS Gothic Japanese Font Size=10 Start Gradient=0 0 255 End Gradient=0 0 0 Windows Flags=00110000000000000010110001011010 Log Pathname=%UNC%\%DISTSRV%\F$\LOGS\DISTSRV\INSTALL.LOG Message Font=MS Sans Serif Font Size=8 Disk Filename=SETUP Patch Flags=0000000000000001 Patch Threshold=85 Patch Memory=4000 FTP Cluster Size=20 end item: Check Configuration Flags=01000000 end item: Set Variable Variable=UNC Value=\\ end item: Set Variable Variable=DISTSRV end item: Set Variable Variable=LOGFILE end item: Set Variable Variable=IP end item: Set Variable Variable=COMPUTER end item: Open/Close INSTALL.LOG Pathname=%UNC%\%DISTSRV%\F$\LOGS\DISTSRV\INSTALL.LOG end item: Get Environment Variable Variable=COMPUTER Environment=COMPUTERNAME end item: Get Environment Variable Variable=SYSDRIVE Environment=systemdrive end item: Remark Text=GET IP ADDRESS AND SEND IT TO TEXT FILE USES IPCONFIG end item: Execute Program Pathname=%SYS32%\CMD.EXE Command Line=/c ipconfig > net.txt Default Directory=%SYS32% Flags=00000110 end item: Remark Text=SEND TEXT TO VARIABLE THEN ASSIGN DISTRIBUTION SERVER end item: Read/Update Text File Variable=IP Pathname=%SYS32%\net.txt end item: Remark Text=Enter the subnet like "10.172." or "10.172.100" end item: If/While Statement Variable=IP Value=IP Address. . . . . . . . . : 10.172. Flags=00000010 end item: Set Variable Variable=DISTSRV Value=DISTSERVER1 end item: End Block end item: If/While Statement Variable=IP Value=IP Address. . . . . . . . . : your distribution server subnet address here Flags=00000010 end item: Set Variable Variable=DISTSRV Value=distribution server for subnet end item: End Block end item: If/While Statement Variable=IP Value=IP Address. . . . . . . . . : your distribution server subnet address here Flags=00000010 end item: Set Variable Variable=DISTSRV Value=distribution server for subnet end item: End Block end item: If/While Statement Variable=IP Value=IP Address. . . . . . . . . : your distribution server subnet address here Flags=00000010 end item: Set Variable Variable=DISTSRV Value=distribution server for subnet end item: End Block end item: If/While Statement Variable=IP Value=IP Address. . . . . . . . . : your distribution server subnet address here Flags=00000010 end item: Set Variable Variable=DISTSRV Value=distribution server for subnet end item: End Block end item: If/While Statement Variable=IP Value=IP Address. . . . . . . . . : your distribution server subnet address here Flags=00000010 end item: Set Variable Variable=DISTSRV Value=distribution server for subnet end item: End Block end item: End Block end item: Display Message Title English=Software Install Ready! Text English=A software installation is going to execute. %DISTSRV% will be the distribution server for this package. The installation will take approx. 5 mins. Flags=00100100 end item: Remark Text=This is where the logging is started ***************************************************** end item: Insert Line into Text File Pathname=\\%DISTSRV%\LOGS$\LOGFOLDER\LOGFILE.LOG New Text=%COMPUTER% has successfully started the installation from %DISTSRV% Line Number=0 end item: Remark end item: Remark Text=** Insert Command Here ******************************************************************************* end item: Execute Program Pathname=%SYS32%\CMD.EXE Command Line=/C \\%DISTSRV%\SMS_PKGF\package_id\setup.exe Flags=00000110 end item: Remark end item: Search for File Variable=LOGFILE Pathname List=FILENET.LOG Default=0 Description English=Checking for installtion log....Please wait. end remarked item: Display Message Title English=LOGFILE Text English=%LOGFILE% Flags=00000100 end item: If/While Statement Variable=LOGFILE Value=0 end item: Exit Installation end item: Else Statement end item: Search for File Variable=INVFILE Pathname List=VW302.INV Default=0 Description English=Checking for Inventory file....Please wait. end item: Read/Update Text File Variable=COMPLETE Pathname=%WIN%\VW.MIF end item: If/While Statement Variable=COMPLETE Value=VALUE = "Success" Flags=00000010 end item: Insert Line into Text File Pathname=\\%DISTSRV%\LOGS$\LOGFOLDER\LOGFILE.LOG New Text= *INSTALL COMPLETE* Search Text=%COMPUTER% Line Number=0 Flags=00010000 end item: Set Variable Variable=RESTART Value=S end item: End Block end item: End Block end item: End Block end