01-07-2020 08:19 AM
New ThinInstaller availible (1.3.0018) with new switches / options.
From readme :
New in 2019-12-19 release
- Add option download updates only, commandline parameter: -download, -installdeferred
- Add return code for specific scenario
- Add commandline parameter: -packagetypes
- Fix serveral issues
From releasenotes :
New in 2019-12-19 release
1. Add warning text to "Reboot now" dialog.
2. Control package types by command line.
3. Return code 3010 when reboot required.
4. Establish return codes indicating when updates are available or not.
5. Add 'Download only' option for Action on command line.
Does anybody have some information regarding how to use packagetype and returncodes ??
Official documentation seems to be a bit out of date.
01-19-2020 04:42 PM
After some experimentation, here's what I've deduced so far:
I haven't tried doing anything with -packagetypes yet.
01-20-2020 05:12 PM
I've encountered what I suspect is a bug (but without any documenation about this version of ThinInstaller it's impossible to know for sure).
To reproduce, run the following commands on a system where there are updates of both reboot type 1 and 3 available:
ThinInstaller.exe /CM -search A -action DOWNLOAD -repository \\server\LenovoUpdates -includerebootpackages 1,3,4,5 -exporttowmi ThinInstaller.exe /CM -search A -action INSTALLDEFERRED -repository \\server\LenovoUpdates -includerebootpackages 3 -noicon -noreboot -exporttowmi
Expected result: the second command only attempts to install updates with reboot type 0 and 3
Actual result: the second command attempts to install updates of reboot type 1
01-21-2020 07:59 AM
Thanks for letting us know. We'll take this back to the dev team to investigate.
Also, we are hoping to release a totally new deployment guide for the System Update Suite of tools this month that will cover all the new features missing in the old guide.
01-22-2020 06:59 AM
Here's an update to the exit codes I've encountered.
Exit codes when run with -action DOWNLOAD
Exit codes when run with -action SCAN
01-22-2020 07:49 AM
Sorry for not adding in previous post. Here are the return codes that were added to this latest release of Thin Installer for the following actions:
10000 No updates found
10001 Found available updates
20000 All applicable packages were downloaded
20001 Some packages were downloaded
20002 Applicable packages found but no packages downloaded
20003 No applicable updates found
3010 One or more Reboot Type 3 updates installed but the -noreboot command parameter was used; indicates reboot required
Also, regarding the behavior of the DOWNLOAD and INSTALLDEFERRED actions; you can filter the DOWNLOAD action with -includerebootpackages and -packagetypes; however, INSTALLDEFERRED will attempt to install all the deferred updates that were downloaded ignoring those filter parameters. This is because it would become very complex to maintain that cache of downloaded updates if only a portion was installed. The intent of these two actions is to provide a scenario where the downloads can occur in the background over a slow link and then later the installations can occur faster with less user impact.