I have done some research and think that the following changes may be needed to the installer.
PATHSED.CMD should be updated to get the proper
WarpIN path so that the creation of the WARPIN.XCD file by DEFRSP.CMD will be correct.
warpinpath = Strip(SysIni(instdrv'\os2\os2.ini','WarpIN','Path'),'t','00'x)
If warpinpath = 'ERROR:' Then warpin_dir = instdrv'\ecs\system\warpin'
sed.20 = 's/@WARPINPATH@' || warpinpath || '/g'
DEFRSP.CMD should be updated to remove eCS MT.
/* delete.me
/* create eCS MT installation XML file for WarpIn (always) */
'@sed -f' paths_sed ecsmt_tmp '>' ecsmt_rsp
*/
The template for the WARPIN.XCD file should be updated to reflect the warpinpath.
<warpincid>
<archive
filename="H:\LIBRARY\NETLABS\WARPIN\WARPIN-1-0-5.EXE">
<job
action="install"
path="@WARPINPATH@"
pckid="OS/2 Netlabs\WarpIN\Base\1\0\5"/>
<job
action="install"
path="@WARPINPATH@"
pckid="OS/2 Netlabs\WarpIN\Extras\1\0\5"/>
</archive>
</warpincid>
The WARPIN.CMD file should be updated to remove the installation files after installing
WarpIN.
warpindir = GetValue( rspfiles'\WARPIN.XCD', 'path')
/* invoke XML installed WarpIn (with WIC.EXE) */
CALL LINEOUT errlog, 'Installing WarpIn Installer to 'Left(warpindir,2)' ...'
'@'instdrv'\ecs\bin\wic.exe -i 'rspfiles'\WARPIN.XCD 2>&1 >> 'instlog
CALL DeleteFile instdrv'\ecs\bin\wic.exe'
CALL DeleteFile instdrv'\ecs\dll\wpirtl.dll'
CALL DeleteFile instdrv'\ecs\install\warpin.tmf'
/* initialize database */
CALL LINEOUT errlog, 'Invoking initialization of WarpIn in 'warpindir' ...'
'@'warpindir'\Warpin.exe -i 2>&1 >> 'instlog
Comments?
There is one comment on this page. [Display comment]