I never thought of that. I will have
to refine my grep statements so it doesn’t try and kill itself J
Thanks!
From: Matt Mitchell
[mailto:email@hidden]
Sent: Thursday, December 11, 2008
12:01 PM
To: Gignac, Jason (HAS-SAT); Adam
Peck; email@hidden
Subject: RE: Preflight failing
Is SMART Board in
the name of your package by any chance?
When I make an
installer called SMART Board that script fails but if I call it My Installer it
works fine.
-----------------------------------
The
information contained in this electronic message and any attached document(s)
is intended only for the personal and confidential use of the designated
recipients named above. This message may be confidential. If the reader of this
message is not the intended recipient, you are hereby notified that you have
received this document in error, and that any review, dissemination,
distribution, or copying of this message is strictly prohibited. If you have
received this communication in error, please notify sender immediately by
telephone (603) 262-6300 or by electronic mail immediately. Thank you.
From: Gignac, Jason (HAS-SAT) [mailto:email@hidden]
Sent: Thursday, December 11, 2008
1:46 PM
To: Adam Peck; Matt Mitchell;
email@hidden
Subject: Re: Preflight failing
Well... Maybe I’m stating the obvious, but there are no
standard processes under ps aux that have SMART Board in the name, and if the
two greps don’t have a response, your awk line will fail with an error?
On 12/11/08 Thursday, December 11, 2008 -12:42 PM, "Adam Peck" <email@hidden> wrote:
The install.log is more or less useless.
The script is pretty small
#!/bin/bash
echo "preflight: kill all apps"
ps aux | grep "SMART Board" | grep -v "grep" | awk '{print
"kill "$2 }' | sh
exit 0
The log prints kill all apps and then states that it fails but gives no
information about it.
From: Matt Mitchell [mailto:email@hidden]
Sent: Thursday, December 11, 2008
11:37 AM
To: Adam Peck; email@hidden
Subject: RE: Preflight failing
Hi,
Did you try looking at the install log? It should give you some kind of clue as
to why it failed.
-----------------------------------
The information
contained in this electronic message and any attached document(s) is intended
only for the personal and confidential use of the designated recipients named
above. This message may be confidential. If the reader of this message is not
the intended recipient, you are hereby notified that you have received this
document in error, and that any review, dissemination, distribution, or copying
of this message is strictly prohibited. If you have received this communication
in error, please notify sender immediately by telephone (603) 262-6300 or by
electronic mail immediately. Thank you.
From: installer-dev-bounces+mattmitchell=email@hidden
[mailto:installer-dev-bounces+mattmitchell=email@hidden]
On Behalf Of Adam Peck
Sent: Thursday, December 11, 2008
1:20 PM
To: email@hidden
Subject: Preflight failing
I am trying to implement a preflight script but
am having trouble with it. My install always fails with a preflight
error. I can tell it is running and I have an exit 0 at the end of the
script. Running it from the command line causes no problems. Is there anything
else it could be?
Adam
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden