Hello Everyone,
It’s been a while and attached is the latest WinOffline version -- 2017.11.07
This release focuses primarily on long overdue WinOffline patching improvements and bug fixes. Here are some highlights—
Improved Patch Handling
While prior releases of WinOffline would read and report the agent history file, it made no assumptions if a patch was already applied or not. The logic was always to re-apply the same patch, even if it may have been previously applied. One consequence of this approach was clogging of the history file and DSM\REPLACED folder, as WinOffline would create an endless history of the same patches, over and over, if the agent received the same patches again and again.
New logic has been added, and for patches that have any number of file replacements, WinOffline will now do a byte by byte comparison of each file to be replaced, to determine if the patch is already applied or not.
In the GUI-based mode, you can preview what patches will or will not be applied before pressing the “Start” button:
Whether the GUI-based mode or Software Delivery mode, the WinOffline log or software job output will reflect the actions taken by WinOffline:
WinOfflineClient.exe -- “This application could not be started.”
I’ve received several reports of this problem when delivering WinOffline via Software Delivery to targets in the environment:
This should be addressed now, and I’ll need feedback if this error is still occurring. It’s a .NET SHIM error, and the cause was the .NET framework for some reason unable to determine the proper version of .NET to use for the client executable.
Command Line Attachment
By request, command line usage has been separated from the GUI. So effectively there are three operating modes for WinOffline…
1- Standalone GUI (local execution):
2- Standalone Command Line (also for the local execution only):
Note: Be careful, WinOffline gets right to business. It will scan the working directory for patches, and whether there are any, WinOffline will recycle all ITCM product services!
You can also invoke /help to see what switches are available:
3- Software Delivery mode
-gethistory option (software delivery mode only)
By request I’ve added the /gethistory switch for software delivery mode. This switch simply reports the contents of the agent’s patch history file, as job output to software delivery. WinOffline won’t recycle CAF or make any changes to the target system.
ITCM Removal Tool
By request I’ve introduced an ITCM removal tool. It works via the Standalone GUI, via command line, or via software delivery…
1- Standalone GUI
Note: There are options for retaining the HostUUID, if your intent is to reinstall the agent. There’s also a “normal uninstall” mode, which can be used to safely uninstall ITCM without harming other CA products that might be installed.
2- Command Line
WinOffline.exe -removeitcm
Or
WinOffline.exe -removeitcm -keepuuid
Or
WinOffline.exe -uninstallitcm
3- Software Delivery
There’s no screenshot for this. Just package WinOffline.exe, and add the “/removeitcm” or “/normaluninstall” switch to the procedure parameters.
Software delivery will send WinOffline to the target. WinOffline will copy itself over to %windir%\temp. The SD job will then finish and report back to the DM that WinOffline arrived successfully.
As WinOffline will proceed to clean ITCM from the target system, nothing more than arrival of WinOffline can be reported back to software delivery.
The detached process running from %windir%\temp will proceed with removal. When it’s finished it will clean itself up.
Minor fixes:
- Addressed an issue when removing patches, where sometimes the history file would gain an extra header at the top, “PTF Wizard created history file”.
- Fixed a bug in the helper thread that is designed to expedite WinOffline’s “caf stop” operation, where the helper thread wasn’t being too helpful, and wasn’t killing processes accordingly. Now it’s more helpful.
- Many more fixes/minor improvements since last June that I’ve lost track of.
Enjoy,
Brian Fontana
CA Support