say 'Selective Uninstall icon was successfully installed.'
end /* do */
else do
say
say 'A problem occured during the installation of the'
say 'Selective Unistall icon. This icon was not'
say 'created successfully.'
call reason
say
end /* do */
/* create Application Installation Overview in Applications folder */
rc = SysCreateObject('WPProgram','Application Installation Overview','<APPS>','EXENAME=\OS2\VIEW.EXE;PROGTYPE=PM;PARAMETERS=INSTALL.INF INSTALLING YOUR APPLICATIONS;STARTUPDIR=\OS2\INSTALL\PRELOAD\;')
if rc = 1 then do
say 'Application Installation Overview icon was successfully installed.'
end /* do */
else do
say
say 'A problem occured during the installation of the'
say 'Application Installation Overview. This icon was not'
say 'created successfully.'
call reason
say
end /* do */
/* create Services and Support in Features folder */
rc = SysCreateObject('WPProgram','Services and Support','<FEATURES>','EXENAME=\OS2\VIEW.EXE;PROGTYPE=PM;PARAMETERS=SERVICES.INF SERVICES AND SUPPORT;STARTUPDIR=\OS2\INSTALL\PRELOAD\;ICONFILE=C:\OS2\INSTALL\PRELOAD\HLPWARER.ICO')
if rc = 1 then do
say 'Services and Support icon was successfully installed.'
end /* do */
else do
say
say 'A problem occured during the installation of the'
say 'Services and Support. This icon was not'
say 'created successfully.'
call reason
say
end /* do */
/* Preloaded 85XX systems do not come with the System Information */
/* Utility. This procedure prompts the user for a system of this type. */
/* If the system is an 85XX Type, it will not install the System */
/* Information Utility, otherwise, it will be installed. */
say
say 'Look on or below the faceplate of the computer, where the power button'
say 'is located, for a label that mentions the Type. Use the first four digits'
say 'of the Type to answer the following question:'
say 'Is this computer an 8556 or 8557 Type (Y/N)?'
say 'Your System icon was successfully installed.'
end /* do */
else do
say
say 'A problem occured during the installation of the'
say 'Your System icon. This icon was not'
say 'created successfully.'
call reason
say
end /* do */
jump:
/* create For the DOS User in Tutorials folder */
rc = SysCreateObject('WPProgram','For the DOS User','<TUTORIALS>','EXENAME=\OS2\INSTALL\PRELOAD\DOSUSER.EXE;PROGTYPE=DOSFULLSCREEN;PARAMETERS=D;STARTUPDIR=\OS2\INSTALL\PRELOAD\;')
if rc = 1 then do
say 'For the DOS User icon was successfully installed.'
end /* do */
else do
say
say 'A problem occured during the installation of the'
If Pos('\IBMLAN',Translate(Value('PATH',,'OS2ENVIRONMENT'))) > 0 Then landrive = Translate(Substr(Value('PATH',,'OS2ENVIRONMENT'),Pos('\IBMLAN',Translate(Value('PATH',,'OS2ENVIRONMENT')))-2,2))
If Pos('\CMLIB',Translate(Value('PATH',,'OS2ENVIRONMENT'))) > 0 Then cmdrive = Translate(Substr(Value('PATH',,'OS2ENVIRONMENT'),Pos('\CMLIB',Translate(Value('PATH',,'OS2ENVIRONMENT')))-2,2))
If Pos('\SQLLIB',Translate(Value('PATH',,'OS2ENVIRONMENT'))) > 0 Then dbdrive = Translate(Substr(Value('PATH',,'OS2ENVIRONMENT'),Pos('\SQLLIB',Translate(Value('PATH',,'OS2ENVIRONMENT')))-2,2))
If Pos('\MUGLIB',Translate(Value('PATH',,'OS2ENVIRONMENT'))) > 0 Then upmdrive = Translate(Substr(Value('PATH',,'OS2ENVIRONMENT'),Pos('\MUGLIB',Translate(Value('PATH',,'OS2ENVIRONMENT')))-2,2))
If landrive = '' & cmdrive = '' & dbdrive = '' Then Do
Say "No Extended Services or LAN Requester found, terminating."
'pause'
Call choiceb
End
'CLS'
Say "Your system is installed on the" bootdrive "drive."
Say " "
Say "The following components have been found:"
Say " "
If landrive <> '' Then Say " LAN Requester on drive" landrive
If cmdrive <> '' Then Say " Communications Manager on drive" cmdrive
If dbdrive <> '' Then Say " Database Manager on drive" dbdrive
If upmdrive <> '' Then Say " User Profile Management on drive" upmdrive
Say " "
Say "This program will now create a folder for each identified product on your"
Say "desktop, which will contain the standard WPS entries."
Call SysCreateObject 'WPProgram','Display Active SNA Configuration','<CM_FOLDER>','EXENAME='||cmdrive||'\CMLIB\APPN\PMDSPLAY.EXE;PROGTYPE=PM;STARTUPDIR='||cmdrive||'\CMLIB\APPN;','R'
Call SysCreateObject 'WPProgram','Manage SNA Logical Links','<CM_FOLDER>','EXENAME='||cmdrive||'\CMLIB\APPN\APPNLINK.EXE;PROGTYPE=PM;STARTUPDIR='||cmdrive||'\CMLIB\APPN;','R'
If Pos('\TOOLKT20',Translate(Value('PATH',,'OS2ENVIRONMENT'))) > 0 Then tooldrive = Translate(Substr(Value('PATH',,'OS2ENVIRONMENT'),Pos('\TOOLKT20',Translate(Value('PATH',,'OS2ENVIRONMENT')))-2,2))
If Pos('\IBMC',Translate(Value('PATH',,'OS2ENVIRONMENT'))) > 0 Then csetdrive = Translate(Substr(Value('PATH',,'OS2ENVIRONMENT'),Pos('\IBMC',Translate(Value('PATH',,'OS2ENVIRONMENT')))-2,2))
If Pos('\IBMWF',Translate(Value('PATH',,'OS2ENVIRONMENT'))) > 0 Then workdrive = Translate(Substr(Value('PATH',,'OS2ENVIRONMENT'),Pos('\IBMWF',Translate(Value('PATH',,'OS2ENVIRONMENT')))-2,2))
If tooldrive = '' & csetdrive = '' & workdrive = '' Then Do
Say "No Toolkit, WorkFrame/2, or C Set/2 found, terminating."
Call choiceb
End
iconfile = 'GROUP.ICO'
iconparm = ''
If Stream(iconfile,'C','QUERY EXISTS') = '' Then Do
Call SysCreateObject 'WPFolder','PM Development Tools','<TOOLKIT_FOLDER>','OBJECTID=<TOOLKIT_TOOLS>;ICONFILE='||tooldrive||'\TOOLKT20\ICON\FXICON.ICO','R'
rc=SysCreateObject('WPProgram','WIN-OS/2 Full Screen','<WP_PROMPTS>','EXENAME=WINOS2.COM;PROGTYPE=VDM;SET KBD_ALTHOME_BYPASS=1;SET KBD_CTRL_BYPASS=CTRL_ESC;SET VIDEO_SWITCH_NOTIFICATION=0;SET VIDEO_8514A_XGA_IOTRAP=1;HELPPANEL=8022;OBJECTID=<WP_WINFS>')
rc=SysCreateObject('WPProgram','DOS from Drive A:','<WP_PROMPTS>','EXENAME=*;PROGTYPE=VDM;SET DOS_STARTUP_DRIVE=A:;HELPPANEL=8529;OBJECTID=<WP_DOS_DRV_A>')
say 'Is your system setup for the Dual Boot feature?'
yesno = SysGetKey()
yesno = translate(yesno)
say
select
when (yesno = "N") & (continue <> yes) then call choice2
when (yesno = "N") & (continue = yes) then call drives
rc=SysCreateObject('WPProgram','To-Do List Archive','<WP_TOOLS>','EXENAME=PMDTARC.EXE;PROGTYPE=PM;STARTUPDIR=\OS2\APPS;HELPPANEL=20290;OBJECTID=<WP_DTARC>')