47
edits
Changes
ImageJ
,Initial version
A free image editor from [http://rsbweb.nih.gov/ij/ NIH]
== Installing with Java already installed ==
<source lang="xml">
<?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>
</source>
== Installing with Java already installed ==
<source lang="xml">
<?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>
</source>