Yes You can make a setup file like in VB people do. for that you need oracle installer, but i don't know the exact process,
but mean while i can suggest u another way to deploy it at client side.i.e (ifrun60)
first of all install the database at client side,then install the forms runtime and filnally copy all the .fmx files.
you must now the path of ifrun60 file, u can find this file in the bin folder of your forms. it may be like this c:\forms\bin\ifrun60
now create a batch file on desktop
write the following lines in it....
c:\forms\bin\ifrun60 c:\xyz\login.fmx username/password@databasename
login.fmx (this fmx file may be any different which u want to load when the application runs)
username/password@databsename may be like this scott/tiger@sct
Hummmm... figuring the deployment strategy at deployment time is a bit late in the process... anyway,
First it is hard to figure the best strategy without knowing your environment. Are your clients in a Lan, Wan, Web environment ? This will make a difference.
- Install Oracle Forms and Application files on each local machine (either physically or via something such as Microsoft SMS (System Management Software or the like) or use something such as Installshield to build your final "product" disk from which the clients can install your application (and every Oracle Forms files)
- Install Oracle Forms and the application files on a share file server (you will still need to configure the Oracle registry on the client machine)
- Use an application server such as Citrix (no need to configure Oracle registry or install anything other than the Citrix client on the client machine). Maybe you can have it worked also on Windows Terminal Services or Terminal Server ?
- Move to a Web base environment (which you should be able to do using 6i but you will need to test before deploying and some parts which work in client server won't work in the Web environment).
hmm good suggestions but but but..
Just i ve heard that you need to install the Forms runtime at each machine..
Client server environment where clients will be connected to oracle at a server.
maximum 10 users.
I think i need to install runtime at userss and then do something with IF run 60, this will create a exe lke thing so that user cannot see the code , and stil the application will run on thier machines..
There is no need to install the Oracle Forms runtime engine, neither your application files (Forms, Reports, etc.) on each client machine.
You can install the Oracle Forms software on a share file server where each client access the Oracle Forms engine and your application files. In that setup, you still need to configure the client Oracle registry to tell it where to find the files. You would not do that kind of setup on a WAN or slow client connections because it will take ages for the Oracle forms files to download to the client machine.
You can't create an exe with Oracle forms the same way you would in VB. Oracle Forms is a runtime engine and you need it to run your application.
The command line for your application will look like:
If installed on client machine:
C:\Oracle\forms6i\BIN\ifrun60.EXE <name of your main application form>
If installed on File server
F:\Oracle\forms6i\BIN\ifrun60.EXE <name of your main application form>
The deployment vehicule can be any of
- You physically go to the workstation and do the installation
- You provide a Web or server link (or through Microsoft SMS) where they can download and install the application files with instructions (this can be a batch file which will extract and copy all of the required files, Oracle Forms + Application files + update the registry). Don't forget that some Oracle files are installed within the Windows\system folder when you install Oracle Forms from the installation CD and are required to properly run any Oracle Forms application.
Client-server deployment with Oracle Forms (or other client-server software) is not easy and that's where the Web or something such as Citrix becomes very handy.