/build/static/layout/Breadcrumb_cap_w.png

Hawkes Learning Systems College Algebra

Version: 2

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login
Views: 1.4k  |  Created: 03/28/2017 by: mjhelto

Average Rating: 0
College Algebra has 1 inventory records, 0 Questions, 0 Blogs and 0 links. Please help add to this by sharing more!

Deployment Tips (1)

Most Common Setup Type
Windows Installer (Delivered as an EXE)
Average Package Difficulty Rating
Rated 5 / 5 (Very Difficult) based on 1 ratings
Most Commonly Reported Deployment Method
Vendor Provided Command Line (switch driven)
0
Note

2.12

Another annoying install.  Doesn't display any flags outside of when you watch it run certain programs that IT calls.  For instance, installing normal, selecting the Advanced Options button, and choosing not to auto-update will display in the "Command Line" column of the Task Manager (must enable) the flags UPDATEDAY= UPDATEHOUR= SILENT=TRUE AUTOUPDATE=FALSE.  However, that doesn't stop the program from being installed so just like my Statistics install, I just uninstall it at install and remove the ProgramData folder.

NOTE:  I did manage to find the silent flag by using the Task Manager method.  Everything else remains the same from my Statistics install, pretty much.

install_college_algebra.cmd

:: Turn echo off and clear command prompt window.
@echo off
cls

:: set program=Program Name
set "program=Hawkes Learning Systems College Algebra"

:: set installer=%~dp0somefile.ext
set installer=%~dp0col-student-setup.exe
set "updaterPath=%programdata%\{2CB7E68C-946F-4273-97CC-85B3F2AB1353}"
set "updaterProg=Hawkes Update Service Manager.exe"

echo Installing %program% - Please Wait
echo Started @ %time%
echo Window will close once complete.
echo.
echo.

:: Check which OS arch-type is being used
if exist "%programfiles(x86)%" (goto x64) else (goto x86)

:x64
	:: Check if program exists or not
	if exist "%programfiles(x86)%\Hawkes Learning Systems\College Algebra\HLSTOC.exe" (
		echo %program% found.  Exiting.
		set EXIT_CODE=1337
		goto end
	)
	
	goto install

:x86
	:: Check if program exists or not
	if exist "%programfiles%\Hawkes Learning Systems\College Algebra\HLSTOC.exe" (
		echo %program% found.  Exiting.
		set EXIT_CODE=1337
		goto end
	)
	
	goto install

:install
	:: Install program
	echo %program% not installed.  Installing.
	start /wait "%program% Installing" "%installer%" SILENT=TRUE
	
	:: Uninstall Update Manager
	echo.
	echo Uninstalling the Updater Manager.
	start /wait "Update Manager Uninstalling" "%updaterPath%\%updaterProg%" REMOVE=TRUE MODIFY=FALSE SILENT=TRUE
	
	:: Remove folders if they exist
	echo.
	echo Removing left-over directories.
	if exist "%programfiles(x86)%\Hawkes Learning Systems\Hawkes Update Service Manager" rmdir "%programfiles(x86)%\Hawkes Learning Systems\Hawkes Update Service Manager" /s /q
	if exist "%programfiles%\Hawkes Learning Systems\Hawkes Update Service Manager" rmdir "%programfiles%\Hawkes Learning Systems\Hawkes Update Service Manager" /s /q
	if exist "%programdata%\~0" rmdir "%programdata%\~0" /s /q
	
	goto end

:end
	:: Finish time
	echo.
	echo Finished @ %time%

	:: Return exit code to SCCM
	exit /B %EXIT_CODE%


uninstall_college_algebra.cmd

:: Turn echo off and clear command prompt window.
@echo off
cls

:: set program=Program Name
set "program=Hawkes Learning Systems College Algebra"


:: set uninstaller=program.ext
:: use %~dp0 if uninstaller is in directory with script
set "colAlgPath=%programdata%\{26984380-6982-42D2-B43C-4F5C7CD47B22}"
set "colAlgProg=col-student-setup.exe"
set "updaterPath=%programdata%\{2CB7E68C-946F-4273-97CC-85B3F2AB1353}"
set "updaterProg=Hawkes Update Service Manager.exe"

echo Uninstalling %program% - Please Wait
echo Started @ %time%
echo Window will close once complete.
echo.
echo.

:: Check which OS arch-type is being used
if exist "%programfiles(x86)%" (goto x64) else (goto x86)

:x64
	:: Check if program exists or not
	if exist "%programfiles(x86)%\Hawkes Learning Systems\College Algebra\HLSTOC.exe" (
		goto uninstall
	)
	
	echo %program% not found.  Exiting.
	set EXIT_CODE=1337
	goto end

:x86
	:: Check if program exists or not
	if exist "%programfiles%\Hawkes Learning Systems\College Algebra\HLSTOC.exe" (
		goto uninstall
	)
	
	echo %program% not found.  Exiting.
	set EXIT_CODE=1337
	goto end

:uninstall
	:: Uninstall program
	echo %program% found. Uninstalling.
	start /wait "%program% Uninstalling" "%colAlgPath%\%colAlgProg%" REMOVE=TRUE MODIFY=FALSE SILENT=TRUE
	
	if exist "%updaterPath%\%updaterProg%" (
		:: Uninstall Update Manager
		echo.
		echo Uninstalling the Updater Manager.
		start /wait "Update Manager Uninstalling" "%updaterPath%\%updaterProg%" REMOVE=TRUE MODIFY=FALSE SILENT=TRUE
	)
	
	:: Remove folders if they exist
	echo.
	echo Removing left-over directories if they exist.
	if exist "%programfiles(x86)%\Hawkes Learning Systems\Hawkes Update Service Manager" rmdir "%programfiles(x86)%\Hawkes Learning Systems\Hawkes Update Service Manager" /s /q
	if exist "%programfiles%\Hawkes Learning Systems\Hawkes Update Service Manager" rmdir "%programfiles%\Hawkes Learning Systems\Hawkes Update Service Manager" /s /q
	if exist "%programdata%\~0" rmdir "%programdata%\~0" /s /q
	if exist "%programdata%\~1" rmdir "%programdata%\~1" /s /q
	
	:: Will need to remove the Hawkes folder from the Program Files folder individually after
	:: a reboot as there are files in the Common dirctory there that prevent deletion until
	:: the computer is restarted.
	
	goto end

:end
	:: Finish time
	echo.
	echo Finished @ %time%

	:: Return exit code to SCCM
	exit /B %EXIT_CODE%
Setup Information:
Setup Type: Windows Installer (Delivered as an EXE)
Deployment Method Used: Vendor Provided Command Line (switch driven)
Deployment Difficulty: Very Difficult
Platform(s): Windows

Inventory Records (1)

View inventory records anonymously contributed by opt-in users of the K1000 Systems Management Appliance.

Versions

College Algebra

Version

2

Questions & Answers (0)

Questions & Answers related to Hawkes Learning Systems College Algebra

Blogs (0)

Blog posts related to Hawkes Learning Systems College Algebra

Reviews (0)

Reviews related to Hawkes Learning Systems College Algebra

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