[izpack-devel] Shortcut Panel Crashes on Windows 2000
Hal Vaughan
hal at thresholddigital.com
Wed May 31 02:32:57 CEST 2006
On Tuesday 30 May 2006 18:43, Elmar Grom wrote:
> Hal,
>
> sure there is a DLL. As I wrote in the last mail, it just uses
> regular OS calls, nothing off the hook. I even developed it on
> Windows 2000 and it is in use for years now with no reports of this
> kind...
Okay. I forgot who write the DLL. I see what you're saying. My
misunderstanding.
> In theory Java should not cause such problems. In reality I have seen
> the odd strange thing, though not in a while...
What's weird is that it isn't a crash, a blue-screen-of-death, or
anything else. It's a total reboot, and I just can't imagine a darn
thing in Java doing that. I can try redirecting the output and errors
to a file next time, if you think that'll help.
> At this point I have no idea at all what it could be, so the strategy
> is to change various things that might alter the operating conditions
> enough to stop this from happening or to change what exactly happens.
I know it works in WinXP. I haven't experimented too much yet, since it
takes 20 minutes to compile the Install.jar! I'm open to ideas of what
to change.
> If we can accomplish that, we might already gain some insight or at
> least devise a strategy that allows us to hone in on the problem.
I can try different settings. I think it best to remove one of the
short cuts and that could narrow it down quickly. I was worried that
the SimpleConfig.class that Fabrice and I have been working on could
cause some problem, but it's not in use at all when ShortcutPanel is
working -- and I just don't see what could be going on in Java that
could automatically reboot the system.
> One thing of interest would also be the VM you are running. Perhaps
> changing that might also change things.... and then there is always
> the outside possibility of something being wrong with you OS
> installation (corrupted file etc.).
It could be any of those. It's on a multi-partitioned system, and the
partition was set up for testing, so it would be a pain to reinstall
Windows, since I'd still have to go back and re-install GRUB over the
boot block and make sure the config is okay.
I'm using Java 1.5, if that helps.
Hal
> -----Original Message-----
> From: izpack-devel-admin at berlios.de
> [mailto:izpack-devel-admin at berlios.de]On Behalf Of Hal Vaughan
> Sent: Tuesday, May 30, 2006 12:19 PM
> To: izpack-devel at berlios.de
> Subject: Re: [izpack-devel] Shortcut Panel Crashes on Windows 2000
>
> On Tuesday 30 May 2006 15:10, Elmar Grom wrote:
> > Hi Hal,
> >
> > I never heard of such behavior. There is also nothing in the code
> > that could cause the OS to reboot. In theory it should not be
> > possible to cause this from within a Java application and the
> > native code uses regular OS calls, no trickery or smoke and
> > mirrors. So that makes the entire situation really strange.
>
> Isn't there a native .dll that could cause some problems? The
> shortcuts are never even created and I don't see any sign of them on
> reboot.
>
> > Just to explore the situation a bit more, could you try to insert
> > another panel after the shortcut panel and see what happens?
>
> Are you thinking it might be the next panel? I can try that later
> this evening. I'll also be glad to use any debugging tools you
> recommend, provided I understand what I'm doing. (There's a big gulf
> of skills if you're self taught!)
>
> Hal
>
> > Elmar
> >
> > -----Original Message-----
> > From: izpack-devel-admin at berlios.de
> > [mailto:izpack-devel-admin at berlios.de]On Behalf Of Hal Vaughan
> > Sent: Tuesday, May 30, 2006 9:39 AM
> > To: izpack-devel at lists.berlios.de
> > Subject: [izpack-devel] Shortcut Panel Crashes on Windows 2000
> >
> >
> > I wanted to bring this up here before I submitted it as a bug,
> > since I have no debugging info (it just crashes!). I've included
> > my shortcutSpec.xml at the bottom of this e-mail, in case there's
> > something I missed that could create a problem.
> >
> > I'm using a shortcut panel as the last functional step in
> > installing my program. It works fine on Windows XP, but whenever I
> > get the ShortcutPanel on Windows 2000, when I click "Next", instead
> > of getting shortcuts, my computer reboots. As you can imagine,
> > this means I can either not support Windows 2000 or come up with
> > really crazy work around.
> >
> > Has anyone else seen this behavior?
> >
> > I've got working directories set, but the shortcuts are to .vbs
> > files that don't really need environment variables. They figure
> > out where they are and then run .bat files in the same directory
> > with a few arguments the .vbs scripts figure out on their own. I'm
> > not using special icons (just the standard .vbs icon) either.
> >
> > Any ideas on this would be helpful. I think it's likely a bug of
> > some kind, but I'm once again working on very little sleep for a
> > number of days, so I could be missing the extremely obvious.
> >
> > Thanks!
> >
> > Hal
> > ----------------------------shortcutSpec.xml-----------------------
> >-- ------- -----
> > <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
> > <shortcuts>
> > <skipIfNotSupported/>
> > <programGroup defaultName="threshNet Agent" location="startMenu"/>
> > <shortcut
> > name="threshNet Control Panel"
> > target="$INSTALL_PATH\TNetControlPanel.vbs"
> > commandLine=""
> > workingDirectory="$INSTALL_PATH\"
> > description="Runs the threshNet Control Panel"
> > initialState="noShow"
> > programGroup="yes"
> > desktop="yes"
> > applications="no"
> > startMenu="no"
> > startup="no">
> > <createForPack name="threshNetAgent"/>
> > </shortcut>
> >
> > <shortcut
> > name="threshNet Test"
> > target="$INSTALL_PATH\TNetTest.vbs"
> > commandLine=""
> > workingDirectory="$INSTALL_PATH\"
> > description="Runs tests to verify threshNet Agent functions"
> > initialState="noShow"
> > programGroup="yes"
> > desktop="no"
> > applications="no"
> > startMenu="no"
> > startup="no">
> > <createForPack name="threshNetAgent"/>
> > </shortcut>
> > </shortcuts>
> > _______________________________________________
> > izpack-devel mailing list
> > izpack-devel at lists.berlios.de
> > http://lists.berlios.de/mailman/listinfo/izpack-devel
> >
> > _______________________________________________
> > izpack-devel mailing list
> > izpack-devel at lists.berlios.de
> > http://lists.berlios.de/mailman/listinfo/izpack-devel
>
> _______________________________________________
> izpack-devel mailing list
> izpack-devel at lists.berlios.de
> http://lists.berlios.de/mailman/listinfo/izpack-devel
>
> _______________________________________________
> izpack-devel mailing list
> izpack-devel at lists.berlios.de
> http://lists.berlios.de/mailman/listinfo/izpack-devel
More information about the izpack-devel
mailing list