Windows 8: File association tool does not work at all!
Moderators: XnTriq, helmut, xnview
-
- Posts: 42
- Joined: Sun Mar 28, 2010 11:19 am
Windows 8: File association tool does not work at all!
Hello,
The "File association tool" does not work at all...
I even can not set the default program, XnViewMP is missing in this list!!!
Please help...
The "File association tool" does not work at all...
I even can not set the default program, XnViewMP is missing in this list!!!
Please help...
-
- XnThusiast
- Posts: 1676
- Joined: Wed Aug 16, 2006 6:31 am
Re: Windows 8: File association tool does not work at all!
Do you run it with the admin rights?BloodySword wrote:Hello,
The "File association tool" does not work at all...
I even can not set the default program, XnViewMP is missing in this list!!!
Please help...
m. Th.
- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
-
- Posts: 42
- Joined: Sun Mar 28, 2010 11:19 am
Re: Windows 8: File association tool does not work at all!
Yes, of course I did.
But even when I manupulate the extensions with REGEDIT, Windows Explorer ignores it... :/
I read following MSDN article, which says how file associations have to be done in Windows 8:
http://msdn.microsoft.com/en-us/library ... 85%29.aspx
I tried to reproduce the registry structure for XnView to be displayed in the list of Programs that could be set as default programs in Windows 8.
But I did not get XnView in that list...
But even when I manupulate the extensions with REGEDIT, Windows Explorer ignores it... :/
I read following MSDN article, which says how file associations have to be done in Windows 8:
http://msdn.microsoft.com/en-us/library ... 85%29.aspx
I tried to reproduce the registry structure for XnView to be displayed in the list of Programs that could be set as default programs in Windows 8.
But I did not get XnView in that list...
-
- Author of XnView
- Posts: 45495
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Windows 8: File association tool does not work at all!
could you check if association works with XnView 2.03?
Pierre.
-
- Posts: 42
- Joined: Sun Mar 28, 2010 11:19 am
Re: Windows 8: File association tool does not work at all!
I will test it tomorrow and will write a summay here as soon as possible.
Edit: Because of other software problems on this notebook, I decided to fix these first and perhaps see if it also fixes this issue here.
The registry was broken or something else. I even could not add a new user to Windows 8. Very odd. I resetted Windows, now and I will see
if this fixes all issues after installing all my favourite software.
Thank you for your patience.
Edit: Because of other software problems on this notebook, I decided to fix these first and perhaps see if it also fixes this issue here.
The registry was broken or something else. I even could not add a new user to Windows 8. Very odd. I resetted Windows, now and I will see
if this fixes all issues after installing all my favourite software.
Thank you for your patience.
-
- Posts: 42
- Joined: Sun Mar 28, 2010 11:19 am
Re: Windows 8: File association tool does not work at all!
Okay, I solved the other software problems and a big problem with Windows 8.
But it still behaves like described, it does not work at all.
I can not select XnViewMP here:

(This is the preferences window where you can associate file types to a program which is capable of them.)
As you can see: No XnViewMP is there.
So now, I downloade XnView for Windows and first I have NOT used the installer, just the .zip file.
I unpacked the zip file to C:\Program Files (x86)\ and it created the directory XnView.
Firstly I startet it without administrator rights and checked all check boxes.
As I expected, no luck.
I checked if XnView is visible in the above windows preferences box, but no luck.
Then I startet it with administrator rights, gone to preferences, associations and look what I have got:
(Sorry that this is all in german but I have german Windows 8)

And it worked!!!
So I think, you have to do the following. For the file association exe, you have do the same as in XnView.
Create the same registry keys in Windows. Is there any problem, that the .exe has another name and is in fact
not the .exe that should be associated? If yes, you should just provide a .reg file template, where XnViewMP
is just replacing the path to XnView.exe and run it with elevation (administrator rights) and let the user
confirm it.
What I will try now is following:
I will just copy XnView.exe from this zip into the XnViewMP directory after I moved the MP XnView.exe to the desktop.
Then I will run the registration process, delete this exe and move the MP exe back to program files\XnViewMP.
This SHOULD work I think. Let's see...
HAH! It WORKS! But... as I esxpected... I have no file icons...
So I will now go to regedit and check the association's file icons and will give the correct one...
This is a HUGE amount of work! I will edit this post as soon as I finished.
Edit: It worked!!
But it is strange. When I go HKEY_CLASSES_ROOT\.jpg it is associated to jpegfile which is associated to the Windows Picture Viewer DLL.
This makes no sense! How does this magic work??
But it still behaves like described, it does not work at all.
I can not select XnViewMP here:

