Update - 7-Zip - 16.0.0.0 - Windows
1 Votes |
Description
Property Details
20627 | |
Update - 7-Zip - 16.0.0.0 - Windows | |
C3 Patch | |
!FixletID! | |
Unspecified | |
1/1/2016 12:00:00 AM | |
Unspecified | |
strawgate on 5/13/2016 6:05:38 AM | |
strawgate on 7/13/2016 7:32:29 PM | |
4870 Views / 83 Downloads | |
* Average over 0 ratings. ** Log In or Register to add your rating. |
Relevance
Used in 1 fixlet | * Results in a true/false |
(windows of operating system) and (version of operating system >= "5.1") and (if exists property "in proxy agent context" then ( not in proxy agent context ) else true) and (free space of drive of client > 1107003 * 2) and (exists regapp ("7zFM.exe") whose (version of it < "16.0.0.0" as version))
Actions
Action 1 (default)
Action Link Click
here to deploy this action.
Script Type
BigFix Action Script
//Comment
prefetch 1113B886AB112DB70ED23399A47420573EB825A5 sha1:1113B886AB112DB70ED23399A47420573EB825A5 size:1107003 http://www.7-zip.org/a/7z1600.exe sha256:E7BF99071EC843474147BF9AAC263141D83973FF766C8ABBD82E931A04C586DA
parameter "baseFolder" = "__Download/"
delete "{parameter "baseFolder"}7-Zip.exe"
move "__Download/1113B886AB112DB70ED23399A47420573EB825A5" "{parameter "baseFolder"}7-Zip.exe"
parameter "logFolder" = "{parent folder of client folder of current site | data folder of client}/__Global/PGWLogs"
folder create "{parameter "logFolder"}"
parameter "logFile" = "PGW.log"
delete __createfile
delete run.bat
createfile until _end_
@ECHO OFF
cd "{parameter "baseFolder"}"
mkdir "{parameter "logFolder"}"
echo %DATE:~10,4%_%DATE:~4,2%_%DATE:~7,2% %time% - Action ID: {id of active action as string | "Debugger" as string} - 7-Zip >> "{parameter "logFolder"}/{parameter "logFile"}"
"7-Zip.exe" /S >> "{parameter "logFolder"}/{parameter "logFile"}" 2>&1
echo Return code: %errorlevel% >> "{parameter "logFolder"}/{parameter "logFile"}"
echo. >> "{parameter "logFolder"}/{parameter "logFile"}"
_end_
move __createfile run.bat
override wait
hidden=true
completion=job
wait run.bat
Success Criteria
This action will be considered successful when the applicability relevance evaluates to false.
Sharing
Social Media: |
Comments
|
|
FYI I created a similar fixlets that remove old installations and gives you the option of using the MSI or EXE installer here, also 64 and 32 bit options: https://bigfix.me/fixlet/details/20667 https://bigfix.me/fixlet/details/20668 |