SuperCalculator

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search

This is a silent installer and uninstaller for SuperCalculator.

<package id="supercalculator" name="SuperCalculator" revision="1" priority="0" reboot="false">
 <check type="file" condition="exists" path="%PROGRAMFILES%\SuperCalculator\Calculator32.exe" />
 <install cmd='cmd /c mkdir "%ProgramFiles%"\SuperCalculator' />
 <install cmd='cmd /c copy %SOFTWARE%\SuperCalculator\Program\*.* "%ProgramFiles%"\SuperCalculator\' />
 <install cmd='cmd /c copy %SOFTWARE%\SuperCalculator\Menu\*.* "%ALLUSERSPROFILE%\Start Menu\Programs\Accessories\" ' />
 <remove cmd='cmd /c del /s /q "%ALLUSERSPROFILE%\Start Menu\Programs\Accessories\SuperCalculator.lnk"' />
 <remove cmd='cmd /c del /s /q "%ProgramFiles%"\SuperCalculator' />
</package>