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

List:       thin
Subject:    [THIN] Re: Installation manager Exit Codes
From:       "Jeremy Saunders" <Jeremy.Saunders () datacom ! com ! au>
Date:       2010-01-22 3:23:07
Message-ID: DD54AB595229094DA5942DBFA951FD0908D9E802 () sydnrexc01 ! datacom ! com ! au
[Download RAW message or body]

Hi Jim,

 

Installation Manager does not deal with Exit Codes from scripts L. It's
always been a pain in the you know what. I think the new version of
Installation Manager under Windows 2008 does, but haven't personally
messed around with this yet. And as you have seen, SMS, Altiris, etc
will abide by the exit code, so there is nothing wrong with your
script(s).

 

Cheers,

Jeremy.

 

From: thin-bounce@freelists.org [mailto:thin-bounce@freelists.org] On
Behalf Of Jim Cannon
Sent: Friday, 22 January 2010 11:09 AM
To: thin@freelists.org
Subject: [THIN] Installation manager Exit Codes

 

Okay here is a question I thought was relatively simple that I have had
a support case with Citrix open for a week....Here is what I am trying
to figure out.....

 

I have created a wfs file in installation manager to install an
application...All the wfs does is simply execute an installation script
from a network share....The installation script installs the application
and does some checking at the end to ensure the app installed
successfully...If the script determines that the install was not
successful it returns an error code from the script of 1...If successful
it returns 0.....I am looking for Installation Manager to read the exit
code and report success or failure...So far I have only gotten success
as the wfs finds the script and it runs...It does not appear to care how
the script exits.....

 

If I place the same script in SMS it returns the correct result of
failure if the script returned errorlevel 1 or success if 0 is
returned.....Does anyone know if IM works this way or it will not read
exit codes?


#####################################################################################
Confidentiality and Privilege Notice 
This document is intended solely for the named addressee.  The information contained \
in the pages is confidential and contains legally privileged information. If you are \
not the addressee indicated in this message (or responsible for delivery of the \
message to such person), you may not copy or deliver this message to anyone, and you \
should destroy this message and kindly notify the sender by reply email. \
Confidentiality and legal privilege are not waived or lost by reason of mistaken \
delivery to you. #####################################################################################



[Attachment #3 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type \
content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 \
(filtered medium)"><style><!-- /* Font Definitions */
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-AU link=blue vlink=purple><div \
class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Hi \
Jim,<o:p></o:p></span></p><p class=MsoNormal><span \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span \
style='color:#1F497D'>Installation Manager does not deal with Exit Codes from scripts \
</span><span style='font-family:Wingdings;color:#1F497D'>L</span><span \
style='color:#1F497D'>. It&#8217;s always been a pain in the you know what. I think \
the new version of Installation Manager under Windows 2008 does, but haven&#8217;t \
personally messed around with this yet. And as you have seen, SMS, Altiris, etc will \
abide by the exit code, so there is nothing wrong with your \
script(s).<o:p></o:p></span></p><p class=MsoNormal><span \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span \
style='color:#1F497D'>Cheers,<o:p></o:p></span></p><p class=MsoNormal><span \
style='color:#1F497D'>Jeremy.<o:p></o:p></span></p><p class=MsoNormal><span \
style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div \
style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p \
class=MsoNormal><b><span lang=EN-US \
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span \
lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> \
thin-bounce@freelists.org [mailto:thin-bounce@freelists.org] <b>On Behalf Of </b>Jim \
Cannon<br><b>Sent:</b> Friday, 22 January 2010 11:09 AM<br><b>To:</b> \
thin@freelists.org<br><b>Subject:</b> [THIN] Installation manager Exit \
Codes<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p \
class=MsoNormal><span lang=EN-US>Okay here is a question I thought was relatively \
simple that I have had a support case with Citrix open for a week&#8230;.Here is what \
I am trying to figure out&#8230;..<o:p></o:p></span></p><p class=MsoNormal><span \
lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>I have \
created a wfs file in installation manager to install an application&#8230;All the \
wfs does is simply execute an installation script from a network share&#8230;.The \
installation script installs the application and does some checking at the end to \
ensure the app installed successfully&#8230;If the script determines that the install \
was not successful it returns an error code from the script of 1&#8230;If successful \
it returns 0&#8230;..I am looking for Installation Manager to read the exit code and \
report success or failure&#8230;So far I have only gotten success as the wfs finds \
the script and it runs&#8230;It does not appear to care how the script \
exits&#8230;..<o:p></o:p></span></p><p class=MsoNormal><span \
lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US>If I place \
the same script in SMS it returns the correct result of failure if the script \
returned errorlevel 1 or success if 0 is returned&#8230;..Does anyone know if IM \
works this way or it will not read exit codes?<o:p></o:p></span></p></div> <FONT \
face=Arial size=1> <HR>
</FONT>
<DIV><FONT size=1><FONT face=Arial><STRONG>Confidentiality and Privilege Notice 
<BR></STRONG>This document is intended solely for the named addressee.&nbsp; The 
information contained in the pages is confidential and contains legally 
privileged information. If you are not the addressee indicated in this message 
(or responsible for delivery of the message to such person), you may not copy or 
deliver this message to anyone, and you should destroy this message and kindly 
notify the sender by reply email. Confidentiality and legal privilege are not 
waived or lost by reason of mistaken delivery to you.</FONT></FONT></DIV>
<DIV><FONT face=Arial size=1></FONT></DIV><FONT face=Arial size=1>
<HR>
</FONT>
</body></html>


************************************************
For Archives, RSS, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link:
http://www.freelists.org/list/thin
Follow ThinList on Twitter
http://twitter.com/thinlist
Thin List discussion is now available in blog format at:
http://thinmaillist.blogspot.com
Thinlist MOBILE Feed
http://thinlist.net/mobile
************************************************

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

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