Install POS for .NET v 1.12 - SACR
0 Votes |
Description
Property Details
6211 | |
QA - Ready for Production Level Testing | |
Install POS for .NET v 1.12 - SACR | |
Software Distribution | |
11067392 | |
Software Distribution Wizard | |
Mild | |
9/9/2015 12:00:00 AM | |
POS for .NET | |
Tutankh on 9/25/2015 10:27:31 AM | |
Tutankh on 9/25/2015 10:29:04 AM | |
5015 Views / 10 Downloads | |
![]() ![]() ![]() ![]() ![]() |
Relevance
isWindows (Relevance 1172)

windows of operating system
Used in 2 fixlets | * Results in a true/false |

if exist x64 registry then ((not exists key "HKLM\SOFTWARE\WOW6432Node\POSfor.NET\Setup" of native registry) OR (not exists value "ProductVersion" of key "HKLM\SOFTWARE\WOW6432Node\POSfor.NET\Setup" of native registry) OR (value "ProductVersion" of key "HKLM\SOFTWARE\WOW6432Node\POSfor.NET\Setup" of native registry as string < "1.12.1296.00")) else true
Used in 2 fixlets | * Results in a true/false |

if not exist x64 registry then ((not exists key "HKLM\SOFTWARE\POSfor.NET\Setup" of native registry) OR (not exists value "ProductVersion" of key "HKLM\SOFTWARE\POSfor.NET\Setup" of native registry) OR (value "ProductVersion" of key "HKLM\SOFTWARE\POSfor.NET\Setup" of native registry as string < "1.12.1296.00")) else true
Actions
Action 1 (default)
Action Link Click
here to deploy this action.
Script Type
BigFix Action Script
//Download and extract files
prefetch 8f730a845b0915a7d4dc4992db5d4eecde5fc6bc sha1:8f730a845b0915a7d4dc4992db5d4eecde5fc6bc size:11065634 http://bes.win.psu.edu:52311/Uploads/8f730a845b0915a7d4dc4992db5d4eecde5fc6bc/PosFor.Net.tmp sha256:64fe21e0735a8347d85a4f7cd5b99d42c11b136f76e1f51d538e7c15c86b4d90
prefetch f077fa648922cab252b9c401dc7068e722b77c04 sha1:f077fa648922cab252b9c401dc7068e722b77c04 size:150 http://bes.win.psu.edu:52311/Uploads/f077fa648922cab252b9c401dc7068e722b77c04/POSinstall.bat.tmp sha256:28483bdf5c71e0bc28ba75c417e17e90e21cbdf98d4771609b6a4859599e5ccb
extract 8f730a845b0915a7d4dc4992db5d4eecde5fc6bc
extract f077fa648922cab252b9c401dc7068e722b77c04
//Prepare local directory
if {exist "C:\temp\posnet"}
dos rmdir /S /Q "C:\temp\posnet" = TRUE
endif
dos mkdir "C:\temp\POSNET"
//Copy all files to local directory
dos xcopy /Y /S /E /Q "__Download\*" "C:\temp\POSNET\"
//Run install file which sets the root directory and runs installer msi
//This must be done to accomplish a silent install since the msi looks in the root directory that it is executed from for its PIDKEY
wait cmd.exe /C "C:\temp\POSNET\POSinstall.bat"
//Remove installation files
dos rmdir /S /Q "C:\temp\posnet"
//set SysMan tracking entry
regset64 "[HKEY_LOCAL_MACHINE\SOFTWARE\PSU\Sysman\Applications]" "{value of header "Subject" of active action}"="Install/upgrade - {(month of it as two digits & "/" & day_of_month of it as two digits & "/" & year of it as string) of date (local time zone) of now}"
Success Criteria
This action will be considered successful when the applicability relevance evaluates to false.
Action 2
Action Link Testing with updated action language. (Will only work on clients at version 8.2 and above.) Click
here
to deploy this action.
Script Type
BigFix Action Script
//Download files
prefetch 8f730a845b0915a7d4dc4992db5d4eecde5fc6bc sha1:8f730a845b0915a7d4dc4992db5d4eecde5fc6bc size:11065634 http://bes.win.psu.edu:52311/Uploads/8f730a845b0915a7d4dc4992db5d4eecde5fc6bc/PosFor.Net.tmp sha256:64fe21e0735a8347d85a4f7cd5b99d42c11b136f76e1f51d538e7c15c86b4d90
prefetch f077fa648922cab252b9c401dc7068e722b77c04 sha1:f077fa648922cab252b9c401dc7068e722b77c04 size:150 http://bes.win.psu.edu:52311/Uploads/f077fa648922cab252b9c401dc7068e722b77c04/POSinstall.bat.tmp sha256:28483bdf5c71e0bc28ba75c417e17e90e21cbdf98d4771609b6a4859599e5ccb
//Prepare local directory
folder delete "C:\temp\POSNET"
folder create "C:\temp\POSNET
//Extract files to local directory
extract 8f730a845b0915a7d4dc4992db5d4eecde5fc6bc "C:\temp\POSNET"
extract f077fa648922cab252b9c401dc7068e722b77c04 "C:\temp\POSNET"
//Run install file which sets the root directory and runs installer msi
//This must be done to accomplish a silent install since the msi looks in the root directory that it is executed from for its PIDKEY
waithidden "C:\temp\POSNET\POSinstall.bat"
//Remove installation files
folder delete "C:\temp\posnet"
//set SysMan tracking entry
regset64 "[HKEY_LOCAL_MACHINE\SOFTWARE\PSU\Sysman\Applications]" "{value of header "Subject" of active action}"="Install/upgrade - {(month of it as two digits & "/" & day_of_month of it as two digits & "/" & year of it as string) of date (local time zone) of now}"
Success Criteria
This action will be considered successful when the applicability relevance evaluates to false.
Sharing
Social Media: |