Jump to content

Oracle Client Installation: Firewall exception.


rudi
 Share

Recommended Posts

Hi.

May be somebody has a much easier solution to completely silently install the Oracle 10 Client?

My issue:

By the use of a response file, the Oracle Client can be setup silently - almost ^_^

\\Server\Share\Ora\setup.exe -silent -nowelcome -responseFile  \\Server\Share\Ora\response\MyResponseFile.rsp

During the install procedure of the Oracle 10 client there is a procedure using java, and requiring a firewall exception for this file:

%temp%\OraInstall[yyyy-mm-dd_hh-mm-ss]PM\jre\1.4.2\bin\java.exe

so for each and every installation run the folder is different.

Approach1:

- sit and wait for a *NEW* folder "OraInstall*" to show up. [1]

- Now add the firewall exception (howto? I know howto do so with a unattend.txt during XP setup,

but I don't know howto do without user intervention (popup), when Windows XP is running?)

- wait for the Ora Client setup to finish.

- remove the firewall exeption (it's not required any more after the setup has finished).

Approach2:

- disable Windows Firewall (howto?)

- install Ora Client

- enable Windows FW. (howto?)

Any sugestions appreciated, regards, Rudi.

[1] The Ora Client installation will create a bunch of *NEW* folder for that java stuff. For one of them the mentioned FW exception is required, just temporary.

That one obviously seems not to be needed any more once the installation is done:

C:\>cd %temp%

C:\DOKUME~1\Admin\LOKALE~1\Temp>dir ora*
 Datenträger in Laufwerk C: ist XPSP2ONL
 Volumeseriennummer: 9869-434C

 Verzeichnis von C:\DOKUME~1\Admin\LOKALE~1\Temp

15.04.2009  13:16   <DIR>         OraInstall2009-04-15_01-08-43PM
15.04.2009  13:28   <DIR>         OraInstall2009-04-15_01-19-02PM
15.04.2009  13:32   <DIR>         OraInstall2009-04-15_01-32-13PM
15.04.2009  13:34   <DIR>         OraInstall2009-04-15_01-33-31PM
15.04.2009  13:35   <DIR>         OraInstall2009-04-15_01-35-17PM
15.04.2009  13:47   <DIR>         OraInstall2009-04-15_01-46-53PM
15.04.2009  14:04   <DIR>         OraInstall2009-04-15_02-04-20PM
15.04.2009  14:07   <DIR>         OraInstall2009-04-15_02-06-54PM
15.04.2009  14:09   <DIR>         OraInstall2009-04-15_02-09-28PM
15.04.2009  14:10   <DIR>         OraInstall2009-04-15_02-10-15PM
15.04.2009  14:17   <DIR>         OraInstall2009-04-15_02-16-01PM
15.04.2009  14:25   <DIR>         OraInstall2009-04-15_02-24-22PM

Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Link to comment
Share on other sites

bump.

I do know that it *IS* possilbe to add firewall exceptions for setup routines.

Siemens Step7 is doing so silently.

But even if I know this, I still will have a problem to figure out, what's the folder name, as it's built from "current date + current time", and after the setup it has to be removed again, as it's never ever needed again.

Anybody any hints, URLs, M$ readme's, ...?

Regards, Rudi.

Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Link to comment
Share on other sites

To allow a program through the firewall use "netsh firewall set allowedprogram" in a command prompt to get the proper syntax then use run in your script.


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Link to comment
Share on other sites

To allow a program through the firewall use "netsh firewall set allowedprogram" in a command prompt to get the proper syntax then use run in your script.

Thanks!

C:\>netsh firewall set allowedprogram program = C:\windows\notepad.exe notepad mode = enable

--> this will create a firewall exception entry. The online help is wrong (WinXP SP3): it tells to use "name = <name>"

C:\>netsh firewall set allowedprogram program = C:\windows\notepad.exe notepad mode = disable

--> this will untag (disable) the firewall exception entry, but leave it in place.

C:\>netsh firewall set allowedprogram program = C:\windows\notepad.exe disable

--> this will remove the firewall exception entry. (so don't specify the "name" of the entry, just the program)

Regards, Rudi.

Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...