$WINSYSDIR$ not working

Got a problem you cannot solve? Try here.
cmclendon
Posts: 3
Joined: Thu Oct 06, 2005 11:39 am

$WINSYSDIR$ not working

Postby cmclendon » Thu Oct 06, 2005 11:42 am

I am using the Second Edition build, and when using the .NET Framework 2.0 template the version checking was not working. I inserted the following code to check the result:

Get File Version $WINSYSDIR$\\mscoree.dll into Variable MSCOREVER

What I got back was 0.0.0.0

However, if I change it to a hard coded path:

Get File Version c:\\windows\\system32\\mscoree.dll into Variable MSCOREVER

I get back the expected version.

Is this is a known issue?

sinan
Site Admin
Posts: 1020
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Thu Oct 06, 2005 5:09 pm

Please make sure $WINSYSDIR$ is initialized beforehand.

Easiest way: search for WINSYSDIR in the script (type CTRL+F and type in WINSYSDIR), then copy-paste the line that initializes it right above your call for the runtime.

sinan
Site Admin
Posts: 1020
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Thu Oct 06, 2005 5:23 pm

Note: The sample script already performs this initialization for you. Please double-check that you did not accidentally delete the code (or are overwriting the variable later on).


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 43 guests