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

MeshLab is an open source, portable, and extensible system for the processing and editing of unstructured 3D triangular meshes. The system is aimed to help the processing of the typical not-so-small unstructured models arising in 3D scanning, providing a set of tools for editing, cleaning, healing, inspecting, rendering and converting this kind of meshes.

It depends on Visual Studio 2008 runtimes.

     <variable name="version" value="1.3.2" />
     <depends package-id="vc2008"/>
     <check architecture="x86" type="uninstall" condition="versionequalto" path="MeshLab %version%" value="%version%"/>
     <check architecture="x64" type="uninstall" condition="versionequalto" path="MeshLab_64b %version%" value="%version%"/>
     <install architecture="x86" cmd='%SOFTWARE%\meshlab\MeshLab_v%version%.exe /S ' />
     <install architecture="x64" cmd='%SOFTWARE%\meshlab\MeshLab_v%version%_64bit.exe /S ' />
     <remove cmd='"%PROGRAMFILES%\VCG\MeshLab\uninst.exe" /S /NCRC ' />   
     <remove architecture="x86" cmd='%comspec% /c reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MeshLab /f'><exit code="any"/></remove>
     <remove architecture="x64" cmd='%comspec% /c reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MeshLab_64b /f'><exit code="any"/></remove>
     <remove cmd='cmd /c rmdir /q /s "%PROGRAMFILES%\VCG"' />   
     <remove cmd='cmd /c rmdir /s /q "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Meshlab"' />