WarpIn Script Samples

This is a note to myself to remember things when creating a WarpIn Installer.

Target Samples
TARGET="$(WARPIN_DEFAULTTOOLSPATH)\4OS2"

TARGET="$(WARPIN_DEFAULTAPPSPATH)\pointers"

Creating WPS Objects
CREATEOBJECT="REPLACE WPFolder|4OS/2||OBJECTID="

CREATEOBJECT="REPLACE WPProgram|4OS/2 (Window)||OBJECTID=;EXENAME=$(1)\4OS2.EXE;PROGTYPE=WINDOWABLEVIO;PARAMETERS=%;STARTUPDIR=?:\;NOPRINT=YES;HIDEBUTTON=DEFAULT;MINWIN=DEFAULT;CCVIEW=YES;DEFAULTVIEW=DEFAULT"

CREATEOBJECT="REPLACE WPProgram|4OS/2 (Full screen)||OBJECTID=;EXENAME=$(1)\4OS2.EXE;PROGTYPE=FULLSCREEN;PARAMETERS=%;STARTUPDIR=?:\;NOPRINT=YES;HIDEBUTTON=DEFAULT;MINWIN=DEFAULT;CCVIEW=YES;DEFAULTVIEW=DEFAULT" CREATEOBJECT="REPLACE WPShadow|4OS/2 (Window)||SHADOWID=;OBJECTID=;" CREATEOBJECT="REPLACE WPShadow|4OS/2 (Full screen)||SHADOWID=;OBJECTID=;"

CREATEOBJECT="REPLACE WPProgram|4OS/2 Manual||OBJECTID=;EXENAME=VIEW.EXE;PARAMETERS=$(1)\4OS2.INF;"

CREATEOBJECT="REPLACE WPProgram|Archive Viewer||EXENAME=$(1)\ARCVIEW.EXE;PROGTYPE=PM;ASSOCFILTER=*.ZIP,*.TAR,*_TAR,*.Z,*.TGZ,*.GZ,*.TBZ,*.TBZ2,*.BZ2,*.TLZ,*.LZ,*.7Z,*.RAR,*.ARJ,*.JAR,*.LZH,*.LHA,*.WPI,*.RPM;OBJECTID="

Config.SYS changes
CONFIGSYS="SET USE_HOSTS_FIRST=1| UNIQUE" CONFIGSYS="SET HOSTNAME=$(HOSTNAME)| UNIQUE" CONFIGSYS="SET USER=$(USER)| UNIQUE" CONFIGSYS="SET HOME=$(HOME)| UNIQUE"

CONFIGSYS="SET PATH=$(1); | ADDRIGHT" CONFIGSYS="SET DPATH=$(1); | ADDRIGHT" CONFIGSYS="SET HELP=$(1); | ADDRIGHT" CONFIGSYS="SET BOOKSHELF=$(1); | ADDRIGHT" CONFIGSYS="LIBPATH=$(1); | ADDRIGHT" EXECUTE="if not exist $(1)\4start.cmd copy $(1)\4start.cmd.sample $(1)\4start.cmd" EXECUTE="if not exist $(1)\4OS2.INI copy $(1)\4OS2.INI.sample $(1)\4OS2.INI"

Register WPS Classes
REGISTERCLASS="WPHwManagerEx|$(1)\hwman.dll" REPLACECLASS="WPHwManager|WPHwManagerEx"

Links

 * WarpIN WIS Samples