Install POS for .NET v 1.12 - SACR
Log In or Register to download the BES file, and more.

0 Votes

Description

This task will deploy: POS for .NET v1.12.

Success criteria checks x32 and x64 registry for applicable key.

This task is applicable on Windows Platforms

Original download available HERE.

Additional documentation available HERE.


Property Details

ID6211
StatusQA - Ready for Production Level Testing
TitleInstall POS for .NET v 1.12 - SACR
CategorySoftware Distribution
Download Size11067392
SourceSoftware Distribution Wizard
Source SeverityMild
Source Release Date9/9/2015 12:00:00 AM
KeywordsPOS for .NET
Added by on 9/25/2015 10:27:31 AM
Last Modified by on 9/25/2015 10:29:04 AM
Counters 5015 Views / 10 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Relevance

isWindows (Relevance 1172)
Used in 1152 fixlets and 538 analyses   * Results in a true/false
Show indented relevance
windows of operating system
Used in 2 fixlets   * Results in a true/false
Show indented relevance
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
Show indented relevance
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:
Share this page on Yammer

Comments

Log In or Register to leave comments!