#202974 - 2011-08-25 10:59 PM
Version 4.62: not supported on Windows 2000 anymore?
|
Eduard
Fresh Scripter
Registered: 2003-08-09
Posts: 16
Loc: Amsterdam
|
Hi,
The doc's still state that 4.62 is supported under Windows 2000, but it doesn't work for me anymore: "KIX32.EXE is not a valid Win32 application". Can someone else please confirm this problem?
|
Top
|
|
|
|
#202977 - 2011-08-25 11:14 PM
Re: Version 4.62: not supported on Windows 2000 anymore?
[Re: Allen]
|
Eduard
Fresh Scripter
Registered: 2003-08-09
Posts: 16
Loc: Amsterdam
|
No, the same binary does work OK on other OS'es, so it's not broken in that sence. The error message is translated from Dutch, so might be somewhat different in English then shown. But it doesn't work on Win 2000. Just doing "KIX32.EXE /?" in a command prompt already gives the error.
|
Top
|
|
|
|
#202978 - 2011-08-25 11:30 PM
Re: Version 4.62: not supported on Windows 2000 anymore?
[Re: Eduard]
|
Allen
KiX Supporter
Registered: 2003-04-19
Posts: 4545
Loc: USA
|
I don't have 2k to test on... Ruud said he would be unavailable for comment for a couple of weeks... so hopefully someone else can confirm this. In the mean time you could do something like this in a bat file:
@echo off
ver | find "2000" > nul
if %ERRORLEVEL% == 0 goto oldkixexe
ver | find "NT" > nul
if %ERRORLEVEL% == 0 goto oldkixexe
ver | find "98" > nul
if %ERRORLEVEL% == 0 goto oldkixexe
ver | find "95" > nul
if %ERRORLEVEL% == 0 goto oldkixexe
::For all other OSs
:start
kix32.exe scriptname
goto exit
:oldkixexe
kix32_453.exe scriptname
:exit
|
Top
|
|
|
|
#202980 - 2011-08-26 05:38 AM
Re: Version 4.62: not supported on Windows 2000 anymore?
[Re: Les]
|
Allen
KiX Supporter
Registered: 2003-04-19
Posts: 4545
Loc: USA
|
Here's a more updated version of the bat file... covers all OSs...
@echo off
ver | find "95" > nul
if %ERRORLEVEL% == 0 goto oldkix
ver | find "98" > nul
if %ERRORLEVEL% == 0 goto oldkix
ver | find "NT" > nul
if %ERRORLEVEL% == 0 goto oldkix
ver | find "2000" > nul
if %ERRORLEVEL% == 0 goto oldkix
for /f "tokens=2*" %%i in ('reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v ProductName') do set OS=%%j
echo %OS% | find "XP" > nul
if %ERRORLEVEL% == 0 goto currentkix
echo %OS% | find "2003" > nul
if %ERRORLEVEL% == 0 goto currentkix
echo %OS% | find "Vista" > nul
if %ERRORLEVEL% == 0 goto currentkix
echo %OS% | find "2008" > nul
if %ERRORLEVEL% == 0 goto currentkix
echo %OS% | find "Windows 7" > nul
if %ERRORLEVEL% == 0 goto currentkix
echo Unknown OS
pause
goto exit
:currentkix
kix32.exe scriptname
goto exit
:oldkix
kix32_453.exe scriptname
:exit
|
Top
|
|
|
|
#202981 - 2011-08-26 10:40 AM
Re: Version 4.62: not supported on Windows 2000 anymore?
[Re: Allen]
|
Eduard
Fresh Scripter
Registered: 2003-08-09
Posts: 16
Loc: Amsterdam
|
Thanks Les for the confirmation, and thanks Allen for your work-around. Of course Win 2000 is very old now, and not supported by Microsoft anymore. But we still have some systems running it, and these do what they need to do, so why replacing them? The work-around is possible, but will still need a lot of scripts to be modified for this. So first I would like to be sure whether it was intentional to not support Win 2000 anymore with version 4.62. If yes, then the doc's should be updated to reflect this. If not, then wasn't this tested during the beta?
Edited by Eduard (2011-08-26 10:40 AM)
|
Top
|
|
|
|
#202984 - 2011-08-26 05:24 PM
Re: Version 4.62: not supported on Windows 2000 anymore?
[Re: Allen]
|
Eduard
Fresh Scripter
Registered: 2003-08-09
Posts: 16
Loc: Amsterdam
|
The work-around is possible, but will still need a lot of scripts to be modified for this. Curious, how so?
Sorry that was bad wording. I meant to say that we have to modify the way the scripts are called. Now most of the scripts are called directly, and this has to go through the batch file now.
|
Top
|
|
|
|
#202985 - 2011-08-26 05:28 PM
Re: Version 4.62: not supported on Windows 2000 anymore?
[Re: Les]
|
Eduard
Fresh Scripter
Registered: 2003-08-09
Posts: 16
Loc: Amsterdam
|
If not, then wasn't this tested during the beta? I don't recall any beta testing. There is a mention of a beta test by a limited group of users in the August 12 post from Allen in the Lounge forum.
|
Top
|
|
|
|
#202987 - 2011-08-26 05:35 PM
Re: Version 4.62: not supported on Windows 2000 anymore?
[Re: Allen]
|
Allen
KiX Supporter
Registered: 2003-04-19
Posts: 4545
Loc: USA
|
As a side note... Oh how I used to love Batch files, but if I had to write that ugly crap now, after using kix all these years, I think I would want to shoot myself.
|
Top
|
|
|
|
Moderator: ShaneEP, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart
|
0 registered
and 515 anonymous users online.
|
|
|