Hey, > I've been using Unattended for a couple years now and so far everything is > working just great. Especially since I removed the malicious software removal > tool from my win*.bat files. ;) > > Anyway ... a fellow admin is now facing a problem I cant quite make sense of. > He is trying to create a shortcut using the shortcut.pl file in the bin/ > directory. I've been using this script for months now to create all kinds of > shortcuts and had no real problems so far. But the error he is getting just > doesn't make sense for me. > > The script is executed by WPKG (which I'm using for software deployment) and > I get the following error in the logfile: > > ERROR : Could not process (install) package 'Test-Package' (test):|Exit code > returned non-successful value (255) on command 'cmd /c perl > "\\server\install\bin\shortcut.pl" "%PROGRAMFILES%\Test-Package\test.exe" > special:"AllUsersStartMenu\Programme\Test-Package\Test"'. > > Executing the script on the same host manually gives the following: > > C:\> cmd /c perl shortcut.pl shortcut.pl test > Win32::OLE(0.1709) error 0x80004002: "Schnittstelle nicht unterstützt" at > shortcut.pl line 34 > > "Schnittstelle nicht unterstützt" translates to "No such interface supported". > The version of the Windows Scripting Host appears to be 5.7: > > C:\> cscript /? > Microsoft (R) Windows Script Host, Version 5.7 > Copyright (C) Microsoft Corporation 1996-2001. Alle Rechte vorbehalten. > > The affected systems are Windows XP SP2 (iirc, might be SP3) German and > Scripting Host 5.7. Other systems with Windows XP SP3 German and Scripting > Host 5.6 and Windows Server 2003 German with either Scripting Host 5.6 or 5.7 > do NOT show this behaviour. I'll test some Windows XP SP3 systems with > Scripting Host 5.7 this afternoon. > Sadly I don't have direct access to the machines in question so I cannot > really run any extensive tests. > Has anyone else witnessed such behaviour and maybe knows the reason or even > better a solution for this problem? Its kind of blocking a couple of software > installations. :/
Ok, I just checked my "Windows XP SP3 German" vmwares and they are all using Scripting Host 5.7. None of them show this error and everything works as expected. I really have no idea what could be causing this... - jens ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ unattended-info mailing list unattended-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unattended-info