Highlighted
mbelld155
1 Copper

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!
0 Kudos
9 Replies
jcjacques
1 Copper

RE: Silent install

Hello,
Found you a solution of this problem? I have the same problem at present... Thank you.
0 Kudos

RE: Silent install

Thanks for your post! I'll check with the script author.
0 Kudos
m_hopkins
1 Copper

RE: Silent install

Just checking in to see if you've found any info about the silent installs. We're having the same problem using the NOPAUSE switch
0 Kudos
tiggerah
1 Copper

RE: Silent install

Modify the line:
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
0 Kudos
jcjacques
1 Copper

RE: Silent install

okay, thank you.
I'll try this solution as soon as possible and I'll let you know the result.
0 Kudos
jcjacques
1 Copper

RE: Silent install

Okay, it works perfectly like that ...
Thank you very much.
0 Kudos
jrego
1 Copper

RE: Silent install

Is there anyway to get around the path to the EXE? for example i want to not have to download all the exes to the local machine. This would cut time down a little. Thanks

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.
0 Kudos

RE: Silent install

There is a PathtoScript variable created based on the script's location. It would appear that if you put the script and BIOS EXE's on a network share, it should run fine from there. I think you are trying to run a local script to a remote location and the PathToScript variable is breaking that.
0 Kudos
LostWithVB
1 Copper

RE: Silent install

Hi guys,
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
0 Kudos