changeset 350:ad1e25593760

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:22:45 -0600
parents 355a2195c8cf
children b8c80d2fa234
files install/dwib.wis makefile.vac
diffstat 2 files changed, 43 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/install/dwib.wis	Wed Jan 06 21:22:45 2021 -0600
@@ -0,0 +1,39 @@
+<WARPIN>
+<HEAD>
+<PCK INDEX="1"
+      PACKAGEID="Brian Smith\DWIB\Base package\1\0\3"
+      TARGET="?:\Programs\DWIB"
+      SELECT
+      TITLE="Dynamic Windows Interface Builder 1.0b3"
+      CREATEOBJECT="WPProgram|Dynamic Windows Interface Builder|<WP_DESKTOP>|EXENAME=$(1)\DWIB.EXE;OBJECTID=<DWIB>;"
+      >Create User Interfaces for Dynamic Windows applications stored in XML.</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">license.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	Wed Jan 06 10:49:29 2021 -0600
+++ b/makefile.vac	Wed Jan 06 21:22:45 2021 -0600
@@ -86,15 +86,10 @@
     lxlite install\package\libxml2.dll
     copy readme.txt install\package
     copy install\scripts\license.txt install\package
-    copy readme.txt install\scripts
-    rm -f install\dwib.ace install\misc.ace
-    cd install\package
-    ace2 -r a ..\dwib.ace *
-    cd ..\scripts
-    ace2 a ..\misc.ace *
-    cd ..
-    copy $(SFXPATH)\sfx.exe .\sfx.exe
-    packinst dwib.cfg
+    copy readme.txt install\scripts
+    cd install
+    wic -a dwibos2.exe 1 -cpackage -r * -U -s dwib.wis
+    cd ..
 
 dwib.obj: dwib.c dwib.h dwib_int.h resources.h
 dwib_lib.obj: dwib_lib.c dwib.h dwib_int.h resources.h