I'm sorry we don't use file packager, But I think it works along the lines of what we do.
I will break this into several steps.
STEP 1) Background
Network server has a directory called
V:\APPS\WINAPPS\ORCLCLNT under its directory each of out systems has its own subdirectory
within that subdirectory we have two other subdirectories CURRENTP and CURRENTT ( current production and current test)
example: ATS=APPLICANT TRACKING SYSTEM
V:\APPS\WINAPPS\ORCLCLNT\ATS\CURRENTP
and
V:\APPS\WINAPPS\ORCLCLNT\ATS\CURRENTT
These hold our source and compiled versions of forms,reports,pll etc.
We also have separate directory under V:\APPS\WINAPPS\ORCLCLNT
to hold icons,images,uti,other
i.e.
V:\APPS\WINAPPS\ORCLCLNT\icons Holds icons
V:\APPS\WINAPPS\ORCLCLNT\images holds images
V:\APPS\WINAPPS\ORCLCLNT\uti holds common utilities that we write
V:\APPS\WINAPPS\ORCLCLNT\other holds common utilities that we don't write
Also we have a copy of pkzip (command line version ) in V:\APPS\WINAPPS\ORCLCLNT
STEP 2) On the user PC there are two directories
c:\oappst and c:\oappst Oracle application test and production
When the user clicks on the icon for the application I.E. ATS
this runs a bat file that looks like this: name ATS.BAT
-------
echo off
rem ***********************************************************
rem ------Change below to configure for each application and database-------
set appsdb=P
set apps=ats
set appsmain=atsmain
rem -----------------------------------------------------------
rem ------ Normally no changes should be made from this point forward ------
set NETORA=V:\APPS\WINAPPS\ORCLCLNT
if not exist %netora%\app_zip.bat goto runlocal
call %netora%\app_zip.bat %apps% %appsdb% %appsmain%
goto theend
:runlocal
c:
cd \oapps%appsdb%
c:\ORANT\BIN\F50run32 %appsmain%
:theend
-------
this set some variables for ease of maintained
then checks to see if app_zip.bat exist on the network
This file looks like this
-------
rem Calling sequence from application bat file (typically on client)
rem call app_zip.bat <application> <prod/test> <main fmx>
set app=%1
set appdb=%2
set main=%3
SET CTSDRIVE=C
set NETORA=V:\APPS\WINAPPS\ORCLCLNT
%ctsdrive%:
cd \OAPPS%appdb%
copy %NETORA%\%app%\current%appdb%\%app%zxqt.zip
echo on
%NETORA%\pkzip25 -extract=update %app%zxqt.zip
%CTSDRIVE%:\ORANT\BIN\F50run32 %MAIN%
:END
-------
If the ats.bat does not find this file it means the network is down and just runs the application
by c:\ORANT\BIN\F50run32 %appsmain%
If the ats.bat does find app_zip.bat it will call it passing the application(ATS) (P/T) and the main.fmx program.
The app_zip.bat copy a zip file called atszxqt.zip (later I will go into the creation of this file)
Then run pkzip25 extracting only those files that are updated
then it runs the application by c:\ORANT\BIN\F50run32 %main%
STEP 3) To create the zip file we compile the forms and reports on developers PC
move the compiled and source to the V:\APPS\WINAPPS\ORCLCLNT\ATS\CURRENTP
or V:\APPS\WINAPPS\ORCLCLNT\ATS\CURRENTT directory
then click in a icon that runs a bat file called atszmake.bat
-------
set progdb=P
set progname=ATS
set netdrv=V:
set oradir=%netdrv%\apps\winapps\orclclnt
call %oradir%\appzmake %progname% %progdb%
-------
This calls appzmake.bat this is
-------
rem Calling sequence:
rem call appzmake <progname> <progdb>
rem ------------------------------------------------
set progdb=%2
set progname=%1
set netdrv=V:
set oradir=%netdrv%\apps\winapps\orclclnt
set icodir=%oradir%\icons\current%progdb%
set utidir=%oradir%\uti\current%progdb%
set othdir=%oradir%\other\current%progdb%
set imagedir=%oradir%\images\current%progdb%
set zipdir=%oradir%\%progname%\current%progdb%
set pkzip=%oradir%\pkzip25.exe
set zipfile=%progname%zxqt
rem goto theend
%netdrv%
cd %zipdir%
%pkzip% -add=update -path=none %zipdir%\%zipfile% *.fmx *.rep *.pll *.ico *.ogd *.olb %progname%.bat
pause
rem Now pull in icons, utilities and others from general directories
cd %icodir%
pause
%pkzip% -add=update -path=none %zipdir%\%zipfile% *.ico
pause
cd %utidir%
pause
%pkzip% -add=update -path=none %zipdir%\%zipfile% *.*
pause
cd %othdir%
pause
%pkzip% -add=update -path=none %zipdir%\%zipfile% *.*
pause
cd %imagedir%
pause
%pkzip% -add=update -path=none %zipdir%\%zipfile% *.*
pause
:theend
-------
What this bat file does is runs pkzip and adds to the zip file the fmx,rep,pll,ico,ogd,olb and ats.bat into
atszxqt.zip file
Then it adds the updated files from icons,uti,other,images directories
so at the end we have a file that is copied to the client PC and unziped by ats.BAT in step 1.
Hope this helps
I read some of the other answers and keeping the programs on the network is better than what we do
but our network is old and goes down allot and we don't want to stop the client from
running the application so we have to put the programs on the client PC.
So even if the network is down the clients can still work. This is a home grown method and works but it
may not be the best for your set up.