source: trunk/warpin/CWMM.wis@ 144

Last change on this file since 144 was 134, checked in by gyoung, 2 years ago

Tools and componets to build wpi

  • Property svn:eol-style set to native
File size: 3.4 KB
Line 
1<WARPIN VERSION="1.0"
2CODEPAGE=850>
3
4<HEAD>
5
6 <REXX NAME="CheckDLL">
7 /* Searches the system LIBPATH for the specified DLL. If not found,
8 * displays a popup dialog, and optionally aborts the installation.
9 *
10 * Parameters:
11 * dname Name of the DLL to look for (must include extension)
12 * fail If 1, abort installation if the DLL was not found
13 * message Message text to be shown when the DLL is not found
14 */
15 CALL RxFuncAdd 'SysLoadFuncs', 'REXXUTIL', 'SysLoadFuncs'
16 CALL SysLoadFuncs
17
18 PARSE ARG dname fail message
19 IF dname == '' THEN RETURN ''
20
21 _bd = SysBootDrive()
22 IF _bd == '' THEN
23 _bd = FILESPEC('DRIVE', VALUE('COMSPEC',,'OS2ENVIRONMENT'))
24 _cwmm = _bd'\MMOS2\MMCLASS\'dname
25
26 call SysFileTree _cwmm, 'file', 'FO'
27
28 IF file.0 == 0 THEN DO
29 title = dname 'Not Found'
30 rc = WirexxShowMessage( title, message )
31 IF fail == 1 THEN CALL WirexxCancel
32 END
33
34 RETURN ''
35 </REXX>
36
37<PCK INDEX=1
38 PACKAGEID="Netlabs\CWMM\Progfld\
39 TARGET="?:\OS2\DLL"
40 TITLE="CWMM Progfld"
41 SELECT
42 NODESELECT
43 LONGFILENAMES
44 KILLPROCESS="progfld.dll"
45 FIXED
46 =("CheckDLL CWMM.DLL 1 Either this is not an ArcaOS system or MMOS2/CWMM is not installed. This installer can only be used to update an ArcaOS system with MMOS2/CWMM already installed.")
47 >This package contains the CWMM progfld utility.
48 </PCK>
49
50<PCK INDEX=2
51 PACKAGEID="Netlabs\CWMM\Classes\
52 TARGET="?:\MMOS2\MMCLASS"
53 BASE
54 TITLE="CWMM Classes"
55 SELECT
56 NODESELECT
57 LONGFILENAMES
58 KILLPROCESS="CWMM.dll"
59 FIXED
60 EXECUTE="cube {RL #EXTNAMES=# WITH #EXTNAMES=13,AVI,FLI,FLC,FLV,3GP,M4V,MKV,MP4.MTS.VOB.WMV.WEBM# (FIRST *ID} ?:\MMOS2\MMPM2.INI ?:\MMOS2\MMPM2.BCK (DLM #"
61 CREATEOBJECT="WPProgram|CWMMConfig|<MMPM2_FOLDER>|EXENAME=$(2)\CWMMConfig.exe;OBJECTID=<CWMMCONFIG>"
62 >Contains the CWMM classes files.
63 </PCK>
64
65<PCK INDEX=3
66 PACKAGEID="Netlabs\CWMM\MediaFolder\
67 TARGET="?:\MMOS2\MEDIAFLD"
68 TITLE="CWMM Media Folder"
69 SELECT
70 NODESELECT
71 LONGFILENAMES
72 FIXED
73 >Contains the CWMM Media Folder.
74 </PCK>
75
76<PCK INDEX=4
77 PACKAGEID="Netlabs\CWMM\JPEGIO\
78 TARGET="?:\MMOS2\DLL"
79 TITLE="JPEG IO plugin"
80 SELECT
81 LONGFILENAMES
82 FIXED
83 >Contains the JPEG IO DLL.
84 </PCK>
85
86<PCK INDEX=5
87 PACKAGEID="Netlabs\CWMM\FreeDB\
88 TARGET="?:\MMOS2\FREEDB"
89 TITLE="CWMM Free CD Database"
90 FIXED
91 >Contains the Free CD Database
92 </PCK>
93
94</HEAD>
95
96<BODY>
97
98<PAGE INDEX=1 TYPE=README>
99<NEXTBUTTON TARGET=2>~Next</NEXTBUTTON>
100<TEXT>This package will install CWMM.</TEXT>
101<README>NOTE: This installer will only work on an ARCOS system with MMOS2 installed</README>
102</PAGE>
103
104<PAGE INDEX=2 TYPE=README>
105<NEXTBUTTON TARGET=3>~I agree</NEXTBUTTON>
106<TEXT>lSwitcher License: By pressing the "I agree" button, you agree to all terms and conditions of the license agreement below.</TEXT>
107<README EXTRACTFROMPCK="2">copying</README>
108</PAGE>
109
110<PAGE INDEX=3 TYPE=CONTAINER>
111 <TEXT>Please select the packages to install, and the target path(s).</TEXT>
112</PAGE>
113
114<PAGE INDEX=4 TYPE=CONFIGURE>
115 <TEXT>Select "Install" to begin the installation. You must reboot the system in order for the update to take effect</TEXT>
116 <NEXTBUTTON TARGET=0>~Install</NEXTBUTTON>
117</PAGE>
118
119</BODY>
120</WARPIN>
121
Note: See TracBrowser for help on using the repository browser.