Unsolved
This post is more than 5 years old
1 Message
0
35558
Silent install
This script works like a charm, but every time I put in the silent switches the script does not run. Am i missing something? It does not error out it just does not run the updates. If I take out the switches I recieve the normal GUI interface for the update. Thanks!
jcjacques
4 Posts
0
October 23rd, 2010 04:00
Found you a solution of this problem? I have the same problem at present... Thank you.
DELL-Warren B
1.1K Posts
0
October 29th, 2010 14:00
m_hopkins
1 Message
0
December 11th, 2010 02:00
tiggerah
1 Message
0
December 17th, 2010 08:00
WshShell.Run Chr(34) & ExeStr & " -NOPAUSE -NOREBOOT" & Chr(34), 1, False
To: (this will install unattended but won't reboot the machine.)
WshShell.Run ExeStr & " -NOPAUSE -NOREBOOT", 1, False
Or To: (this will install unattended and reboot the machine.)
WshShell.Run ExeStr & " -NOPAUSE", 1, False
jcjacques
4 Posts
0
December 18th, 2010 03:00
I'll try this solution as soon as possible and I'll let you know the result.
jcjacques
4 Posts
0
January 10th, 2011 08:00
Thank you very much.
jrego
3 Posts
0
May 10th, 2011 14:00
Instead of this Case "Latitude D420" : ExeToRun = "D420_A06.EXE" : NewBIOSVersion="A06"
Can we do something like Case "Latitude D420" : ExeToRun = "\\Server\Share\D420_A06.EXE" : NewBIOSVersion="A06"
I have tried just modifying it like i did above but it doesnt work. Im sorry but im not a vbs guy.
DELL-Warren B
1.1K Posts
0
May 19th, 2011 15:00
LostWithVB
1 Message
0
June 3rd, 2011 16:00
I was wondering if I could get a little help. I can across this article a couple of years ago but had the same issues listed about not being able to run the BIOS installs silent. I just checked back on it and I see tiggerah had posted a change to the script line that should get everything to work properly. The problem is this still doesn't work for me and I'm pulling my hair out as to figure out why. The script works fine when running normally and I get prompted for the proper BIOS install, but as soon as I replace the line with the switches it simply ceases to do anything. Here is part of the script I was testing with; I'm simply running it from a folder on the desktop with the BIOS revision .exe in the same folder. I also have the laptop at A04 BIOS revision:
Case "Latitude D810" : ExeToRun = "D810_A05.EXE" : NewBIOSVersion="A05"
Case Else : ExeToRun = "NA"
End Select
If ExeToRun = "NA" Then
MsgBox "We do not currently provide a BIOS upgrade for a " & Model & vbcrlf & vbcrlf & "If this is an older model system, please excess the equipment.",0,DlgTitle
Wscript.Quit(1)
ElseIf BIOSRev = NewBIOSVersion Then
MsgBox "The current BIOS[" & BIOSRev & "] for this " & Model & " is up-to-date and does not require an upgrade.",0,DlgTitle
Wscript.Quit(1)
End If
ExeStr = PathToScript & "\" & ExeToRun
WshShell.Run ExeStr & " -NOPAUSE", 1, False
Wscript.Quit(0)
Am I just overlooking something simple, such as how I'm running the script or my test setup? The above script should install unattended AND reboot automatically correct? I appreciate any information that can help.
Thanks