Difference between revisions of "Labview"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
Line 15: Line 15:
 
 
 
<remove cmd='"%PROGRAMFILES%\National Instruments\Shared\NIUninstaller\uninst.exe" /qb /x all' />
 
<remove cmd='"%PROGRAMFILES%\National Instruments\Shared\NIUninstaller\uninst.exe" /qb /x all' />
 
+
<remove cmd='IF EXIST "%PROGRAMFILES%\National Instruments" rmdir /s /q "%PROGRAMFILES%\National Instruments"' />
 
</package>
 
</package>
 
</source>
 
</source>

Revision as of 12:34, 4 June 2009

Labview 8.6

First you need to create a nisuite.xml by using the flag: /generatespecfile

ex: setup.exe /generatespecfile C:\

Copy nisuite.xml to your installation folder

<package id='labview8' name='Labview 8.6' revision='1' reboot='false' priority='1239' >	
<check type='file' condition='versiongreaterorequal' path='%PROGRAMFILES%\National Instruments\LabVIEW 8.6\LabVIEW.exe' value='8.6.0.4001' />

<install cmd='%PACKAGES%\labview\8.6\setup.exe /q /r:n /acceptlicenses yes /applyspecfile %PACKAGES%\labview\8.6\' />
<upgrade cmd='%PACKAGES%\labview\8.6\setup.exe /q /r:n /acceptlicenses yes /applyspecfile %PACKAGES%\labview\8.6\' />
		
<remove cmd='"%PROGRAMFILES%\National Instruments\Shared\NIUninstaller\uninst.exe" /qb /x all' />
<remove cmd='IF EXIST "%PROGRAMFILES%\National Instruments" rmdir /s /q "%PROGRAMFILES%\National Instruments"' />
</package>


This is a silent installer and uninstaller for Labview 7.

<package id="labview" name="Labview" revision="1" priority="0" reboot="true">
 <check type="file" condition="exists" path='%PROGRAMFILES%\National Instruments\LabVIEW 7.0\LabVIEW.exe' />
 <install cmd='%SOFTWARE%\labview\windows\setup.exe /q /r:n' >
 <exit code="3010" />
 </install>
 <remove cmd="msiexec /x{2C585265-527B-4D76-B9B4-2F037C33C40C} /qn /norestart" />
</package>