1 Title: Windows agent crashed while unpacking plugins
10 The agent updater and MSI installer call the Windows agent with a
11 special parameter 'unpack' in order to extract plugins from the
12 .cap-archive. The agent crashed if it could not write the batch file
13 'uninstall_plugins.bat' or any of the extracted plugin files.
15 Now any errors with writing files are logged before interrupting the
16 unpack process. After successfully unpacking the plugins, the agent
17 checks recursively that all files in its installation directory are
18 writable by the agent. The check stops at the first unwritable file
19 and logs a corresponding error message before exiting.