You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to speedcrunch
I install speedcrunch at our school via silent-install on the computers with the following command:
Speedcrunch-0.12-win32.exe /S /NCRC
This works fine so far. When the command is run on a computer that already has speedcrunch installed, the following window opens and requires user interaction.
Is there a way to run the installer with parameters to stop this behavior? In this case it would be nice if speedcrunch is installed again without further prompt.
Best regards
Dan
Benny Beat
unread,
Sep 8, 2022, 7:35:03 AM9/8/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to speedcrunch
Hi, Adapt this script to your needs:
:: by: BennyBeat (CC4 By-sa)
:: This script installs the SpeedCrunch Calculator (the .exe file must be in the same folder as this script, or then modify the script to your needs). :: This script automagically uninstall any previous SpeedCrunch calculator version, avoiding the message asking user what to do. :: Is mandatory to execute this script with Admin privileges in order to un/install SpeedCrunch calculator. :: The script also kills the SpeedCrunch calculator if is in use, before to be updated. :: All the options are commented, in order to easily understand.
:: =================== SpeedCrunch Calculator ========================== @echo off Color B set app=SpeedCrunch title %app%
:: Kills SpeedCrunch in case the calculator is in use, and **CL**ear (the) **S**creen tasklist | find /i "SpeedCrunch.exe" && taskkill /im SpeedCrunch.exe /F || echo. CLS
:: Uninstall the previous version (if any) echo Uninstalling previous version. Please wait... If EXIST "%programfiles(x86)%\%app%\uninstall.exe" "%programfiles(x86)%\%app%\uninstall.exe" /S
:: Install the downloaded version; no matter the version number name you have, thanks to the "%app%" variable and the (*) wildcard. :: "Ping" command is used here to show the "Done" message, waiting for 3 seconds, before CLear Screen and exit. Remove the "Done" and "Ping" lines if you don't need to show that info. start /w %app%*.exe /S /NCRC echo Done! ping -n 3 127.0.0.1 >nul CLS EXIT : =================== SpeedCrunch Calculator ==========================
Or simply add this line to your script, above your
"Speedcrunch-0.12-win32.exe /S /NCRC":
If EXIST "%programfiles(x86)%\%app%\uninstall.exe" "%programfiles(x86)%\%app%\uninstall.exe" /S