Page 1 of 2

XYcopy 2.00.0060 staying alive?

Posted: 30 Sep 2011 14:51
by Borut
I am using No-Install Packages. Before unpacking the new version I close the running XY and then unpack the Zip-file over the existing files.

This time (10.30.0013 over 10.30.0010, under WinXP) it was not possible to do that with XYcopy (which, as far as I can see, has not been changed, but I nevertheless always unpack and overwrite everything). The process manager showed the XYcopy in the process list. No copying took place at that time (although I am using custom copy for all operations normally) and the corresponding XYplorer.exe was closed.

After killing the XYcopy, the upgrade went smoothly, of course.

(The only new thing at my palace is the running desktop manager Dexpot 1.5).

I am not telling this is a bug. Just wonted to report that, since it never occurred before.

Regards,
Borut

Re: XYcopy 2.00.0060 staying alive?

Posted: 30 Sep 2011 15:06
by zer0
I have one more "fool"! :lol:
What you describe has happened to me and has been documented quite extensively in this thread: http://www.xyplorer.com/xyfc/viewtopic.php?f=5&t=5282

Re: XYcopy 2.00.0060 staying alive?

Posted: 04 Oct 2011 09:47
by admin
Thanks for the report. Of course I'm interested in a way to reproduce this.

Re: XYcopy 2.00.0060 staying alive?

Posted: 05 Oct 2011 12:06
by zer0
By any chance, does the installer check for XYcopy processes being present? Because I have about 4 orphaned instances of it and the installer is flagging up despite XYplorer.exe not running
xyplorer_running.png

Re: XYcopy 2.00.0060 staying alive?

Posted: 05 Oct 2011 12:39
by admin
The installer shows this message unconditionally.

Re: XYcopy 2.00.0060 staying alive?

Posted: 05 Oct 2011 15:57
by zer0
admin wrote:The installer shows this message unconditionally.
Why? If I am installing a trial or on a new machine, the message is just a redundant dialogue window to have to click through.

Re: XYcopy 2.00.0060 staying alive?

Posted: 05 Oct 2011 15:59
by admin
zer0 wrote:
admin wrote:The installer shows this message unconditionally.
Why? If I am installing a trial or on a new machine, the message is just a redundant dialogue window to have to click through.
So what? Normal people don't install a software that often. :)

Re: XYcopy 2.00.0060 staying alive?

Posted: 05 Oct 2011 16:34
by zer0
admin wrote:So what? Normal people don't install a software that often. :)
Normal developers don't pump out betas on an almost daily basis :P But seriously, the dialogue is redundant if it does not apply. Since you're using NSIS for your installer, a check for running process would be trivial to add.

Re: XYcopy 2.00.0060 staying alive?

Posted: 05 Oct 2011 16:44
by nas8e9
I'm confused: I've just run the 10.40.0000 installer with XYplorer both running and not running, and I only get the "Please close etc." message when XYplorer is running.

@admin: You used to have a check for running XYplorer-instances in the installer. From:
The installer shows this message unconditionally.
...I get that you've removed the check and just always show the admonition to close running instances, which contradicts my above observation and possibly zer0's below?

@zer0: Your observation (which I can't test) is that the installer now checks for running XYcopy.exe-instances as well? That does seem like a useful thing to have while the XYcopy.exe-bug is still around?

Re: XYcopy 2.00.0060 staying alive?

Posted: 05 Oct 2011 17:26
by zer0
nas8e9 wrote:@zer0: Your observation (which I can't test) is that the installer now checks for running XYcopy.exe-instances as well? That does seem like a useful thing to have while the XYcopy.exe-bug is still around?
It popped up a notification when several instances of XYcopy were running, which prompted my question. The check should really be at XYplorer level so that you are notified that XYcopy is running when try to quit XYplorer.

Re: XYcopy 2.00.0060 staying alive?

Posted: 05 Oct 2011 19:51
by admin
nas8e9 wrote:I'm confused: I've just run the 10.40.0000 installer with XYplorer both running and not running, and I only get the "Please close etc." message when XYplorer is running.

@admin: You used to have a check for running XYplorer-instances in the installer. From:
The installer shows this message unconditionally.
...I get that you've removed the check and just always show the admonition to close running instances, which contradicts my above observation and possibly zer0's below?

@zer0: Your observation (which I can't test) is that the installer now checks for running XYcopy.exe-instances as well? That does seem like a useful thing to have while the XYcopy.exe-bug is still around?
:oops: Ugh!

I was fooled by the fact that some instance of XY is always running on my system. Yes, you are right, there is a check! But since the window title of XY is not predictable AND NSIS does not allow to state wildcards in the window title check, I only check for the window class name. Which in our case is "ThunderRT6FormDC". Now this class name matches any VB6 application with a window, including XYcopy. So, if any VB6 application with a window then you get the prompt. Sorry about the confusion.

Re: XYcopy 2.00.0060 staying alive?

Posted: 05 Oct 2011 20:53
by zer0
Plenty of way to check are listed here: http://nsis.sourceforge.net/Check_wheth ... is_running

Re: XYcopy 2.00.0060 staying alive?

Posted: 08 Oct 2011 11:39
by zer0
Don,

I have another couple of orphaned XYcopy.exe instances. I went ahead and created a dump file for each. Please let me know where you would like it uploaded. Sending via email isn't an option as they are ~66MB/each.

Thanks :)

Re: XYcopy 2.00.0060 staying alive?

Posted: 10 Oct 2011 11:11
by admin
No thanks, I don't speak dump. :)

Why do I never get those XYcopy orphans?

Re: XYcopy 2.00.0060 staying alive?

Posted: 10 Oct 2011 14:07
by zer0
admin wrote:No thanks, I don't speak dump. :)

Why do I never get those XYcopy orphans?
Without you providing the debugging functionality, the dump files are as close as I can come to giving you low-level information.

As for why you don't get those orphans, I honestly don't know. Something causes them to show up and since they can't be run stand-alone, I am led to believe that at some point their link to XY is severed.