Problem with batch for install Client Oracle 11

16 views
Skip to first unread message

Jáder Marasca

unread,
Oct 25, 2016, 12:00:08 PM10/25/16
to wpk...@googlegroups.com
Hi

I have a problem, a smal one:
I create one installer for Oracle Client 11 as provided by our softwarehouse.
The OracleClient.xml reads:

  <install cmd="%SOFTWARE%\Cliente11.bat" />

and the BATCH has several lines, but the important one is:

   call install.bat odp.net2 c:\oracle odac

inside this batch it calls configure.bat with other parameters, also using CALL.

If I run "cscript  wpkg.js install OracleClient" it works 100% at 100% times!
But it NEVER works from WPKG-GP client as running at startup!

I already try to include "%COMSPEC% /C" on install command, same problem.

Any tips, or debugs to try ?

Regards

Jáder Marasca

+55.051.4063.7407 (VoIP)         +55.083.99811.9170 (Tim) 
+1.305.791.3265 (Google)        skype: jader.marasca   

Carlos Pasqualini

unread,
Nov 3, 2016, 2:06:07 PM11/3/16
to wpkg-gp
For debugging, you should keep in mind that you are testing as user, or may be as administrator, but the wpkg-gp process runs as SYSTEM

https://blogs.technet.microsoft.com/askds/2008/10/22/getting-a-cmd-prompt-as-system-in-windows-vista-and-windows-server-2008/

You will not have access to network shares nor will be able to logon using user's credentials if you are executing as SYSTEM.


Hope this helps
Reply all
Reply to author
Forward
0 new messages