D2K runtime Installation.

Posted on 2000-01-18
Medium Priority
Last Modified: 2012-06-27

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

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.

Sandeep P.
Question by:pawarsandy
  • 6
  • 5
  • 2
  • +3

Author Comment

ID: 2365618
I want reply as early as possible.

Expert Comment

ID: 2365648
Sandeep remember my comment.
If you get any positive reply, reject this.


Expert Comment

ID: 2365654
I mean if sombody comes out with a solution then accept that comment as an answer and reject mine.

7 new features that'll make your work life better

It’s our mission to create a product that solves the huge challenges you face at work every day. In case you missed it, here are 7 delightful things we've added recently to monday to make it even more awesome.


Author Comment

ID: 2365734
This is a alternative solution. I want
solution which will fit in my requirement.

Expert Comment

ID: 2366027

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!

Author Comment

ID: 2366114
I don't want to use setup on D2K cd
can I Make my own D2K runtime CD.
which contains only D2K runtime.

Expert Comment

ID: 2366127
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.


Expert Comment

ID: 2366148
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.

Expert Comment

ID: 2366155
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.


Expert Comment

ID: 2366245
Just make a temporary installation of forms runtime engine alone on one of the clients and see what are the entries

Author Comment

ID: 2366312
Hi Crsankar,
Can u please tell what entries to be done at registry to run D2k from
network machine.

Expert Comment

ID: 2366436
I will get back to you on this.

Expert Comment

ID: 2366593
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

Author Comment

ID: 2369794
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.


Accepted Solution

crsankar earned 200 total points
ID: 2381235
WIN: Deploying Oracle Forms Runtime Applications
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
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
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
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.
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

Expert Comment

ID: 2472101
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.

Author Comment

ID: 2476953
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.

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
Via a live example, show how to take different types of Oracle backups using RMAN.
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

600 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question