LibreCAD

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

LibreCAD is a free 2D CAD, you can download it from Sourceforge [1]

   <package
	id="librecad"
	name="LibreCAD"
	revision="%version%"
	priority="0"
	reboot="false">

	<variable name="version" value="1.0.2" />

	<check type="logical" condition="or">
		<check type="file" condition="exists" path="%PROGRAMFILES%\LibreCAD\LibreCAD.exe"/>
		<check type="file" condition="exists" path="%PROGRAMFILES(x86)%\LibreCAD\LibreCAD.exe"/>
	</check>

	<install cmd='"%FREESOFTWARE%\div_cad\LibreCAD-Installer_%version%.exe" /S'/>
	<install cmd="taskkill /F /IM iexplore.exe"><exit code="any"/></install> 

	<upgrade cmd='"%FREESOFTWARE%\div_cad\LibreCAD-Installer_%version%.exe" /S'/>
	<upgrade cmd="taskkill /F /IM iexplore.exe"><exit code="any"/></upgrade> 
	
	<remove architecture="x86" cmd='"%PROGRAMFILES%\LibreCAD\uninstall.exe" /S' />
	<remove architecture="x64" cmd='"%PROGRAMFILES(x86)%\LibreCAD\uninstall.exe" /S' />
    </package>