VMware Horizon Community
mobik
Contributor
Contributor

Oracle 9i on Windows 7

Hi,

we're trialling ThinApp for a Windows 7 deployment.  I have captured an application along with Oracle 9i in the same package on a XP SP3 VM.  The ThinApp works fine when I install it on a XP machine but fails with a fairly generic Oracle error when it is installed on Windows 7.  I have an entry point to ODBC in the Thinapp which also fails when on Windows 7 only.

Are there any considerations to make when using Thinapp with Windows 7?

Reply
0 Kudos
7 Replies
Linjo
Leadership
Leadership

What happends if you capture the application on Win7? Is it 32 or 64bit?

// Linjo

Best regards, Linjo Please follow me on twitter: @viewgeek If you find this information useful, please award points for "correct" or "helpful".
Reply
0 Kudos
mobik
Contributor
Contributor

The app is 32 bit.  I'm capturing it on XP as it doesn't work on Windows 7.  I believe this is down to the Oracle version it requires.

Reply
0 Kudos
mobik
Contributor
Contributor

Thanks Lakshman I'll have a look at that.  Some of the errors suggest that I'll need to add some XP system dlls in.  What I'm not sure about is how a Thinapp decides when to use the captured OS and the OS it has been installed on.  I've run Log Monitor to see what my app is doing and the Environmental Variables suggest that my app is using the Oracle 11 version installed in WIndows 7 rather than the captured Oracle 9:

000030 0000 04dc |start_env_var| ORACLE_BASE=C:\oracle
000031 0000 04dc |start_env_var| ORACLE_HOME=C:\oracle\product\11.2.0\client_1

This would explain the problems I'm getting.  What I'm not sure about is how to make my app use the captured Oracle version?

NB: I've removed Oracle 11 from Windows 7 and the app is now working.

Reply
0 Kudos
Lakshman
Champion
Champion

When you capture on Windows XP, the XP system DLLs will not be captured during setup capture as they are part of the OS.

When you run the application on Win 7, the app will look for those XP system DLLs. Some of these DLLs are not present on Win 7.

Follow the link given and request you to test the ThinApp application on a clean Win 7 machine.

Reply
0 Kudos
TobyFruthParson
Enthusiast
Enthusiast

I see that Oracle is installed to a folder on the root of C:\ during the capture process.  Can you install the primary application to a folder on the root of C:\?  Sometimes this helps when implementing on Windows 7, especially if Windows 7 is 64-bit.

Toby Fruth, Sr. Specialist, The Parsons Corporation
Reply
0 Kudos
mobik
Contributor
Contributor

OK then, it was the ORACLE_HOME Environment Variable not being included in the Thinapp.  So the application was using the native ORACLE_HOME in Win7.  I've added the variable into the HKLM txt file and rebuilt the Thinapp and it is working fine now.

Reply
0 Kudos