English Community

Software and Operating SystemEnterprise Client Management
All Forum Topics
Options

239 Posts

11-27-2018

Austria

623 Signins

6073 Page Views

  • Posts: 239
  • Registered: ‎11-27-2018
  • Location: Austria
  • Views: 6073
  • Message 1 of 12

ThinInstaller - feature request

2019-11-13, 7:57 AM

I want to install the Thunderbolt Firmware with Thin Installer:

 

This update has the reboot type 5. 

Maybe we can prevent this message by command in the future?

I want to install in the background without a message and when finished there will be a SCCM reboot message (aka reboot type 3).

 

Btw. the System Update 5 Deployment Guide document should be revised, cause the reboot type 5 is missing.

 

Thanks! 

Reply
Options

1 Posts

11-13-2019

United States of America

1 Signins

48 Page Views

  • Posts: 1
  • Registered: ‎11-13-2019
  • Location: United States of America
  • Views: 48
  • Message 2 of 12

Re: ThinInstaller - feature request

2019-11-13, 8:45 AM
Reply
Options

232 Posts

04-24-2008

Canada

729 Signins

4729 Page Views

  • Posts: 232
  • Registered: ‎04-24-2008
  • Location: Canada
  • Views: 4729
  • Message 3 of 12

Re: ThinInstaller - feature request

2019-11-14, 16:43 PM

Reboot type 5 is documented in this post on the Lenovo Think Deploy Blog: What are Reboot Delayed updates?

 

The rationale is that it isn't safe to postpone a reboot after a firmware update. However, I think there must be a better way to deal with these. The idea I'm working on right now is to use group policy to configure a script that runs at shutdown. This script would check for the existence of a registry key that points to the location of a firmware installer and executes it if one is found. Then the "install" command for the update can be simply modified to copy the installation media to some temporary location and create the registry key, and the reboot type can be changed to type 3.

 

Anyone have any thoughts or feedback about this approach?

 

Edit: clarified what I meant by "shutdown script".

Reply
Options

880 Posts

01-17-2010

United States of America

1123 Signins

9476 Page Views

  • Posts: 880
  • Registered: ‎01-17-2010
  • Location: United States of America
  • Views: 9476
  • Message 4 of 12

Re: ThinInstaller - feature request

2019-11-15, 0:40 AM

The Reboot Type 5 designation allows us to install 1 or more firmware updates in one session and use a single reboot.  The requirement is that the updates are not interrupted by the user (i.e. shutting the lid causing the system to sleep), the system must stay on AC power and the system should be rebooted immediately at the end of installing.  

 

If you are using Thin Installer and you can guarantee these conditions then you could change the Reboot Type in the XML for the update to 3 and immediately initiate a restart after the install completes.

 

Another caveat for Thunderbolt Firmware you should be aware of is that you should make sure the Thunderbolt Software/Driver is updated first and that the system has been rebooted to ensure the new driver is in use before doing the firmware update.  This will ensure the firmware update is completely successful.

 

Regarding the deployment guide, we are in the middle of updating it.  There are a number of changes needed and it has taken longer than we would like but we will get it refreshed as soon as we can.

Reply
Options

232 Posts

04-24-2008

Canada

729 Signins

4729 Page Views

  • Posts: 232
  • Registered: ‎04-24-2008
  • Location: Canada
  • Views: 4729
  • Message 5 of 12

Re: ThinInstaller - feature request

2019-11-15, 16:08 PM

The Reboot Type 5 designation allows us to install 1 or more firmware updates in one session and use a single reboot.  The requirement is that the updates are not interrupted by the user (i.e. shutting the lid causing the system to sleep), the system must stay on AC power and the system should be rebooted immediately at the end of installing.  

Unfortunately, it seems like most of the firwmare updates are currently configured to run "un-silently" and force their own reboot, which negates any benefits of this system. I am guessing that this has been done because there have been issues with multiple firmware updates running simultaneously. Can you confirm this is the case? If so, what is the long-term plan to rectify this?

Reply
Options

880 Posts

01-17-2010

United States of America

1123 Signins

9476 Page Views

  • Posts: 880
  • Registered: ‎01-17-2010
  • Location: United States of America
  • Views: 9476
  • Message 6 of 12

Re: ThinInstaller - feature request

2019-11-15, 16:56 PM

