Hey everyone...
Is there a way to get data back from pushing an application? we are trying to deploy a battery recall application that launches a webpage on successful install letting us know weather the battery is a recall or not... so i was wondering if there was a way that i could this data back thats being displayed on the webpage..
Any suggestions?
Thanks
Ty.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Hi tyron123,

i have got the same Problem... retrieve the Data from the Website and collect them.

I did not have that much time... possibly i get an enterprise solution from lenovo...

My other idea was reading the text from the IE window...

Unfortunately my Autoit skills are not the best...i only managed to read the URL [:(] from that page with the following Autoit code

;INTERNET Connection must exist!!!!
; Call Lenovo Battery prog silent
Run("setup.exe /s /f1"silent.iss"", "", @SW_MAXIMIZE)
; Wait 4 IE Window
WinWait("Lenovo battery program")
$content = WinGetText("Lenovo battery program", "")
MsgBox(0, "Content", $content)

anyone better in AU scripting here?
Answered 10/02/2006 by: Shadowdancer_
Senior Yellow Belt

Please log in to comment
0
interesting.. thnx.. tho i was told that lenovo was to provide an sms script and that could be tweaked..
the only other solution i came up with was...
We could probably grab value from html or copy the file from the temp internet file folder (ValidateQuery.aspx) a/o get the value from there maybe?

Else create a wmi script to get the battery part # ? just suggestions..

cheers
Ty
Answered 10/02/2006 by: tyron123
Senior Yellow Belt

Please log in to comment
0
I just received an Email from Lenovo containing a Tool.

Here's the description...

Overview
The purpose of BATTINFO is to assist IT departments in the collection of ThinkPad battery information. This utility reports the system (MTM, serial number) and battery (manufacturer, manufacture date, battery 11S serial number) information, as well as determining if the battery in question is subject to the recall. The output is sent to the screen in a Windows dialog box, a command prompt, and to a CSV (comma-separated value) file.

Sounds good i thought to myself....

But when executing this on my Thinkpad T42 and T60 it said:

Battery not installed or detected

[:(]

I sent back my feedback to Lenovo waiting for a solution.

I just uploaded the file:

Lenovo BatInfo
Answered 10/04/2006 by: Shadowdancer_
Senior Yellow Belt

Please log in to comment
0
ok! great.. i just sent you an email ..
sned me the tool whenever you get the time .. thnx
Ty.
Answered 10/04/2006 by: tyron123
Senior Yellow Belt

Please log in to comment
0
You got mail [:D]
Answered 10/05/2006 by: Shadowdancer_
Senior Yellow Belt

Please log in to comment
0
i didnt get it [:(] i guess it got filtered.. try emailin it to tyron_uhcl@yahoo.com
thnx n sorry for the inconvenience
cheers
Ty.
Answered 10/05/2006 by: tyron123
Senior Yellow Belt

Please log in to comment
0
On its way again ;-)
Answered 10/05/2006 by: Shadowdancer_
Senior Yellow Belt

Please log in to comment
0
Change the following entries in your sms_def.mof from 'false' to 'true':

[ SMS_Report (TRUE),
SMS_Group_Name ("Battery"),
SMS_Class_ID ("MICROSOFT|BATTERY|1.0") ]

class Win32_Battery : SMS_Class_Template
{
[SMS_Report (TRUE), key]
string DeviceID;
[SMS_Report (TRUE) ]
string Name;
};


[ SMS_Report (TRUE),
SMS_Group_Name ("Portable Battery"),
SMS_Class_ID ("MICROSOFT|PORTABLE_BATTERY|1.0") ]

class Win32_PortableBattery : SMS_Class_Template
{
[SMS_Report (TRUE) ]
string Manufacturer;
[SMS_Report (TRUE) ]
string Name;
};


This will not require a MOFComp as these are standard classes.

Then you can simply query the results for the portable battery Name0 like '%3K590%' etc, etc.
Answered 10/05/2006 by: jkovarik
Senior Yellow Belt

Please log in to comment
0
Thanks for the info ... :) appreciate it!
Answered 10/06/2006 by: tyron123
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity