Difference between revisions of "ImageJ"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(Initial version)
(No difference)

Revision as of 23:52, 18 July 2012

A free image editor from NIH

Installing with Java already installed

<?xml version="1.0" encoding="UTF-8"?>
<packages>
 	<package id="imageJ" 
 	name="imageJ" 
 	revision="%VERSION%" 
 	priority="0" 
 	reboot="false">

 	<variable name="ARCH" value=""       architecture="x86"/>
        <variable name="ARCH" value=" (x86)" architecture="x64"/>
 	<variable name="BIT"  value="32"     architecture="x86"/>
        <variable name="BIT"  value="64"     architecture="x64"/>        
        <variable name="VERSION"  value="146"/>
 		
 		<check type="uninstall" condition="exists" path="ImageJ 1.46t"/>
 
 		<install cmd='"%SOFTWARE%\imageJ\ij%VERSION%-nojre-setup.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-'/>
 		<install cmd='%COMSPEC% /c copy /y "%SOFTWARE%\imageJ\imageJ%BIT%.cfg" "%ProgramFiles%%ARCH%\imageJ"' />
 		<install cmd='cacls "%PROGRAMFILES%%ARCH%\imagej" /e /p everyone:c'/>
 		
 		<upgrade include="install" /> 		

 	</package>
</packages>