Difference between revisions of "Imagine"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(Digital Camera Raw Image)
(Microsoft HD Photo)
Line 104: Line 104:
  
 
=== Microsoft HD Photo ===
 
=== Microsoft HD Photo ===
 +
<source lang="xml">
 +
<package
 +
id="imagine_hdphoto"
 +
name="Imagine HDPhoto plugin"
 +
revision="%PKG_VERSION%"
 +
reboot="false"
 +
priority="0">
 +
 +
<depends package-id="imagine" />
 +
 +
<variable name="PKG_VERSION" value="0.0.6" />
 +
<variable name="PKG_SOURCE" value="%SOFTWARE%\Imagine\x64\plugins\HDPhoto"  architecture="x64" />
 +
<variable name="PKG_SOURCE" value="%SOFTWARE%\Imagine\x86\plugins\HDPhoto"  architecture="x86" />
 +
<variable name="PKG_FILES" value="%PKG_SOURCE%\%PKG_VERSION%" />
 +
<variable name="PKG_DESTINATION" value="%PROGRAMFILES%\Imagine\Plugin" />
 +
<variable name="PKG_FILENAME" value="HDPhoto.plg64" architecture="x64" />
 +
<variable name="PKG_FILENAME" value="HDPhoto.plg" architecture="x86" />
 +
 +
<check type="logical" condition="and">
 +
<check type="file" condition="exists" path="%PKG_DESTINATION%\%PKG_FILENAME%" />
 +
<check type="registry" condition="equals" path="HKLM\SOFTWARE\Imagine\HDPhotoVersion" value="%PKG_VERSION%" />
 +
</check>
 +
 +
<install cmd='%COMSPEC% /C copy /Y /V "%PKG_FILES%\*" "%PKG_DESTINATION%\"' />
 +
<install cmd='%COMSPEC% /C regedit /s "%PKG_SOURCE%\HDPhoto.reg"' />
 +
<install cmd='%COMSPEC% /C "%PROGRAMFILES%\Imagine\Imagine64.exe" /assocext /regcontextmenu' />
 +
 +
<upgrade include="remove" />
 +
<upgrade include="install" />
 +
 +
<remove cmd='%COMSPEC% /C del /Q "%PKG_DESTINATION%\%PKG_FILENAME%"' />
 +
<remove cmd='%COMSPEC% /C reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Imagine" /v HDPhotoVersion /f' />
 +
</package>
 +
</source>
 +
 
=== HoneyView3 Archive ===
 
=== HoneyView3 Archive ===
 
=== JBIG ===
 
=== JBIG ===

Revision as of 23:27, 11 May 2020

Freeware Image & Animation Viewer for Windows

Main Program package

For use this package, you need download zip package from Official site. After extract files to PKG_SOURCE/PKG_VERSION. You need manually create Imagine.reg and put there content. Example below. Also you need get config ini file from workstation, where you launched Imagine and set language settings.

<package 
	id="imagine" 
	name="Imagine" 
	revision="%PKG_VERSION%" 
	reboot="false" 
	priority="0">

	<variable name="PKG_VERSION"		value="1.1.1" />
	<variable name="PKG_SOURCE"		value="%SOFTWARE%\Imagine\x64\main"  architecture="x64" />
	<variable name="PKG_SOURCE"		value="%SOFTWARE%\Imagine\x86\main"  architecture="x86" />
	<variable name="PKG_FILES"		value="%PKG_SOURCE%\%PKG_VERSION%" />
	<variable name="PKG_DESTINATION"	value="%PROGRAMFILES%\Imagine" />
	<variable name="PKG_EXE"		value="%PKG_DESTINATION%\Imagine64.exe" architecture="x64" />
	<variable name="PKG_EXE"		value="%PKG_DESTINATION%\Imagine.exe" architecture="x86" />
 
	<check type="logical" condition="and">	 
		<check type="file"	condition="exists"	path="%PKG_EXE%"/>
		<check type="uninstall" condition="versiongreaterorequal" path="Imagine" value="%PKG_VERSION%" />
	</check>
	
	<install cmd='%COMSPEC% /C mkdir "%PKG_DESTINATION%"'/>
	<install cmd='%COMSPEC% /C copy /Y /V "%PKG_FILES%\*" "%PKG_DESTINATION%\"' />
	<install cmd='%COMSPEC% /C mkdir "%PKG_DESTINATION%\Plugin"'/>
	<install cmd='%COMSPEC% /C copy /Y /V "%PKG_FILES%\Plugin\*" "%PKG_DESTINATION%\Plugin\"' />
	<install cmd='%COMSPEC% /C mkdir "%PKG_DESTINATION%\Language"'/>
	<install cmd='%COMSPEC% /C copy /Y /V "%PKG_FILES%\Language\*" "%PKG_DESTINATION%\Language\"' />
	<install cmd='%COMSPEC% /C copy /Y /V "%PKG_SOURCE%\Imagine.lnk" "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\"' />
	<install cmd='%COMSPEC% /C regedit /s "%PKG_SOURCE%\Imagine.reg"' /> 	
	<install cmd='%COMSPEC% /C "%PKG_EXE%" /assocext /regcontextmenu' /> 	
	
	<upgrade include="remove" />
	<upgrade include="install" />

	<remove cmd='%COMSPEC% /C "%PKG_EXE%" /dissocext /unregcontextmenu' /> 
	<remove cmd='%COMSPEC% "%PKG_DESTINATION%\uninstall.exe" /S' />
	<remove cmd='%COMSPEC% /C rmdir /S /Q "%PKG_DESTINATION%"' />
	<remove cmd='%COMSPEC% /C reg delete HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\Imagine /f' /> 	
