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

This is a silent installer and uninstaller for OriginLab a data analys and grapher software. For more infos see http://www.originlab.com/

<package id="originlab" name="OriginLab" revision="1" priority="0" reboot="false">
 <check type="uninstall" condition="exists" path="OriginPro 7.5" />
 <install cmd='%SOFTWARE%\Origin\OriginSetup\setup /s /f1%SOFTWARE%\Origin\OriginSetup\origin.iss /f2c:\netinst\logs\origin.log' />
 <install cmd='cmd /c copy /y %SOFTWARE%\Origin\OriginSetup\OLicense.lic "%ProgramFiles%\OriginLab\OriginPro75\OLicense.lic" ' />
 <!-- install cmd='cmd /c mkdir "%ProgramFiles%\OriginLab\SP" ' /-->
 <!-- install cmd='cmd /c copy %SOFTWARE%\Origin\SP\SP\*.* "%ProgramFiles%\OriginLab\SP" ' /-->
 <!-- install cmd='cmd /c copy %SOFTWARE%\Origin\SP\Origin\*.* "%ProgramFiles%\OriginLab\OriginPro75" ' /-->
 <remove cmd='cmd /c del /s /q "%AllUsersProfile%\Start Menu\Programs\OriginLab\OriginPro 7.5\SP toolbars" ' />
 <remove cmd='cmd /c del /s /q "%ProgramFiles%\OriginLab\SP" ' />
 <remove cmd="msiexec /qn /l* c:\netinst\logs\origin.log /x{ECE12161-B445-48FA-9056-FD54D8A72459}" />