Image association does not work

Ask for help and post your question on how to use XnView Classic.

Moderators: helmut, XnTriq, xnview

Post Reply
Guest

Image association does not work

Post by Guest »

Hi,

It seems that image association doesn't work on my laptop. After installing the latest XnView software, i'm unable to associate any image file with XnView in the Explorer.

- I tried by using XnView menu >> doesn't work
- I tried directly in Explorer to select the software i want to open the file: "Open with..." >> But, as soon as i select XnView, it refuse the selection.

very strange... :(
User avatar
dma_k
Posts: 100
Joined: Tue Apr 14, 2009 8:50 am

Re: Image association does not work

Post by dma_k »

I've got approximately the same problem with file association:
  • xnview reports in Tools → Options → Associations, that .tif and .tiff files are associated with xnview
  • explorer reports, that .tif and .tiff files are associated with MS PictureViewer.
So I wonder, why xnview reports the information differently? How it is defined? There are several posts on this topic (this, this, this and this), all describing the variations around the same problem.

I have looked into the registry:

Code: Select all

REGEDIT4

[HKEY_CLASSES_ROOT\.tif]
"Content Type"="image/tiff"
"PerceivedType"="image"
@="TIFImage.Document"

[HKEY_CLASSES_ROOT\.tif\MSPaper.Document]

[HKEY_CLASSES_ROOT\.tif\MSPaper.Document\ShellNew]

[HKEY_CLASSES_ROOT\.tif\OpenWithList]

[HKEY_CLASSES_ROOT\.tif\OpenWithList\ois.exe]
@=""

[HKEY_CLASSES_ROOT\.tif\OpenWithProgids]
"TIFImage.Document"=hex(0):

[HKEY_CLASSES_ROOT\.tiff]
"Content Type"="image/tiff"
"PerceivedType"="image"
@="TIFImage.Document"

[HKEY_CLASSES_ROOT\.tiff\MSPaper.Document]

[HKEY_CLASSES_ROOT\.tiff\MSPaper.Document\ShellNew]

[HKEY_CLASSES_ROOT\.tiff\OpenWithList]

[HKEY_CLASSES_ROOT\.tiff\OpenWithList\ois.exe]
@=""

[HKEY_CLASSES_ROOT\.tiff\OpenWithList\PictureViewer.exe]

[HKEY_CLASSES_ROOT\.tiff\OpenWithProgIds]
"QuickTime.tiff"=hex(0):
"TIFImage.Document"=hex(0):

[HKEY_CLASSES_ROOT\.tiff\PersistentHandler]
@="{58F2E3BB-72BD-46DF-B134-1B50628668FB}"

[HKEY_CLASSES_ROOT\TIFImage.Document]
"EditFlags"=dword:00010000
"FriendlyTypeName"=hex(2):40,25,53,79,73,74,65,6d,52,6f,6f,74,25,5c,73,79,73,\
  74,65,6d,33,32,5c,73,68,69,6d,67,76,77,2e,64,6c,6c,2c,2d,33,30,36,00
"ImageOptionFlags"=dword:00000000

[HKEY_CLASSES_ROOT\TIFImage.Document\DefaultIcon]
@="shimgvw.dll,4"

[HKEY_CLASSES_ROOT\TIFImage.Document\shell]

[HKEY_CLASSES_ROOT\TIFImage.Document\shell\open]
"MuiVerb"="@shimgvw.dll,-550"

[HKEY_CLASSES_ROOT\TIFImage.Document\shell\open\command]
@="rundll32.exe C:\\WINDOWS\\system32\\shimgvw.dll,ImageView_Fullscreen %1"

[HKEY_CLASSES_ROOT\TIFImage.Document\shell\open\DropTarget]
"Clsid"="{E84FDA7C-1D6A-45F6-B725-CB260C236066}"

[HKEY_CLASSES_ROOT\TIFImage.Document\shell\printto]

[HKEY_CLASSES_ROOT\TIFImage.Document\shell\printto\command]
@="rundll32.exe C:\\WINDOWS\\system32\\shimgvw.dll,ImageView_PrintTo /pt \"%1\" \"%2\" \"%3\" \"%4\""
and it looks like the is no notion of xnview for these file extensions. So first I decided to change the association using explorer:
right click on tiff file → Open With... → Choose Program... → Browse → select xnview location
but then xnview hadn't appeared in the list of programs! Mystery!

So the solution for me (for those who will find this post) was:
explorer → Tools → Folder Options... → File Types tab → select .tiff and .tif and press Delete button
Afterwards annoying PictureViewer was gone.

Additional info: Win XP SP3, xnview
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Re: Image association does not work

Post by Clo »

:arrow: dma_k

:) Hello !

• That's a well known issue with XP … :( Personally, I solve it by removing totally the association¦s in Windows from :
- Win Explorer >> Tools Menu >> Folders Options >> [File Types] tab (or so, it's in French here).
- Then, you may associate the type¦s successfully in XnView, or also i.e. from Total Commander which has this feature.
- Aside : For some versions, TC has in addition an internal association allowing to start the applications for the types you want, but working only in TC…
- Maybe Pierre could cogitate about a similar feature in XnView, this should ease and simplify this handling… 8)

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
Post Reply