[wpkg-users] [Bug 243] Empty variable value causes crash

Rainer Meier r.meier at wpkg.org
Sun Oct 16 17:55:54 CEST 2011


Hi Stefan,

On 16.10.2011 17:19, Stefan Pendl wrote:
> Sorry, no fix>:-(
>
> I don't think there is something special with my configuration, but that might be the case.
>
> Attached is the log file, now WinXP instead of Win2k.
>
> Might be that setting a variable with a NULL value is not supported by earlier WSH.
> What Windows version are you testing on?

It's not setting null but instead it's setting a variable and it's content is an 
empty string - "".
Well I've tested this on an older XP VM and I was able to reproduce the issue. 
Seems to be fixed on Win7 (my default test environment).

I've implemented a work-around which will simply append another empty string to 
the environment before applying it which seems to tell WSH to treat the variable 
as a string and it seems to work on Win7 and WinXP.

Please try again using version 1.2.1-RC25.

<http://wpkg.svn.sourceforge.net/viewvc/wpkg/wpkg/stable/1.2/>

Thank you!

Rainer



More information about the wpkg-users mailing list