D2K runtime Installation.

Hi,

I am trying to load a developer 2000 runtime by copying the DLL and EXE.
After copying all the files I had tried to run a FMX. But it is giving problem to
run.

I don't want to run a setup. I want to distribute a supporting files to the user.
I want to make my own setup. I had D2K CD. Can I cut a CD with only Runtime setup.

I want solution that whether it is possible to run application only by copying a
required files.
I possible waht should be done to go for.
where can I get the list of required file.

If anyone tried for that or having  this solution please give me.


Regards.
Sandeep P.
pawarsandyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

pawarsandyAuthor Commented:
I want reply as early as possible.
0
sudhi022299Commented:
Sandeep remember my comment.
If you get any positive reply, reject this.

Regards,
Sudhi.
0
sudhi022299Commented:
I mean if sombody comes out with a solution then accept that comment as an answer and reject mine.

Regards,
Sudhi.
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

pawarsandyAuthor Commented:
This is a alternative solution. I want
solution which will fit in my requirement.
0
sgantaCommented:
Hi,

Load from the Oracle Developer Setup.
Chose the type of install = custom install
and select the runtime options only
for eg:

forms runtime
system support files etc.,
Requirement support files.

Hope this helps you!
0
pawarsandyAuthor Commented:
I don't want to use setup on D2K cd
can I Make my own D2K runtime CD.
which contains only D2K runtime.
0
urimCommented:
I don't sure about setup of D2K, but I know you can run the setup in batch and gave it parameters of what components to install and where.
You "record" an example setup and then you can run it in batch and in silent mode.

I don't think you can run D2K without installing it on the PC 'cuase it have entries in the registry.

Uri
0
crsankarCommented:
I guess if all your users are connected to the same network it is possible for you to install the forms runtime engine on a single computer and execute the same from your clients. you will have to add some registry entries manually.
0
urimCommented:
that's sure. you can put ORACLE_HOME on a mapped device. The big question is how to find _all_ the registry entries.

if by searching or taking snapshot of registry before and after and compare, or by reinstall the product by Oracle install setup.

I did this (enter registry entries manually) for Oracle server and it went very good.

Uri
0
crsankarCommented:
Just make a temporary installation of forms runtime engine alone on one of the clients and see what are the entries
0
pawarsandyAuthor Commented:
Hi Crsankar,
Can u please tell what entries to be done at registry to run D2k from
network machine.
0
crsankarCommented:
I will get back to you on this.
0
crsankarCommented:
I have just tried it and it works.

Here are the steps.

Install Oracle Forms 4.5 runtime engine on a client

Export the registry entries for oracle. you can export just the node for oracle.

Now import it to any client pc

make a mapping to the server Orant directory

change the registry entries. this will depend on your mapping.

That is all. It works prefect
0
pawarsandyAuthor Commented:
Excellent alternative for this problem.
Really a nice solution.
But my requirement is something different.
Consider I had developed one application
and I want to give to a client who doesn't have the D2K cd.
He has setup of Oracle. I want to give a CD( my own) of application containing a runtime
in it.
So that he can install a runtime alongwith my applcation.

0
crsankarCommented:
WIN: Deploying Oracle Forms Runtime Applications
              ================================================
 
Introduction
------------
To deploy an Oracle Forms Application on several client machines, you
must install Oracle Forms Runtime on each machine.  Use the Oracle
Installer to install Forms Runtime.
 
However, when you need to configure many machines to run the
application, running the Oracle Installer on each machine becomes
cumbersome.  In most cases, clients are looking for a set of files to
distribute to the end users.  This bulletin describes an alternative
method for distributing an Oracle Forms application.
 
When deploying an Oracle Forms application, you CANNOT just copy over
the Forms Runtime executable (.fmx file).  In addition, Oracle Forms
does not allow you to create one final Runtime executable file (e.g.
the Make EXE file option given by Microsoft Visual Basic).  In short,
you MUST install Oracle Forms Runtime.
 
