[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wpkg-users
Subject:    Re: [wpkg-users] Best practice for Copying a folder and the WPKG Check that its correct
From:       Patrick CAHILL <pjcah0 () eq ! edu ! au>
Date:       2014-09-02 0:31:18
Message-ID: 7740dc9885963.54059c76 () eq ! edu ! au
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Once you guys assured me that WPKG processes the commands in a consistent top down \
order there were a lot of options on how to detect it. I thought about the registry \
but my organisation was already using c:\logs\ to log output from centralised \
scripted installs so I decided to piggy back my check logs into this folder and name \
them WPKG-Package-ReverseDate.log  
To make the log, I eventually used an echo rather than a dummy file.
 
<install cmd='%comspec% /c echo %date:~10,4%/%date:~7,2%/%date:~4,2% @%time% - \
Package Name - Package Subpart > "C:\Logs\WPKG - Package - Package Subpart - \
%date:~10,4%.%date:~7,2%.%date:~4,2%.txt"' />  
This also gave me a quick way to check without having to search through the central \
wpkg log or the local wpkg.xml  
--

thanks
-Pat Cahill
M: Berserker Street SS
T: Glenmore SS
W: Berserker Street SS
T: Glenmore SS
F: Parkhurst SS

 
 
 
  
On 01/09/14, Marco Gaiarin <gaio@sv.lnf.it> wrote: 
> Mandi! Adam Thorn
> In chel di` si favelave...
> 
> > One option would be to have
> > <install cmd='robocopy SOURCE DESTINATION' />
> > <install cmd='robocopy foo.finished DESTINATION '/>
> 
> I normally use that strategy, also for registry entry, eg i setup
> registry and then add a ''fake'' entry to check for.
> 
> -- 
> dott. Marco Gaiarin                                        GNUPG Key ID: 240A3D66
> Associazione ``La Nostra Famiglia''                    http://www.sv.lnf.it/
> Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
> marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797
> 
> Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
> http://www.lanostrafamiglia.it/chi_siamo/5xmille.php
> (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
> -------------------------------------------------------------------------
> SSLrack gives free SSL certificates for open source projects (and cheap for \
> everyone else)! http://www.sslrack.com/promo/free-ssl-certificates-open-source-projects
>  
> -------------------------------------------------------------------------
> wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
> _______________________________________________
> wpkg-users mailing list
> wpkg-users@lists.wpkg.org
> http://lists.wpkg.org/mailman/listinfo/wpkg-users
> 
> 


[Attachment #5 (text/html)]

<DIV>Once you guys assured me that WPKG&nbsp;processes the&nbsp;commands in a \
consistent top down order there were a lot of options on how to detect \
it.</DIV><DIV>I thought about&nbsp;the registry but my organisation was already using \
c:\logs\ to&nbsp;log&nbsp;output from centralised scripted installs so I decided to \
piggy back my check logs into this folder and name&nbsp;them \
WPKG-Package-ReverseDate.log</DIV><DIV>&nbsp;</DIV><DIV>To make the log, I eventually \
used an echo rather than a dummy file.</DIV><DIV>&nbsp;</DIV><DIV>&lt;install \
cmd='%comspec% /c echo&nbsp;%date:~10,4%/%date:~7,2%/%date:~4,2% @%time% - Package \
Name&nbsp;- Package Subpart&nbsp;&gt; "C:\Logs\WPKG - Package - Package Subpart - \
%date:~10,4%.%date:~7,2%.%date:~4,2%.txt"' /&gt;</DIV><DIV>&nbsp;</DIV><DIV>This also \
gave me a quick way to check without having to search through the central wpkg log or \
the local wpkg.xml</DIV><DIV>&nbsp;</DIV><DIV>--<BR \
signature="separator"></DIV><DIV>thanks</DIV><DIV>-Pat Cahill</DIV><DIV><FONT \
size=1>M: Berserker Street SS</FONT></DIV><DIV><FONT size=1>T: Glenmore \
SS</FONT></DIV><DIV><FONT size=1>W: Berserker Street SS</FONT></DIV><DIV><FONT \
size=1>T: Glenmore SS</FONT></DIV><DIV><FONT size=1>F:&nbsp;Parkhurst \
SS</FONT></DIV><P>&nbsp;</P> <P>&nbsp;</P>
<DIV>&nbsp;</DIV><SPAN>On 01/09/14, <B class=name>Marco Gaiarin \
</B>&lt;gaio@sv.lnf.it&gt; wrote:</SPAN> <BLOCKQUOTE class=iwcQuote \
style="PADDING-LEFT: 13px; MARGIN-LEFT: 0px; BORDER-LEFT: #00f 1px solid" \
cite=mid:20140901091824.GC3393@sv.lnf.it type="cite"> <DIV class="mimepart text \
plain">Mandi! Adam Thorn<br />&nbsp; In chel di` si favelave...<br /><br />&gt; One \
option would be to have<br />&gt; &lt;install cmd='robocopy SOURCE DESTINATION' \
/&gt;<br />&gt; &lt;install cmd='robocopy foo.finished DESTINATION '/&gt;<br /><br \
/>I normally use that strategy, also for registry entry, eg i setup<br />registry and \
then add a ''fake'' entry to check for.<br /><br />-- <br />dott. Marco \
Gaiarin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& \
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
GNUPG Key ID: 240A3D66<br />&nbsp; Associazione ``La Nostra \
Famiglia''&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
<a href="http://www.sv.lnf.it/" target=l >http://www.sv.lnf.it/</A><br />&nbsp; Polo \
FVG&nbsp;&nbsp; -&nbsp;&nbsp; Via della Bontà, 7 - 33078&nbsp;&nbsp; -&nbsp;&nbsp; \
San Vito al Tagliamento (PN)<br />&nbsp; \
marco.gaiarin(at)lanostrafamiglia.it&nbsp;&nbsp; t +39-0434-842711&nbsp;&nbsp; f \
+39-0434-842797<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dona il 5 \
PER MILLE a LA NOSTRA FAMIGLIA!<br \
/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a \
href="http://www.lanostrafamiglia.it/chi_siamo/5xmille.php" target=l \
>http://www.lanostrafamiglia.it/chi_siamo/5xmille.php</A><br />(cf 00307430132, \
> categoria ONLUS oppure RICERCA SANITARIA)<br \
> />-------------------------------------------------------------------------<br \
> />SSLrack gives free SSL certificates for open source projects (and cheap for \
> everyone else)!<br /><a \
> href="http://www.sslrack.com/promo/free-ssl-certificates-open-source-projects" \
> target=l >http://www.sslrack.com/promo/free-ssl-certificates-open-source-projects</A><br \
> /><br />-------------------------------------------------------------------------<br \
> />wpkg-users mailing list archives &gt;&gt; <a \
> href="http://lists.wpkg.org/pipermail/wpkg-users/" target=l \
> >http://lists.wpkg.org/pipermail/wpkg-users/</A><br \
> > />_______________________________________________<br />wpkg-users mailing list<br \
> > />wpkg-users@lists.wpkg.org<br /><a \
> > href="http://lists.wpkg.org/mailman/listinfo/wpkg-users" target=l \
> > >http://lists.wpkg.org/mailman/listinfo/wpkg-users</A><br /></DIV></BLOCKQUOTE>



-------------------------------------------------------------------------
SSLrack gives free SSL certificates for open source projects (and cheap for everyone else)!
http://www.sslrack.com/promo/free-ssl-certificates-open-source-projects

-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic