changeset 134:d6d283bf22a8

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:21:15 -0600
parents aa73b024f1f5
children a0e49cbbf1e0
files install/handyftp.wis src/makefile.vac
diffstat 2 files changed, 44 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/install/handyftp.wis	Wed Jan 06 21:21:15 2021 -0600
@@ -0,0 +1,39 @@
+<WARPIN>
+<HEAD>
+<PCK INDEX="1"
+      PACKAGEID="Brian Smith\HandyFTP\Base package\1\0\4"
+      TARGET="?:\Programs\HandyFTP"
+      SELECT
+      TITLE="HandyFTP 1.0b4"
+      CREATEOBJECT="WPProgram|HandyFTP|<WP_DESKTOP>|EXENAME=$(1)\HANDYFTP.EXE;OBJECTID=<HANDYFTP>;"
+      >Graphical FTP and FXP client 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">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/src/makefile.vac	Wed Jan 06 11:35:29 2021 -0600
+++ b/src/makefile.vac	Wed Jan 06 21:21:15 2021 -0600
@@ -56,18 +56,14 @@
     copy $(DWINCPATH)\dw.dll ..\install\package
     copy $(DWINCPATH)\dwcompat.dll ..\install\package
     copy ..\readme.txt ..\install\package
-    copy ..\readme.txt ..\install\scripts
+    copy ..\install\scripts\license.txt ..\install\package
     copy ..\config\* ..\install\package
     xcopy /s ..\help\* ..\install\package
     rm -f ..\install\handyftp.ace ..\install\misc.ace
-    cd ..\install\package
-    ace2 -r a ..\handyftp.ace *
-    cd ..\scripts
-    ace2 a ..\misc.ace *
-    cd ..
-    copy $(SFXPATH)\sfx.exe .\sfx.exe
-    packinst handyftp.cfg
-
+    cd ..\install
+    wic -a hftpos2.exe 1 -cpackage -r * -U -s handyftp.wis
+    cd ..\src
+
 handyftp.obj: handyftp.c handyftp.h hftpextr.h site.h
 datetime.obj: datetime.c datetime.h
 handyftp.res: handyftp.rc handyftp.h hftpextr.h