</package>

Imagine.reg:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\Imagine]
"DisplayName"="Imagine"
"DisplayIcon"="\"C:\\Program files\\Imagine\\Imagine64.exe\""
"Publisher"="Chun Sejin"
"DisplayVersion"="1.1.1"
"EstimatedSize"=dword:000005eb
"HelpLink"="http://www.nyam.pe.kr"
"URLInfoAbout"="http://www.nyam.pe.kr"
"InstallLocation"="\"C:\\Program files\\Imagine\""
"NoModify"=dword:00000001
"NoRepair"=dword:00000001
"UninstallString"="\"C:\\Program files\\Imagine\\Uninstall.exe\""
"Comments"="Image & Animation Viewer"

Plugins

You can download plugins from Official site.

Digital Camera Raw Image

<package 
	id="imagine_dcraw" 
	name="Imagine DCRaw plugin" 
	revision="%PKG_VERSION%" 
	reboot="false" 
	priority="0">

	<depends package-id="imagine" />

	<variable name="PKG_VERSION"		value="0.0.6" />
	<variable name="PKG_SOURCE"		value="%SOFTWARE%\Imagine\x64\plugins\DCRaw"  architecture="x64" />
	<variable name="PKG_SOURCE"		value="%SOFTWARE%\Imagine\x86\plugins\DCRaw"  architecture="x86" />
	<variable name="PKG_FILES"		value="%PKG_SOURCE%\%PKG_VERSION%" />
	<variable name="PKG_DESTINATION"	value="%PROGRAMFILES%\Imagine\Plugin" />
	<variable name="PKG_FILENAME"		value="DCRaw.plg64" architecture="x64" />
	<variable name="PKG_FILENAME"		value="DCRaw.plg" architecture="x86" />

	<check type="logical" condition="and">	
		<check type="file" 	condition="exists" path="%PKG_DESTINATION%\%PKG_FILENAME%" />	
		<check type="registry" 	condition="equals" path="HKLM\SOFTWARE\Imagine\DCRawVersion" value="%PKG_VERSION%" />
	</check>
	
	<install cmd='%COMSPEC% /C copy /Y /V "%PKG_FILES%\*" "%PKG_DESTINATION%\"' />
	<install cmd='%COMSPEC% /C regedit /s "%PKG_SOURCE%\DCRaw.reg"' /> 	
	<install cmd='%COMSPEC% /C "%PROGRAMFILES%\Imagine\Imagine64.exe" /assocext /regcontextmenu' /> 	
	
	<upgrade include="remove" />
	<upgrade include="install" />

	<remove cmd='%COMSPEC% /C del /Q "%PKG_DESTINATION%\%PKG_FILENAME%"' />
	<remove cmd='%COMSPEC% /C reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Imagine" /v DCRawVersion /f' />	
</package>

Microsoft HD Photo

<package 
	id="imagine_hdphoto" 
	name="Imagine HDPhoto plugin" 
	revision="%PKG_VERSION%" 
	reboot="false" 
	priority="0">

	<depends package-id="imagine" />

	<variable name="PKG_VERSION"		value="0.0.6" />
	<variable name="PKG_SOURCE"		value="%SOFTWARE%\Imagine\x64\plugins\HDPhoto"  architecture="x64" />
	<variable name="PKG_SOURCE"		value="%SOFTWARE%\Imagine\x86\plugins\HDPhoto"  architecture="x86" />
	<variable name="PKG_FILES"		value="%PKG_SOURCE%\%PKG_VERSION%" />
	<variable name="PKG_DESTINATION"	value="%PROGRAMFILES%\Imagine\Plugin" />
	<variable name="PKG_FILENAME"		value="HDPhoto.plg64" architecture="x64" />
	<variable name="PKG_FILENAME"		value="HDPhoto.plg" architecture="x86" />

	<check type="logical" condition="and">	
		<check type="file" 	condition="exists" path="%PKG_DESTINATION%\%PKG_FILENAME%" />	
		<check type="registry" 	condition="equals" path="HKLM\SOFTWARE\Imagine\HDPhotoVersion" value="%PKG_VERSION%" />
	</check>
	
	<install cmd='%COMSPEC% /C copy /Y /V "%PKG_FILES%\*" "%PKG_DESTINATION%\"' />
	<install cmd='%COMSPEC% /C regedit /s "%PKG_SOURCE%\HDPhoto.reg"' /> 	
	<install cmd='%COMSPEC% /C "%PROGRAMFILES%\Imagine\Imagine64.exe" /assocext /regcontextmenu' /> 	
	
	<upgrade include="remove" />
	<upgrade include="install" />

	<remove cmd='%COMSPEC% /C del /Q "%PKG_DESTINATION%\%PKG_FILENAME%"' />
	<remove cmd='%COMSPEC% /C reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Imagine" /v HDPhotoVersion /f' />	
</package>

HoneyView3 Archive

JBIG

JPEG 2000

OpenEXR Image

Google WebP