The method described in this bulletin only works if the configured
machines DO NOT have an existing ORACLE_HOME.  You cannot use this
method to merge two ORACLE_HOMEs.  In addition, Oracle does not
recommend that you manually merge two ORACLE_HOMEs.
 
This bulletin supplements the information in the Oracle Developer/2000
Installation Guide for Windows.
 
 
Installing Forms Runtime
------------------------
To deploy the Oracle Forms Runtime:
1.  Use the Oracle Installer to install the product on one machine.
2.  Migrate this installation to the remaining machines.
 
 
Installing Oracle Forms Runtime on the First PC
-----------------------------------------------
Start the Installer from the Oracle product media, and enter the
requested information.  The Installer asks for which directory to
install the Oracle products.  The default option is C:\ORAWIN.  This
directory is the ORACLE_HOME directory.  From the list of available
products, select Oracle Forms Runtime.  A plus sign appears next to
available products:
 
      +  Developer/2000 - Forms 4.5.x.x.x
 
Double-click on the plus sign.  It expands to:
 
      -- Developer/2000 - Forms 4.5.x.x.x
          Forms Demos 4.5.x.x.x
          Forms Designer 4.5.x.x.x
          Forms Online Documentation 4.5.x.x.x
          Forms Runtime 4.5.x.x.x
 
After selecting Oracle Forms Runtime, hit the install button.  At this
point, the Oracle Installer installs certain components required by
Forms: the GUI Common Files, Tools Utilities, Required Support Files,
and System Support Files.
 
In most cases, the application needs SQL*Net to connect to a database.
Make sure to install SQL*Net on the initial machine before starting
the deployment process.
 
 
Understanding the Installation
------------------------------
To migrate the installation to other machines, you must understand the
changes made to the system.
 
The Installer creates a directory structure under the ORACLE_HOME
directory.  All the files copied over are placed in this directory
structure.  Exceptions to the above statement are the dlls copied into
the WINDOWS\SYSTEM directory.  A list of these dlls for Developer/2000
appears at the end of this bulletin.
 
A configuration file, the ORACLE.INI file, is created in the WINDOWS
directory, and the WIN.INI is modified to create an Oracle group as
follows:
 
[Oracle]  
ORA_CONFIG=C:\WINDOWS\ORACLE.INI        
 
The ORA_CONFIG parameter must point to the ORACLE.INI file.      
 
Once the install on the initial PC is complete, verify that it works.
Now you can migrate this installation to other PCs.
 
 
Migration Process
-----------------
1.  Copy over the entire ORAWIN directory.  
    o  Be sure to maintain the directory structure
       for the subdirectories under ORAWIN.
    o  To migrate the dlls copied into the WINDOWS\SYSTEM directory,
       you can use the list of dlls attached.  Another option is to
       install the GUI Common Files and System Support Files
       using the Oracle Installer.
 
2.  Copy the ORACLE.INI.
    Note:  The parameters in the ORACLE.INI file point to a particular
           directory (C:\ORAWIN).  If the Oracle products on the
           configured machine are in a different directory
           (i.e. you copy the ORAWIN directory to the D: drive,
           instead of the C: drive), you must update ORACLE.INI
           to point to this directory.
 
3.  In the WIN.INI file, add the Oracle section.
 
4.  Add C:\ORAWIN\BIN to the DOS search path.
     o  Set the DOS temporary variables in AUTOEXEC.BAT file as follows:
        SET TMP=C:\TEMP
 
5.  Create Program Manager Groups and Items.  
    To do this, you can use one of the following methods:
 
    Method 1
    --------
    Use the Oracle Installer:
    a.  Bring up the Oracle Installer.
    b.  Choose the Restore Icons option.
        To do this, install the Oracle Installer
        as a part of the initial install                     OR
        run the Oracle Installer from the product media.
 
    Method 2
    --------
    Create the groups and icons under the Program Manager:
    a.  Select File -> New
    b.  Create either a Program Group or Program Item.
 
    Method 3
    --------
    Copy the .GRP file(s) (e.g. PROGRAMS.GRP), and add them to
    PROGMAN.INI.
 
 
