How to enable / disable Shell Extension (in ZIP version)

Frequently Asked Questions regarding XnView (including Answers)

Moderators: XnTriq, helmut, xnview

User avatar
Dreamer
XnThusiast
Posts: 4578
Joined: Sun Jul 25, 2004 9:08 pm
Location: Slovakia

How to enable / disable Shell Extension (in ZIP version)

Postby Dreamer » Sat Mar 04, 2006 3:28 pm

How to enable / disable (install / uninstall) Shell Extension (in ZIP full version)?

Create two .TXT files, copy blue text there, change path to XnView (if needed) and rename them to .CMD or .BAT (exact names below).

For Windows 2000:

An example - Install_win2k.cmd:

@echo off
cls
c:\winnt\system32\regsvr32.exe "c:\program files\xnview\xnviewshellext.dll"
exit


An example - Uninstall_win2k.cmd:

@echo off
cls
c:\winnt\system32\regsvr32.exe /u "c:\program files\xnview\xnviewshellext.dll"
exit


For Windows XP:

XnShellEx_Install_WinXP.cmd:

@echo off
cls
%windir%\System32\regsvr32.exe /s "C:\Program Files\XnView\XnViewShellExt.dll"
exit


XnShellEx_Uninstall_WinXP.cmd:

@echo off
cls
%windir%\System32\regsvr32.exe /u /s "C:\Program Files\XnView\XnViewShellExt.dll"
exit


Note: You can use this solution only if you have file XnViewShellExt.dll in XnView folder.
Last edited by Dreamer on Sat Mar 04, 2006 10:40 pm, edited 1 time in total.

User avatar
Aokromes
Posts: 202
Joined: Wed Oct 22, 2003 3:40 am
Location: Vitoria-Gasteiz Beyond Stargate Network ;)

Postby Aokromes » Sat Mar 04, 2006 4:28 pm

I think it's better to use %windir% and %programfiles% also it only works on windows x86 builds.

User avatar
Dreamer
XnThusiast
Posts: 4578
Joined: Sun Jul 25, 2004 9:08 pm
Location: Slovakia

Postby Dreamer » Sat Mar 04, 2006 10:36 pm

Aokromes wrote:I think it's better to use %windir% and %programfiles% also it only works on windows x86 builds.

OK, it's not my idea (it was ckit - 2k version), so I'm not sure about it (%windir%) - then it should work on Windows 2000/XP and also 98/ME?

I'd rather don't use %programfiles% - because not all users use Program Files folder (e.g. me), so it could be more difficult / confusing to replace %programfiles%, since they don't know what it means...

I found also a command /s = hide info dialog, so you don't need to press OK button.


Return to “XnView - FAQ”

Who is online

Users browsing this forum: No registered users and 2 guests