Difference between revisions of "XnView"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(update to work with 64-bit windows)
m (add external link)
Line 1: Line 1:
This is a silent installer and uninstaller for XnView.
+
This is a silent installer and uninstaller for XnView, an image coverter and viewer. more infos from [http://www.xnview.com/ here]
  
 
This can be used to install 32-bit XnView on both 32-bit and 64-bit Windows.
 
This can be used to install 32-bit XnView on both 32-bit and 64-bit Windows.

Revision as of 08:59, 31 March 2011

This is a silent installer and uninstaller for XnView, an image coverter and viewer. more infos from here

This can be used to install 32-bit XnView on both 32-bit and 64-bit Windows.

<?xml version="1.0" encoding="UTF-8"?>

<!-- 
XnView Homepage
http://www.xnview.com/

XnView download :
http://download.xnview.com/XnView-win.exe
-->
	
<packages>

	<package
    id="xnview"
    name="XnView"
    revision="1"
    reboot="false"
    priority="10">
	
	<check type="uninstall" condition="exists" path="XnView 1.97.8" />
		
	<install cmd='%SOFTWARE%\XnView\XnView-win.exe /norestart /verysilent' />
	
	<upgrade cmd='%ComSpec% /c if exist "%ProgramFiles%\XnView\unins000.exe" "%ProgramFiles%\XnView\unins000.exe /verysilent"' >
		<exit code="1" reboot="false"/>
	</upgrade>
	<upgrade cmd='%ComSpec% /c if exist "%ProgramFiles(x86)%\XnView\unins000.exe" "%ProgramFiles(x86)%\XnView\unins000.exe /verysilent"' >
		<exit code="1" reboot="false"/>
	</upgrade>
	<upgrade cmd='%ComSpec% /c if exist "%ProgramFiles%\XnView" del /Q "%PROGRAMFILES%\XnView"' />
	<upgrade cmd='%ComSpec% /c if exist "%ProgramFiles(x86)%\XnView" del /Q "%PROGRAMFILES(x86)%\XnView"' />
	<upgrade cmd='%SOFTWARE%\XnView\XnView-win.exe /norestart /verysilent' />
	
	<remove cmd='%ComSpec% /c if exist "%ProgramFiles%\XnView\unins000.exe" "%ProgramFiles%\XnView\unins000.exe /verysilent"' >
		<exit code="1" reboot="false"/>
	</remove>
	<remove cmd='%ComSpec% /c if exist "%ProgramFiles(x86)%\XnView\unins000.exe" "%ProgramFiles(x86)%\XnView\unins000.exe /verysilent"' >
		<exit code="1" reboot="false"/>
	</remove>
	<remove cmd='%ComSpec% /c if exist "%ProgramFiles%\XnView" del /Q "%PROGRAMFILES%\XnView"' />
	<remove cmd='%ComSpec% /c if exist "%ProgramFiles(x86)%\XnView" del /Q "%PROGRAMFILES(x86)%\XnView"' />

	</package>
	
</packages>

If you're looking to bypass the initial Configuration Wizard popup for all users just create an empty xnview.ini file inside the installation dir:

echo. > "%PROGRAMFILES%\XnView\xnview.ini"