3,217
edits
Changes
m
no edit summary
This is a silent installer and deinstaller for SuperCalculator.
<package id="supercalculator" name="SuperCalculator" revision="1" priority="0" reboot="false">
<check type="file" condition="exists" path="C:\Program Files\SuperCalculator\Calculator32.exe" />
<install cmd='cmd /c mkdir "%ProgramFiles%"\SuperCalculator' />
<install cmd='cmd /c copy \\server\share\SuperCalculator\Program\*.* "%ProgramFiles%"\SuperCalculator\' />
<install cmd='cmd /c copy \\server\share\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' />
<upgrade cmd='' />
</package>
[[category:Silent Installers|SuperCalculator]]
<package id="supercalculator" name="SuperCalculator" revision="1" priority="0" reboot="false">
<check type="file" condition="exists" path="C:\Program Files\SuperCalculator\Calculator32.exe" />
<install cmd='cmd /c mkdir "%ProgramFiles%"\SuperCalculator' />
<install cmd='cmd /c copy \\server\share\SuperCalculator\Program\*.* "%ProgramFiles%"\SuperCalculator\' />
<install cmd='cmd /c copy \\server\share\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' />
<upgrade cmd='' />
</package>
[[category:Silent Installers|SuperCalculator]]