/build/static/layout/Breadcrumb_cap_w.png

Get Data Back

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

Answers (9)

Posted by: Shadowdancer_ 18 years ago
Senior Yellow Belt
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?
Posted by: tyron123 18 years ago
Senior Yellow Belt
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
Posted by: Shadowdancer_ 18 years ago
Senior Yellow Belt
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
Posted by: tyron123 18 years ago
Senior Yellow Belt
0
ok! great.. i just sent you an email ..
sned me the tool whenever you get the time .. thnx
Ty.
Posted by: Shadowdancer_ 18 years ago
Senior Yellow Belt
0
You got mail [:D]
Posted by: tyron123 18 years ago
Senior Yellow Belt
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.
Posted by: Shadowdancer_ 18 years ago
Senior Yellow Belt
0
On its way again ;-)
Posted by: jkovarik 18 years ago
Senior Yellow Belt
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.
Posted by: tyron123 18 years ago
Senior Yellow Belt
0
Thanks for the info ... :) appreciate it!
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