is there a way to check the battery state from InstallScript.
I'm using InstallShield
Thanks
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Check battery state
Started by
cornel_gav
, Mar 12 2008 13:30
1 reply to this topic
Posted 12 March 2008 - 13:37
This type of thing is available from WMI but I wouldn't know how you script WMI in InstallScript.
I found this which led to this - I think the entry by 'Somebody' in that second link has a code example.
The nub seems to be that you can't iterate through a collection in IS without kludging
Here is a VB Script example
I found this which led to this - I think the entry by 'Somebody' in that second link has a code example.
The nub seems to be that you can't iterate through a collection in IS without kludging
Here is a VB Script example
Edited by VBScab, 12 March 2008 - 15:45.
- Don't know why 'x' happened? Want to know why 'y' happened? ProcMon will tell you.
- Try using http://www.google.com before posting.
- I answer questions only via forums. Please appreciate the time I give here and don't send me personal emails.
- Try using http://www.google.com before posting.
- I answer questions only via forums. Please appreciate the time I give here and don't send me personal emails.