Saturday, January 2, 2010

WPS 6.1.5 installation issue: CreateProcess failed ==> %1 is not a valid Win32 application

I was trying to install WPS 6.1.5 on my windows XP and it was failing with following error:
CreateProcess failed ==> %1 is not a valid Win32 application

after some troubleshooting i could resolve this. It was happening because i had two user variables defined in windows environment variables as follows:
TEMP = %USERPROFILE%\Local Settings\Temp
TMP = %USERPROFILE%\Local Settings\Temp

with this install.bat was having problems with directory name having spaces.

I tried changing it to TEMP = c:\mytemp

at this time i started getting

CreateProcess failed ==> %1 is not a valid Win32 application

later i realised that there are two system variables defined as well with similar name TEMP and TMP as follows:

TEMP = c:\Windows\TEMP
TMP = c:\Windows\TEMP


so, i removed the uservariables TEMP and TMP and tried the installer once again and it installed successfuly. :)

No comments:

Post a Comment