Discussion:
[wpkg-users] Oracle Client 11 (Marco Gaiarin)
Sydney Tsai
2016-11-08 03:15:57 UTC
Permalink
Also you may want to use COMSEC to warp up commands, sometime commands
don't work well on its own.
Something like this:
<install cmd="%SOFTWARE%\Cliente11.bat" /> to

<install cmd='%COMSEC% /C "%SOFTWARE%\Cliente11.bat"' />
Note that there is a single quote outside of double quote.

Hope this will help.
Send wpkg-users mailing list submissions to
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.wpkg.org/mailman/listinfo/wpkg-users
or, via email, send a message with subject or body 'help' to
You can reach the person managing the list at
When replying, please edit your Subject line so it is more specific
than "Re: Contents of wpkg-users digest..."
1. Re: Oracle Client 11 (Marco Gaiarin)
----------------------------------------------------------------------
Message: 1
Date: Mon, 7 Nov 2016 10:52:40 +0100
Subject: Re: [wpkg-users] Oracle Client 11
Content-Type: text/plain; charset=iso-8859-1
Mandi! J?der Marasca
In chel di` si favelave...
I'll try to run it as system... must download psexec and try on another
computer, my test computer (Win7 at virtualbox) refuses to run any wpkg
command
when in system user.
W:\files>cscript \\servidor\wpkg\wpkg.js /nonotify /show:IrfanView
Consider that windows (client OS, every version) refuse to make
authenticated request to shares by the same host with different
credentials.
EG, if you have connected \\servidor\intranet to W: user some
credentials, SYSTEM user (that use machine account or guest access)
cannot access the same share.
Try to ''unmount'' \\servidor\intranet (or any share on \\servidoer)
and retry, or, if you are using samba, define an alias and use the
alias (it is a client limitation, not a server one).
--
240A3D66
Associazione ``La Nostra Famiglia''
http://www.lanostrafamiglia.it/
Polo FVG - Via della Bont?, 7 - 33078 - San Vito al Tagliamento
(PN)
marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711
<+39%200434%20842711> f +39-0434-842797 <+39%200434%20842797>
Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
http://www.lanostrafamiglia.it/25/index.php/component/k2/item/123
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
------------------------------
Subject: Digest Footer
_______________________________________________
wpkg-users mailing list
https://lists.wpkg.org/mailman/listinfo/wpkg-users
------------------------------
End of wpkg-users Digest, Vol 109, Issue 3
******************************************
Stefan Pendl
2016-11-08 20:45:05 UTC
Permalink
Post by Sydney Tsai
Also you may want to use COMSEC to warp up commands, sometime commands
don't work well on its own.
<install cmd="%SOFTWARE%\Cliente11.bat" /> to
<install cmd='%COMSEC% /C "%SOFTWARE%\Cliente11.bat"' />
Note that there is a single quote outside of double quote.
Hope this will help.
Shouldn't this read %ComSpec%, notice the missing "P" ;-)
--
*Stefan P.*

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
---------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
Jáder Marasca
2017-06-12 12:30:52 UTC
Permalink
Sorry my delay, IÂŽll reply here my config to document to other one!
This is the WPKG package:


[***@andorinha packages]# cat OracleClient.xml
<packages>
<package id="OracleClient"
name="Cliente BD Oracle v11"
revision="2"
priority="950"
reboot="false">

<check type="file" condition="exists"
path="c:\oracle\odp.net\bin\2.x\Oracle.DataAccess.dll"
/>

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

<upgrade include="install"/>

<remove cmd="%COMSPEC% /C rmdir c:\Oracle /s /q" />

</package>

</packages>



And this is the BATCH file :


[***@andorinha software]# cat Cliente11.bat
@echo off
cls
if not exist C:\OracleClient11 mkdir C:\OracleClient11
xcopy /q /j /y /s /i /c \\servidor\wpkg\software\OracleClient11
C:\OracleClient11
rem robocopy \\servidor\wpkg\software\OracleClient11 C:\OracleClient11
/S /NP /ETA /V
c:
cd C:\OracleClient11
call install.bat odp.net2 c:\oracle odac
cd \
rmdir c:\OracleClient11 /s /q


The actual problem was a permission issue on share of SAMBA. :(
It was not a WPKG problem but anyways, here is the packages are working on
my install.
Post by Stefan Pendl
Post by Sydney Tsai
Also you may want to use COMSEC to warp up commands, sometime commands
don't work well on its own.
<install cmd="%SOFTWARE%\Cliente11.bat" /> to
<install cmd='%COMSEC% /C "%SOFTWARE%\Cliente11.bat"' />
Note that there is a single quote outside of double quote.
Hope this will help.
Shouldn't this read %ComSpec%, notice the missing "P" ;-)
--
*Stefan P.*
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
---------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermai
l/wpkg-users/
_______________________________________________
wpkg-users mailing list
https://lists.wpkg.org/mailman/listinfo/wpkg-users
Loading...