changeset 72:8d3636c79e66 0.5

OS/2: Add WarpIN configuration file, and modify installer rule to use it.
author Brian Smith <brian@dbsoft.org>
date Wed, 06 Jan 2021 21:19:50 -0600
parents a3f52a63a847
children adf40637cbb3
files install/cc.wis makefile.vac
diffstat 2 files changed, 42 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/install/cc.wis	Wed Jan 06 21:19:50 2021 -0600
@@ -0,0 +1,39 @@
+<WARPIN>
+<HEAD>
+<PCK INDEX="1"
+      PACKAGEID="Brian Smith\Control Center\Base package\0\5"
+      TARGET="?:\Programs\CC"
+      SELECT
+      TITLE="Control Center 0.5"
+      CREATEOBJECT="WPProgram|Control Center|<WP_DESKTOP>|EXENAME=$(1)\CC.EXE;OBJECTID=<CONTROLCENTER>;"
+      >Graphical Systerm Information Control Center for OS/2 PM.</PCK>
+</HEAD>
+<!-- Here come the different pages. They are linked by
+      the <NEXTBUTTON> tags, which must have a target.
+      Each page must have a TYPE= attribute, which tells
+      WarpIn what will be visible on that page. -->
+<BODY>
+<!-- page 1: introductory page -->
+<PAGE INDEX="1" TYPE="README">
+<NEXTBUTTON TARGET=2>~Next</NEXTBUTTON>
+<README EXTRACTFROMPCK="1">readme.txt</README>
+<TEXT>
+Select "Next" to continue.
+Select "Cancel" to abort installation.</TEXT>
+</PAGE>
+<!-- The TYPE=CONTAINER will list the packages which can be installed. -->
+<PAGE INDEX="2" TYPE="CONTAINER">
+<NEXTBUTTON TARGET="3">~Next</NEXTBUTTON>
+<TEXT>
+On this page, you may deselect the package if it is already installed or change the package's target path. </TEXT>
+</PAGE>
+<!-- Display another TEXT page to inform the user
+         that installation will begin. We use the TARGET=0
+        with the NEXTBUTTON tag which starts installation. -->
+<PAGE INDEX="3" TYPE="TEXT">
+<NEXTBUTTON TARGET="0">I~nstall</NEXTBUTTON>
+<TEXT>
+Press "Install" to begin installing this archive.</TEXT>
+</PAGE>
+</BODY>
+</WARPIN>
--- a/makefile.vac	Mon Dec 14 19:54:08 2020 -0600
+++ b/makefile.vac	Wed Jan 06 21:19:50 2021 -0600
@@ -51,15 +51,9 @@
     copy $(DWINCPATH)\dw.dll install\package
     copy $(DWINCPATH)\dwcompat.dll install\package
     copy readme.txt install\package
-    copy readme.txt install\scripts
-    rm -f install\cc.ace install\misc.ace
-    cd install\package
-    ace2 -r a ..\cc.ace *
-    cd ..\scripts
-    ace2 a ..\misc.ace *
-    cd ..
-    copy $(SFXPATH)\sfx.exe .\sfx.exe
-    packinst cc.cfg
+    cd install
+    wic -a ccos2.exe 1 -cpackage -r * -U -s cc.wis
+    cd ..
     
 clean: 
 	rm -f $(OBJECTS) cc.exe cc.res HG.REV *~