Bricscad
A silent installer for Bricscad 8.
<package id="bricscad-8" name="Bricscad 8" revision="2008061901" priority="10" reboot="false">
<check type="file" condition="versionequalto" path="%PROGRAMFILES%\Bricsys\Bricscad\bricscad.exe" value="8.2.10.11434"/>
<install cmd="%SOFTWARE%\bricscad_8\install.bat"/>
<remove cmd="%SOFTWARE%\bricscad_8\remove.bat"/>
<upgrade cmd="%SOFTWARE%\bricscad_8\install.bat"/>
</package>
install.bat
"%~d0%~p0BricscadClassic-V8.2.10-1-cs_CZ.exe" /s /sms /f1"%~d0%~p0install.iss" /verbose /f2"%tmp%\bricscad.log"
"%~d0%~p0hatch.bat"
remove.bat
"%~d0%~p0BricscadClassic-V8.2.10-1-cs_CZ.exe" /s /sms /f1"%~d0%~p0remove.iss" /verbose /f2"%tmp%\bricscad.log"
hatch.bat
copy /y "%~d0%~p0ICAD.PAT" "%programfiles%\Bricsys\Bricscad\Patterns"
copy /y "%~d0%~p0*.sld" "%programfiles%\Bricsys\Bricscad\Patterns"
copy /y "%~d0%~p0ICAD.LIN" "%programfiles%\Bricsys\Bricscad"
copy /y "%~d0%~p0ltypeshp.shx" "%programfiles%\Bricsys\Bricscad"
Step by step
- run bricscad.exe /r and install Bricscad
- move c:\windows\setup.iss to install.iss
- run bricscad.exe /r and uninstall Bricscad
- move c:\windows\setup.iss to remove.iss