Something went wrong. Try again.
A simple, small calculator placed discreetly near the Windows Taskbar or anywhere on the screen taskbar-calculator.marcomaroni.it
Something went wrong. Try again.
1.2 kB · 46 lines
at main
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647@echo offsetlocalrem Rebuild Release x64 and recompile the Inno Setup installer.rem Double-clickable: sets up the VS environment itself.
cd /d "%~dp0.."
call "C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Auxiliary\Build\vcvars64.bat" >nulif errorlevel 1 goto :fail_env
msbuild TaskbarCalculator.vcxproj /p:Configuration=Release /p:Platform=x64 /v:minimal /nologoif errorlevel 1 goto :fail_build
set "ISCC="for %%p in ("%LocalAppData%\Programs\Inno Setup 6\ISCC.exe" "%ProgramFiles(x86)%\Inno Setup 6\ISCC.exe" "%ProgramFiles%\Inno Setup 6\ISCC.exe") do ( if not defined ISCC if exist %%p set "ISCC=%%~p")if not defined ISCC goto :fail_iscc
"%ISCC%" "%~dp0TaskbarCalculatorSetup.iss"if errorlevel 1 goto :fail_setup
echo.echo [OK] Installer aggiornato: %~dp0TaskbarCalculatorSetup.exepauseexit /b 0
:fail_envecho [ERRORE] vcvars64.bat non trovato o fallito (Visual Studio 2022 Professional).pauseexit /b 1
:fail_buildecho [ERRORE] Build Release x64 fallita.pauseexit /b 1
:fail_isccecho [ERRORE] ISCC.exe non trovato (installare Inno Setup 6).pauseexit /b 1
:fail_setupecho [ERRORE] Compilazione dello script Inno Setup fallita.pauseexit /b 1