Yes we did encounter an issue with updating certain firmwares at the same time.  As a result some updates were changed back to Reboot Type 1.  I believe that issue has been addressed so eventually we may see more RT 5 updates.  Longer term strategy, we are looking at rearchitecting how certain firmware are updated.  In future platforms we may have some of these combined into the system firmware update but it is still too early to know for sure.

Reply
Options

239 Posts

11-27-2018

Austria

623 Signins

6073 Page Views

  • Posts: 239
  • Registered: ‎11-27-2018
  • Location: Austria
  • Views: 6073
  • Message 7 of 12

Re: ThinInstaller - feature request

2019-12-16, 15:55 PM

@parkerjnc

 

I have changed the reboot type of the firmware update to "3" and the installation works as expected.

But how could i suppress the upcoming cmd window?

 

 

I changed this line in the xml 

<Package name="FWU_TBT_N1WTH" id="n1wth07w" version="17.0.0.3-N1**bleep**13W" hide="True">

But HideWindow still "False"

 

	Message: I received this info:
Directory: C:\WINDOWS\ccmcache\m\Files\n1wth07w\
Command: n1wth07w.exe
Arguments:  /VERYSILENT /DIR=C:\WINDOWS\ccmcache\m\Files\n1wth07w\ /EXTRACT="YES"
Install type: COMMAND
Info	2019-12-16 , 04:12:44
	bei Tvsu.Executor.CommandLauncher.ExecuteCommandLine(String dir, String cmd, String args, String _installType, Int64 timeOut, Boolean hide, RebootType reboot)
	Message: Directory: C:\WINDOWS\ccmcache\m\Files\n1wth07w\
Command: n1wth07w.exe
Arguments:  /VERYSILENT /DIR=C:\WINDOWS\ccmcache\m\Files\n1wth07w\ /EXTRACT="YES"
Install type: COMMAND
TimeOut: 0
HideWindow?: False
Info	2019-12-16 , 04:12:44
	bei Tvsu.Executor.CommandLauncher.ExecuteCommandLine(String dir, String cmd, String args, String _installType, Int64 timeOut, Boolean hide, RebootType reboot)
	Message: Directory 1: C:\WINDOWS\ccmcache\m\Files\n1wth07w\
Info	2019-12-16 , 04:12:44
	bei Tvsu.Executor.CommandLauncher.ExecuteCommandLine(String dir, String cmd, String args, String _installType, Int64 timeOut, Boolean hide, RebootType reboot)
	Message: If directory 1 exists: C:\WINDOWS\ccmcache\m\Files\n1wth07w\
Info	2019-12-16 , 04:12:44
	bei Tvsu.Executor.CommandLauncher.ExecuteCommandLine(String dir, String cmd, String args, String _installType, Int64 timeOut, Boolean hide, RebootType reboot)
	Message: The parameters directory and command stay as follows:
Command: n1wth07w.exe
Directory: C:\WINDOWS\ccmcache\m\Files\n1wth07w\
Info	2019-12-16 , 04:12:46
	bei Tvsu.Executor.CommandLauncher.ExecuteCommandLine(String dir, String cmd, String args, String _installType, Int64 timeOut, Boolean hide, RebootType reboot)
	Message: 0
Info	2019-12-16 , 04:12:46
	bei Tvsu.GenericPackageInstaller.GenericPackageInstaller.ExtractFiles(String extractCommand)
	Message: n1wth07w.exe /VERYSILENT /DIR=C:\WINDOWS\ccmcache\m\Files\n1wth07w\ /EXTRACT="YES" Extract command was executed sucessfully in Thunderbolt Firmware Update (Windows 10 Version 1709 or Later) - 10 [64] update
Info	2019-12-16 , 04:12:46
	bei Tvsu.GenericPackageInstaller.CmdInstaller.InstallUpdate()
	Message: Update Thunderbolt Firmware Update (Windows 10 Version 1709 or Later) - 10 [64] is being install using Windows Service
Info	2019-12-16 , 04:12:46
	
	Message: I received this info:
Directory: C:\WINDOWS\ccmcache\m\Files\n1wth07w\
Command: C:\WINDOWS\ccmcache\m\Files\n1wth07w\FwUpdateTool1906.exe
Arguments:  1 -s
Install type: COMMAND
Info	2019-12-16 , 04:12:46
	bei Tvsu.Executor.CommandLauncher.ExecuteCommandLine(String dir, String cmd, String args, String _installType, Int64 timeOut, Boolean hide, RebootType reboot)
	Message: Directory: C:\WINDOWS\ccmcache\m\Files\n1wth07w\
