1.90: if Shell Extension is already in use, it can't be
Moderators: helmut, XnTriq, xnview
1.90: if Shell Extension is already in use, it can't be
Bug 1.90: if Shell Extension is already in use from earlier version of xnview, it can't be installed during the normal installation process.
XNView 1.91.5
Windows XP SP3
Windows XP SP3
Re: Bug 1.90: if Shell Extension is already in use, it can't
You uninstall it berfore installing last version...klumy wrote:Bug 1.90: if Shell Extension is already in use from earlier version of xnview, it can't be installed during the normal installation process.
Pierre.
- foxyshadis
- Posts: 395
- Joined: Sat Nov 18, 2006 8:57 am
In the installer, you can always add these steps to the script:
taskkill /f /fi explorer.exe
<unregister>
explorer.exe
Taskkill only exists on xp by default though, so it'd have to be an xp-only segment. Alternately, you could just stuff the HKLM\...\RunOnce key with a batch file to do the copy/register, like most installers do, and tell the user the new shell extension will be finished after a reboot.
(Or you could always bundle a tool to search all processes for references to the file, and forcibly close that file handle; less intrusive on the user, if a bit less stable.)
taskkill /f /fi explorer.exe
<unregister>
explorer.exe
Taskkill only exists on xp by default though, so it'd have to be an xp-only segment. Alternately, you could just stuff the HKLM\...\RunOnce key with a batch file to do the copy/register, like most installers do, and tell the user the new shell extension will be finished after a reboot.
(Or you could always bundle a tool to search all processes for references to the file, and forcibly close that file handle; less intrusive on the user, if a bit less stable.)