Deploying the Application
-------------------------
Copy the files required to run the application.  This includes Oracle
Forms modules executables (.fmx), menu module executables (.mmx),
PL/SQL library files (.pll), Oracle Reports files (.rdf or .rep),
Oracle Graphics files, and dlls (if using ORA_FFI).  Make sure that
Oracle Forms Runtime can find all the modules it needs to load your
application.  Forms Runtime looks for modules by searching the working
directory and the directories specified by the FORMS45_PATH parameter
in the ORACLE.INI file.
 
You can use the procedures described above to distribute Oracle
Reports Runtime.  An added step is to install the Oracle Reports ASCII
driver.  The ASCIIDRV.TXT file in the C:\ORAWIN\REPORT25\PRINTERS
directory describes how to install the Oracle Reports ASCII driver.
Note that you need to install this driver only if your reports
generate ASCII output.
 
An alternative to configuring several machines is to install the
required Oracle Products on a Local Area Network.  Appendix C in the
Developer/2000 Installation Guide for Windows describes how to install
on a LAN.
 
 
Appendix
--------
The following is a list of files copied to the WINDOWS\SYSTEM
directory when installing Oracle Forms runtime.
 
Note:  1.  Close down Windows BEFORE you copy any of listed files
           (COMMDLG.DLL and OC25.DLL in particular) to the clients'
           \WINDOWS\SYSTEM directory.
       2.  Copy files from DOS instead, so no problems occur during copying
           (i.e. Windows is not accessing these files at the time of copy).
       3.  Once all files are copied to the clients' \WINDOWS\SYSTEM
           directory, reboot the PC to restart the system.
 
    Name of File             Source Directory on Oracle Distribution Media
    ----------------------------------------------------------------------
    CTL3D.DLL                \COMMON\SSF20                  
    CTL3DV2.DLL              \COMMON\GUI25                  
                   
    COMPOBJ.DLL              \COMMON\SSF20                  
    OLE2.DLL                 \COMMON\SSF20                  
    OLE2CONV.DLL             \COMMON\SSF20                  
    OLE2DISP.DLL             \COMMON\SSF20                  
    OLE2NLS.DLL              \COMMON\SSF20                  
    OLE2PROX.DLL             \COMMON\SSF20                  
    TYPELIB.DLL              \COMMON\SSF20                  
    STORAGE.DLL              \COMMON\SSF20                  
    VSHARE.386               \COMMON\SSF20                  
    STDOLE.TLB               \COMMON\SSF20                  
                   
    MFC250.DLL               \COMMON\SSF20                  
    MFCD250.DLL              \COMMON\SSF20                  
    MFCO250.DLL              \COMMON\SSF20                  
    MFCOLEUI.DLL             \COMMON\SSF20                  
                   
    COMMDLG.DLL              \COMMON\SSF20                  
    MSOLEVBX.DLL             \COMMON\SSF20                  
    VBOA300.DLL              \COMMON\SSF20
  * OC25.DLL                 \COMMON\SSF20
 
*  This file is required for Developer/2000 Release 1.3.2 (16-bit)
   installations only.
 
Hope this helps
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mccallwCommented:
Have you tried Oracle File Packager?  This allows you to set up your own custom install CD (from a staging area) made up of only the options you want included in the new CD install.  You can choose only the runtime components or any other options you want.  The File Packager then creates your own custom install .prd file(s) in a staging area that you can then burn to a CD.  Or you can install from the staging area if you wish.

No need to worry about multiple Oracle Homes or registry hacks on each pc.
0
pawarsandyAuthor Commented:
This comment is realy a nice solution.
I will get solution to my question using
this comment.

Thanks Crsankar,
I want your mail Id for further communication

Hope you mail me at sandeep@snrindia.com.

Best Regards.
Sandeep
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.