Command: C:\WINDOWS\ccmcache\m\Files\n1wth07w\FwUpdateTool1906.exe
Arguments:  1 -s
Install type: COMMAND
TimeOut: 0
HideWindow?: False
Info	2019-12-16 , 04:12:46
	bei Tvsu.Executor.CommandLauncher.ExecuteCommandLine(String dir, String cmd, String args, String _installType, Int64 timeOut, Boolean hide, RebootType reboot)
	Message: Directory 1: C:\WINDOWS\ccmcache\m\Files\n1wth07w\
Info	2019-12-16 , 04:12:46
	bei Tvsu.Executor.CommandLauncher.ExecuteCommandLine(String dir, String cmd, String args, String _installType, Int64 timeOut, Boolean hide, RebootType reboot)
	Message: If directory 1 exists: C:\WINDOWS\ccmcache\m\Files\n1wth07w\
Info	2019-12-16 , 04:12:46
	bei Tvsu.Executor.CommandLauncher.ExecuteCommandLine(String dir, String cmd, String args, String _installType, Int64 timeOut, Boolean hide, RebootType reboot)
	Message: The parameters directory and command stay as follows:
Command: FwUpdateTool1906.exe
Directory: C:\WINDOWS\ccmcache\m\Files\n1wth07w
Info	2019-12-16 , 04:12:49
	bei Tvsu.Executor.CommandLauncher.ExecuteCommandLine(String dir, String cmd, String args, String _installType, Int64 timeOut, Boolean hide, RebootType reboot)
	Message: -1073741510
Info	2019-12-16 , 04:12:49
	bei Tvsu.GenericPackageInstaller.CmdInstaller.InstallUpdate()
	Message: Expected return code: 0,100, Installation return code: -1073741510
Info	2019-12-16 , 04:12:49

Could i set this property in the XML file?

 

The errorcode is happening, cause i stopped the firmware before it starts.

 

Thanks!

Reply
Options

880 Posts

01-17-2010

United States of America

1123 Signins

9476 Page Views

  • Posts: 880
  • Registered: ‎01-17-2010
  • Location: United States of America
  • Views: 9476
  • Message 8 of 12

Re: ThinInstaller - feature request

2019-12-16, 18:54 PM

Hi 

 

You should not change anything in the <Package> attribute.  There are no values there that will make the update silent.  In this case, unfortunately Intel has designed the update process to pop this window.  I'm not sure if it is coming from the detection program that checks to see if the firmware is downlevel initially or from the actual fw update utility.  In either case, we have no way through Thin Installer to change how the update was designed.

 

As you mentioned, you can change the reboot type to 3 (Requires reboot) to change Thin Installer's behavior with its dialog boxes.  If you also use "-noreboot" on your Thin Installer command line then Thin Installer will not execute the reboot when it finishes installing the update.  You just want to be sure the system reboots before the user can suspend the system.  With some of the Reboot type 5 pacakges, especially Intel ME FW, simply suspending the system before rebooting is enough to cause an issue with the update.

Reply
Options

239 Posts

11-27-2018

Austria

623 Signins

6073 Page Views

  • Posts: 239
  • Registered: ‎11-27-2018
  • Location: Austria
  • Views: 6073
  • Message 9 of 12

Re: ThinInstaller - feature request

2019-12-17, 6:10 AM

 

Thanks for your answer!

I found out a different way.

We are using the powershell deployment toolkit and with this command the windows will be suppressed

 

$sc = Execute-Process -Path "$dirFiles\n1wth07w\FwUpdateTool1906.exe" -Parameters "1 -s" -CreateNoWindow
Reply
Options

239 Posts

11-27-2018

Austria

623 Signins

6073 Page Views

  • Posts: 239
  • Registered: ‎11-27-2018
  • Location: Austria
  • Views: 6073
  • Message 10 of 12

Re: ThinInstaller - feature request

2019-12-17, 7:01 AM

@parkerjnc

 

Btw. i see the firmware update utility for P70 has no silent parameter

 

 

I have tried in the powershell with 1 -s but still message pop up.

Do you have an idea?

 

Thanks!

Reply
Forum Home

Community Guidelines

Please review our Guidelines before posting.

Learn More

Check out current deals!

Go Shop
X

Save

X

Delete

X

No, I don’t want to share ideas Yes, I agree to these terms