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.
How to enable / disable Shell Extension (in ZIP version)
Moderators: XnTriq, helmut, xnview
-
- XnThusiast
- Posts: 4608
- Joined: Sun Jul 25, 2004 9:08 pm
How to enable / disable Shell Extension (in ZIP version)
Last edited by Dreamer on Sat Mar 04, 2006 10:40 pm, edited 1 time in total.
-
- Posts: 204
- Joined: Wed Oct 22, 2003 3:40 am
- Location: Vitoria-Gasteiz Beyond Stargate Network ;)
-
- XnThusiast
- Posts: 4608
- Joined: Sun Jul 25, 2004 9:08 pm
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?Aokromes wrote:I think it's better to use %windir% and %programfiles% also it only works on windows x86 builds.
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.