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.
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)
Please log in to answer
Posted by:
Shadowdancer_
18 years ago
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?
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...
;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
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
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
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
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
Posted by:
tyron123
18 years ago
Posted by:
jkovarik
18 years ago
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.
[ 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.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.