(This is the preferences window where you can associate file types to a program which is capable of them.)
As you can see: No XnViewMP is there.
So now, I downloade XnView for Windows and first I have NOT used the installer, just the .zip file.
I unpacked the zip file to C:\Program Files (x86)\ and it created the directory XnView.
Firstly I startet it without administrator rights and checked all check boxes.
As I expected, no luck.
I checked if XnView is visible in the above windows preferences box, but no luck.
Then I startet it with administrator rights, gone to preferences, associations and look what I have got:
(Sorry that this is all in german but I have german Windows 8)

And it worked!!!
So I think, you have to do the following. For the file association exe, you have do the same as in XnView.
Create the same registry keys in Windows. Is there any problem, that the .exe has another name and is in fact
not the .exe that should be associated? If yes, you should just provide a .reg file template, where XnViewMP
is just replacing the path to XnView.exe and run it with elevation (administrator rights) and let the user
confirm it.
What I will try now is following:
I will just copy XnView.exe from this zip into the XnViewMP directory after I moved the MP XnView.exe to the desktop.
Then I will run the registration process, delete this exe and move the MP exe back to program files\XnViewMP.
This SHOULD work I think. Let's see...
HAH! It WORKS! But... as I esxpected... I have no file icons...
So I will now go to regedit and check the association's file icons and will give the correct one...
This is a HUGE amount of work! I will edit this post as soon as I finished.
Edit: It worked!!
But it is strange. When I go HKEY_CLASSES_ROOT\.jpg it is associated to jpegfile which is associated to the Windows Picture Viewer DLL.
This makes no sense! How does this magic work??
Last edited by BloodySword on Fri Jul 12, 2013 9:06 am, edited 1 time in total.
-
- XnThusiast
- Posts: 1676
- Joined: Wed Aug 16, 2006 6:31 am
Re: Windows 8: File association tool does not work at all!
Glad that you succeeded!
As an aside, the file association tool needs to be updated (at least) with most common raw formats:
Adobe (.DNG)
Canon (.CRW, .CR2)
Casio (.RAW)
Fuji (.RAF)
Hasselblad (.3FR) - supported? (the Hasselblad H4D's .fff format has problems)
Kodak (.DCR, .KDC) - supported?
Leica (.DNG and .RAW) - supported?
Minolta (.MRW) - supported?
Nikon (.NEF, .NRW)
Olympus (.ORF)
Panasonic (.RAW, .RW2)
Pentax (.PEF)
Ricoh (.DNG)
Samsung (.DNG)
Sigma (.X3F) - supported?
Sony (.ARW,.SRF,.SR2)
As an aside, the file association tool needs to be updated (at least) with most common raw formats:
Adobe (.DNG)
Canon (.CRW, .CR2)
Casio (.RAW)
Fuji (.RAF)
Hasselblad (.3FR) - supported? (the Hasselblad H4D's .fff format has problems)
Kodak (.DCR, .KDC) - supported?
Leica (.DNG and .RAW) - supported?
Minolta (.MRW) - supported?
Nikon (.NEF, .NRW)
Olympus (.ORF)
Panasonic (.RAW, .RW2)
Pentax (.PEF)
Ricoh (.DNG)
Samsung (.DNG)
Sigma (.X3F) - supported?
Sony (.ARW,.SRF,.SR2)
m. Th.
- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
-
- Posts: 42
- Joined: Sun Mar 28, 2010 11:19 am
Re: Windows 8: File association tool does not work at all!
Thanks!
At first, I would suggest to fix this tool.
If it is on Windows XP and Vista, it should process like it does now.
But on Windows 7 and 8 and 8.1 it should do it like XnView in this case.
The file association works totally different, now.
Oh and I have to note something interesting:
Approx. one year ago on my Zenbook UX31A, I first had Windows 7 Home.
I installes XnViewMP and used the file association tool.
And it worked!
I upgraded to Windows 8 Pro with the special offer at the beginning of this year.
And it still works...
But it seems, when I have Windows 8 and want to register the file types, now it does not work at all.
This should be fixed first, then on occasion, we can add more file types to this tool.
Yes, I understand why it is a seperate tool since this is a multi platfrom program.
But wouldn't it be possible to add the same API calls to Windows and using a compile switch
when it is compiled for Windows, it behaves like that and when compiled for Linux
it behaves like it should do for Linux?
At first, I would suggest to fix this tool.
If it is on Windows XP and Vista, it should process like it does now.
But on Windows 7 and 8 and 8.1 it should do it like XnView in this case.
The file association works totally different, now.
Oh and I have to note something interesting:
Approx. one year ago on my Zenbook UX31A, I first had Windows 7 Home.
I installes XnViewMP and used the file association tool.
And it worked!
I upgraded to Windows 8 Pro with the special offer at the beginning of this year.
And it still works...
But it seems, when I have Windows 8 and want to register the file types, now it does not work at all.
This should be fixed first, then on occasion, we can add more file types to this tool.
Yes, I understand why it is a seperate tool since this is a multi platfrom program.
But wouldn't it be possible to add the same API calls to Windows and using a compile switch
when it is compiled for Windows, it behaves like that and when compiled for Linux
it behaves like it should do for Linux?
-
- XnThusiast
- Posts: 1676
- Joined: Wed Aug 16, 2006 6:31 am
Re: Windows 8: File association tool does not work at all!
Windows 7 Enterprise SP 1 here. And it works. Istm that it has something to do either with rights either with other programs which put "somewhere else" in front of XnViewMP their associations.Approx. one year ago on my Zenbook UX31A, I first had Windows 7 Home.
I installes XnViewMP and used the file association tool.
And it worked!
m. Th.
- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
-
- Posts: 42
- Joined: Sun Mar 28, 2010 11:19 am
Re: Windows 8: File association tool does not work at all!
It's definitively a bug in combination with Windows 8 since it works with XnView for Windows.
-
- Posts: 42
- Joined: Sun Mar 28, 2010 11:19 am
Re: Windows 8: File association tool does not work at all!
Mhh... Testes 0.61 ... Unfortunally no change at all. The only change I noticed was a new button in the XNView "System integration" setup area which does nothing on Admin mode, and in normal mode it's just complaining it wants to be in admin mode. When I start the tool manually with admin rights, same as before.
For upgrade, I totally deleted the old version and extracted the new one.
What I will test now, install the setup version of XnView and see if it works then afterwards. Be right back!
Edit: No luck at all... :/
For upgrade, I totally deleted the old version and extracted the new one.
What I will test now, install the setup version of XnView and see if it works then afterwards. Be right back!
Edit: No luck at all... :/
-
- Author of XnView
- Posts: 45495
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Windows 8: File association tool does not work at all!
Win 8 x64?
I've tried on Win x64, and no problem. I have the windows file association for XnViewMP like XnView
On Win 7/8, XnViewMP use the standard dialog, no more 'Associate files with XnViewMP.exe'
I've tried on Win x64, and no problem. I have the windows file association for XnViewMP like XnView
On Win 7/8, XnViewMP use the standard dialog, no more 'Associate files with XnViewMP.exe'
Pierre.
-
- Posts: 42
- Joined: Sun Mar 28, 2010 11:19 am
Re: Windows 8: File association tool does not work at all!
I remembered, that I tried to create the neccessary registry structure for XnViewMP to manually set this thing up.
Interestingly this caused a problem with the new button in the "system integration" options.
I deleted it and now the button works! Thank you!
PS: You should add the extension .jpeg , because I have some sources where .jpeg is used. Renaming them is sometimes a pain in the ass.
PS2: Yes, 64 Bit Windows 8 Pro
Interestingly this caused a problem with the new button in the "system integration" options.
I deleted it and now the button works! Thank you!
PS: You should add the extension .jpeg , because I have some sources where .jpeg is used. Renaming them is sometimes a pain in the ass.

PS2: Yes, 64 Bit Windows 8 Pro
-
- Posts: 42
- Joined: Sun Mar 28, 2010 11:19 am
Re: Windows 8: File association tool does not work at all!
But I noticed that the icons still doesn't work.
Most of them got "generic" and others have %1...
Most of them got "generic" and others have %1...
-
- Author of XnView
- Posts: 45495
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Windows 8: File association tool does not work at all!
So it works??
all icons?BloodySword wrote:But I noticed that the icons still doesn't work.
Most of them got "generic" and others have %1...
Pierre.