[izpack-devel] Shortcut Panel Crashes on Windows 2000

Elmar Grom elmar at grom.net
Tue May 30 21:10:10 CEST 2006


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.

Just to explore the situation a bit more, could you try to insert another
panel after the shortcut panel and see what happens?

	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




More information about the izpack-devel mailing list