Difference between revisions of "Bricscad"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
m
 
Line 4: Line 4:
 
<package id="bricscad-8" name="Bricscad 8" revision="2008061901" priority="10" reboot="false">
 
<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"/>
 
   <check type="file" condition="versionequalto" path="%PROGRAMFILES%\Bricsys\Bricscad\bricscad.exe" value="8.2.10.11434"/>
   <install cmd="[INSTALL]\program\bricscad_8\install.bat"/>
+
   <install cmd="%SOFTWARE%\bricscad_8\install.bat"/>
   <remove cmd="[INSTALL]\program\bricscad_8\remove.bat"/>
+
   <remove cmd="%SOFTWARE%\bricscad_8\remove.bat"/>
   <upgrade cmd="[INSTALL]\program\bricscad_8\install.bat"/>
+
   <upgrade cmd="%SOFTWARE%\bricscad_8\install.bat"/>
 
</package>
 
</package>
 
</source>
 
</source>

Latest revision as of 10:04, 26 June 2008

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

  1. run bricscad.exe /r and install Bricscad
  2. move c:\windows\setup.iss to install.iss
  3. run bricscad.exe /r and uninstall Bricscad
  4. move c:\windows\setup.iss to remove.iss