Re-Packaking Oracle 9i Client
Hello,
I'm struggling to get Oracle 9i client packaged/automated. Have somebody successfully repackaged this? Please let me know how you did it.
I've attempted to create response file (supported method) but I end up to error that installation fails because it can't find disc 3.
I also tried setup capture with Wise, but I have error during MSI installation that Java Plugin is not correctly installed.
Please assist.
I'm struggling to get Oracle 9i client packaged/automated. Have somebody successfully repackaged this? Please let me know how you did it.
I've attempted to create response file (supported method) but I end up to error that installation fails because it can't find disc 3.
I also tried setup capture with Wise, but I have error during MSI installation that Java Plugin is not correctly installed.
Please assist.
0 Comments
[ + ] Show comments
Answers (30)
Please log in to answer
Posted by:
timmsie
14 years ago
I don't think you should try and re-package the install, even the most accomplished packagers would steer clear.
Response files work well, I've added a link to the knowledgebase at the top of the thread which has loads of information that should help you.
Did you manage to create a response file or did you get your disc3 error whilst trying to create it.
Response files work well, I've added a link to the knowledgebase at the top of the thread which has loads of information that should help you.
Did you manage to create a response file or did you get your disc3 error whilst trying to create it.
Posted by:
pjgeutjens
14 years ago
I don't think you should try and re-package the install, even the most accomplished packagers would steer clear
Actually it's not all that bad. You do need to be aware of the difference between the Oracle installation and the Oracle Installer though. The first is what you want in the package, where as the second is the (Java-based) contraption that is the installer Oracle developped to get the client installed on your machine. It leaves behind alot of junk on the system that is really completely irrelevant. I suspect Tiejo that the error you're getting is related to this...
In essence though, I would agree with Richard in that, if you can get a good result using the Oracle Installer and response files, stick to it.
PJ
Posted by:
anonymous_9363
14 years ago
Java Plugin is not correctly installed.
As an education point, this is due to two things: one, the brain-dead developers at Sun STILL don't know how to compile DLLs without the DLLRegisterServer entry-point included and two, the equally brain-dead developers at Wise/Atiris/Symantec trigger a COM extract purely on finding that entry-point, irrespective of whether the DLL contains any COM information.
You can avoid the issue by installing the EXACT flavour of JRE that the app requires BEFORE capturing. That way, the JRE doesn't get captured and Wise has no opportunity to fall over its own trap.
Posted by:
weedee
14 years ago
Posted by:
weedee
14 years ago
Posted by:
weedee
14 years ago
Posted by:
anonymous_9363
14 years ago
Posted by:
weedee
14 years ago
Posted by:
weedee
14 years ago
Posted by:
anonymous_9363
14 years ago
Posted by:
weedee
14 years ago
Posted by:
timmsie
14 years ago
Posted by:
Dantè
14 years ago
Posted by:
ravishanker62
14 years ago
Hi Weedee,
You can create your own response file by running your setup.exe from command prompt & passing a path for your response file
setup.exe -record -destinationFile <destinationFile path>
setup.exe -record -destinationFile "C:\Oracle Client 9\oracle9_install\install\win32\Install.rsp"
it will run the setup & you have to provide all information as required for installing Oracle client and the same will be recorded into the response file.
After that you can use this new response file for your silent installation.
setup.exe -silent -responsefile "C:\Oracle Client 9\oracle9_install\install\win32\Install.rsp"
For Silent uninstall of package again you can use the same response file as mentioned below.
setup.exe -deinstall -silent -RESPONSEFILE "C:\Oracle Client 9\oracle9_install\install\win32\Install.rsp"
Hope it will answer all your queries.[8|]
You can create your own response file by running your setup.exe from command prompt & passing a path for your response file
setup.exe -record -destinationFile <destinationFile path>
setup.exe -record -destinationFile "C:\Oracle Client 9\oracle9_install\install\win32\Install.rsp"
it will run the setup & you have to provide all information as required for installing Oracle client and the same will be recorded into the response file.
After that you can use this new response file for your silent installation.
setup.exe -silent -responsefile "C:\Oracle Client 9\oracle9_install\install\win32\Install.rsp"
For Silent uninstall of package again you can use the same response file as mentioned below.
setup.exe -deinstall -silent -RESPONSEFILE "C:\Oracle Client 9\oracle9_install\install\win32\Install.rsp"
Hope it will answer all your queries.[8|]
Posted by:
weedee
14 years ago
Posted by:
weedee
14 years ago
Posted by:
cygan
14 years ago
Posted by:
weedee
14 years ago
Posted by:
anonymous_9363
14 years ago
Hmmm...I wonder what could be causing that error? (!)
BTW, when capturing apps which use JRE, remember that SetupCapture is dumb and the JRE developers equally so. The first because it determines that a DLL or OCX is registerable purely on the basis that the file contains the DLLRegisterServer entry-point (rather than that it actually contains COM information) and the second because they still haven't found the compiler switch to NOT include that entry-point. The NPJAVA[x].DLL files are the principal culprits here.
BTW, when capturing apps which use JRE, remember that SetupCapture is dumb and the JRE developers equally so. The first because it determines that a DLL or OCX is registerable purely on the basis that the file contains the DLLRegisterServer entry-point (rather than that it actually contains COM information) and the second because they still haven't found the compiler switch to NOT include that entry-point. The NPJAVA[x].DLL files are the principal culprits here.
Posted by:
cygan
14 years ago
Posted by:
anonymous_9363
14 years ago
Posted by:
timmsie
14 years ago
Posted by:
ravishanker62
14 years ago
Hi weedee,
You have to remember to provide FULL PATH of your rsp file while running the setupfrom command prompt.example mentioned below otherwise it will not run after showing busy for 10/15 sec
setup.exe -silent -responsefile "C:\test\Oracle Client 9\oracle9_install\install\win32\Install.rsp"
also in the Install.rsp file (my response file) you have to provide FULL PATH of product.jar file or you can also provide the syntax like mentioned below.
#Parameter: FROM_LOCATION
#Type: String
#Description: Complete path of the products.jar.
FROM_LOCATION=..\stage\products.jar
Regards
Ravi
You have to remember to provide FULL PATH of your rsp file while running the setupfrom command prompt.example mentioned below otherwise it will not run after showing busy for 10/15 sec
setup.exe -silent -responsefile "C:\test\Oracle Client 9\oracle9_install\install\win32\Install.rsp"
also in the Install.rsp file (my response file) you have to provide FULL PATH of product.jar file or you can also provide the syntax like mentioned below.
#Parameter: FROM_LOCATION
#Type: String
#Description: Complete path of the products.jar.
FROM_LOCATION=..\stage\products.jar
Regards
Ravi
Posted by:
weedee
14 years ago
Hi ravi,
I created responsefile using command you provided. FROM_LOCATION field in my install.rsp file had full path to products.jar file automatically.
When I started installation with command setup.exe -silent -responsefile "c:\install.rsp", I saw javaw.exe starts running in Task Manager for 5-10 seconds and then it disappears and nothing else happens.
I created responsefile using command you provided. FROM_LOCATION field in my install.rsp file had full path to products.jar file automatically.
When I started installation with command setup.exe -silent -responsefile "c:\install.rsp", I saw javaw.exe starts running in Task Manager for 5-10 seconds and then it disappears and nothing else happens.
Posted by:
weedee
14 years ago
VBScab,
Thanks for pointing me to right direction.
I installed flavoured Java version to my packaking platform before taking snapshot.
After I installed my MSI to another computer, it no longer failed to Java error, but finished successfully. I was also able to uninstall it.
I just have to make sure that all components are working like they should.
Thanks for pointing me to right direction.
I installed flavoured Java version to my packaking platform before taking snapshot.
After I installed my MSI to another computer, it no longer failed to Java error, but finished successfully. I was also able to uninstall it.
I just have to make sure that all components are working like they should.
Posted by:
anonymous_9363
14 years ago
Posted by:
MSIPackager
14 years ago
Posted by:
mike_msi
14 years ago
Posted by:
cygan
14 years ago
Try out Powershell script for silent installation with the necessary specs as mentioned . This will work as I have been successful. Will try to provide one if I find that in my drive
why do you need powershell?
we are talking oracle client . a very straight forward package to do
as Rob says "lets keep it nice and simple"
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.