Install/Upgrade: TrID 2.10 - Windows
0 Votes |
Description
Property Details
3896 | |
Alpha - Code that was just developed | |
Install/Upgrade: TrID 2.10 - Windows | |
BESC | |
Software Sharing | |
30602 | |
Internal | |
jgstew | |
10/15/2014 12:00:00 AM | |
jgstew on 10/15/2014 12:51:48 PM | |
jgstew on 10/15/2014 12:51:48 PM | |
3449 Views / 3 Downloads | |
![]() ![]() ![]() ![]() ![]() |
Relevance
Windows Only (Relevance 2997197)

/* Windows Only */ windows of operating system

/* Windows XP or Higher */ version of operating system >= "5.1"
Used in 1 fixlet | * Results in a true/false |

not exists keys whose(value "DisplayName" of it as string contains "TrID" AND value "DisplayVersion" of it as string as version >= "2.10") of keys "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of registry
Actions
Action 1 (default)
Action Link Click
here to deploy this action.
Script Type
BigFix Action Script
// -- START:DOWNLOADS -----------------------Success Criteria
// - This is the commandline 7zip console which is use to unpack installers
// - https://www.virustotal.com/en/file/2a3afe19c180f8373fa02ff00254d5394fec0349f5804e0ad2f6067854ff28ac/analysis
prefetch 7za.zip sha1:9ce9ce89ebc070fea5d679936f21f9dde25faae0 size:384846 http://softlayer-dal.dl.sourceforge.net/project/sevenzip/7-Zip/9.20/7za920.zip
// - This unzip is a compiled verion of unzip v5.52 fom http://info-zip.org/
// - https://www.virustotal.com/en/file/8d9b5190aace52a1db1ac73a65ee9999c329157c8e88f61a772433323d6b7a4a/analysis
prefetch unzip.exe sha1:e1652b058195db3f5f754b7ab430652ae04a50b8 size:167936 http://software.bigfix.com/download/redist/unzip-5.52.exe
// DOWNLOAD zipinst
// http://www.nirsoft.net/utils/zipinst.html
prefetch zipinst.exe sha1:6a1290fd85019dc80e34abeb4be5bcbbc742d012 size:39424 http://www.nirsoft.net/utils/zipinst.exe
// DOWNLOAD
prefetch trid_w32.zip sha1:63c395f363164de84033ff6e3fb1a9886800c73c size:30602 http://mark0.net/download/trid_w32.zip
prefetch triddefs.zip sha1:d1525aa9de2a4e677a798a36cce9c0ca88c2d9ae size:736657 http://mark0.net/download/triddefs.zip
// http://mark0.net/download/triddefs.trd.md5
// -- END:DOWNLOADS -------------------------
// ADD TO UTILITY CACHE (to use in multiple tasks)
utility __Download\zipinst.exe
utility __Download\unzip.exe
utility __Download\7za.zip
// EXTRACT using unzip: the 7zip command line utility
waithidden __Download\unzip.exe -o "{pathname of file "7za.zip" of folder "__Download" of client folder of current site}" 7za.exe -d "{pathname of folder "__Download" of client folder of current site}"
// EXTRACT using 7zip: the triddefs update
waithidden "{(pathname of file "7za.exe" of folder "__Download" of client folder of current site)}" e -y -o"{ pathname of folder "__Download" of client folder of current site }" "{pathname of file "triddefs.zip" of folder "__Download" of client folder of current site}"
// ADD new triddefs to trid_w32.zip
waithidden "{(pathname of file "7za.exe" of folder "__Download" of client folder of current site)}" a -y "{pathname of file "trid_w32.zip" of folder "__Download" of client folder of current site}" -ir!.\__Download\*.trd
// Create zipinst config file
// http://www.nirsoft.net/utils/zipinst.html
delete __createfile
delete __Download\zipinst.zic
createfile until END_OF_FILE
[install]
ProductName=TrID
ProductVersion=2.10
CompanyName=Marco Pontello
Description=http://mark0.net/soft-trid-e.html
ZipFile={ pathname of files whose(name of it = "trid_w32.zip") of folder "__Download" of client folder of current site }
AddUninstall=1
AddUninstallShortcut=0
DesktopShortcut=0
InstallTo=1
StartMenuShortcut=0
NoUserInteraction=1
NoExtraUninstallInfo=0
NoSuccessMessage=1
UninstallInDestFolder=1
END_OF_FILE
move __createfile "{pathname of client folder of current site}\__Download\zipinst.zic"
// INSTALL
waithidden __Download\zipinst.exe /cfg "{pathname of client folder of current site}\__Download\zipinst.zic"
This action will be considered successful when the applicability relevance evaluates to false.
Sharing
Social Media: |