[izpack-devel] Shortcut Panel Crashes on Windows 2000

Elmar Grom elmar at grom.net
Wed May 31 00:43:27 CEST 2006


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...

In theory Java should not cause such problems. In reality I have seen the
odd strange thing, though not in a while...

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. 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.

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.).

	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 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




More information about the izpack-devel mailing list