Skip to main content
1-Visitor
Jan 29, 2018 10:40 AM UTC
Question

WINDCHILL INSTALLATION ON WINDOWS 10

Hi All,

Trying to install WC 11, M030 on windows 10 (64 bit). After having done the initial setup, when the PSI proceeds to install, it progresses to 6-7% and then quits. Here's what the log says :

 

2018-01-29 14:58:11 - ###################################################
INFO 2018-01-29 14:58:11 - Running javasdk Installer
INFO 2018-01-29 14:58:11 - ###################################################
DEBUG 2018-01-29 14:58:11 - calling executeInstaller(E:\WC\MED-60703-CD-110_M030_Java development kit (JDK) for windchill 11.0)
DEBUG 2018-01-29 14:58:11 - Processing subinstaller assembly (javasdk): timer.start
INFO 2018-01-29 14:58:11 - Running: /usr/local/bin\cscript.exe //E:vbscript E:\WC\MED-60703-CD-110_M030_Java development kit (JDK) for windchill 11.0\setup.vbs WAIT LAX_VM C:\Users\root\AppData\Local\Temp\I1517217846\Windows\resource\jre\bin\java.exe -f E:\ptc\PSI\installer\PSITempProps\javasdk-installer.properties -DMULTI_PROGRAM_EXEC=1
ERROR 2018-01-29 14:58:11 - java.io.IOException: Cannot run program "/usr/local/bin\cscript.exe": CreateProcess error=2, The system cannot find the file specified
DEBUG 2018-01-29 14:58:12 - Installation is Aborting. The installation cannot continue.

FATAL 2018-01-29 14:58:27 - Aborting installation.
FATAL 2018-01-29 14:58:27 - Installation is Aborting. The installation cannot continue.

FATAL 2018-01-29 14:58:27 - javasdk installation has failed.
FATAL 2018-01-29 14:58:27 - aborting: original exit_code = 2
FATAL 2018-01-29 14:58:27 - aborting: normalized exit_code = 2
DEBUG 2018-01-29 14:58:27 - SHUTDOWN REQUESTED
DEBUG 2018-01-29 14:58:27 - (X) commiting registry
DEBUG 2018-01-29 14:58:27 - (X) shutting down service manager
DEBUG 2018-01-29 14:58:28 - (X) cleaning up temporary directories
DEBUG 2018-01-29 14:58:28 - Exiting with exit code: 2
DEBUG 2018-01-29 14:58:28 - Exception in thread "Thread-41"
DEBUG 2018-01-29 14:58:28 - Flexeraacf$aac: Cannot run program "/usr/bin/sh": CreateProcess error=2, The system cannot find the file specified
DEBUG 2018-01-29 14:58:28 - at Flexeraacf$aaa.run(Unknown Source)
DEBUG 2018-01-29 14:59:05 - FCBatch: Could not run script C:\Users\root/cbe.5120fade161413f148e : Exception in CertifiedBourneExec.doExec(): Died waiting for stdout/stderr pipes.
DEBUG 2018-01-29 14:59:05 - Exception in thread "Thread-42"
DEBUG 2018-01-29 14:59:05 - Flexeraacf$aac: Cannot run program "/usr/bin/sh": CreateProcess error=2, The system cannot find the file specified
DEBUG 2018-01-29 14:59:05 - at Flexeraacf$aaa.run(Unknown Source)
DEBUG 2018-01-29 14:59:43 - FCBatch: Could not run script C:\Users\root/cbe.e89b6a92161413fa6c7 : Exception in CertifiedBourneExec.doExec(): Died waiting for stdout/stderr pipes.
DEBUG 2018-01-29 14:59:43 - cleanUp()
DEBUG 2018-01-29 14:59:43 - calling cleanUpUNIX()
DEBUG 2018-01-29 14:59:43 - Command.run(): Cannot run program "/bin/sh": CreateProcess error=2, The system cannot find the file specified

 

Tried setting up the java environments...but to no avail.

Updated the drivers as well.. 

Tried running the JDK from PTC as well. . But doesn't work.! 

 

Any help would be highly appreciated...

 

Regards,

 

 

 

 

8 replies

15-Moonstone
Jan 29, 2018 1:28 PM UTC

Hi @mkh

 

  • Windows 10 is unsupported even in "Development and Test Systems"
  • Please don't rename your folder source like that "MED-60703-CD-110_M030_Java development kit (JDK) for windchill 11.0" , my own but PTC hate that ( extra space, special character etc.. )
  • Please attach full log

I think the PSI doesn't detect Windows 10, because the first error is UNIX Path

ERROR 2018-01-29 14:58:11 - java.io.IOException: Cannot run program "/usr/local/bin\cscript.exe"

 

Translate
mkh1-VisitorAuthor
1-Visitor
Jan 29, 2018 1:34 PM UTC

Hi @Vincent-Kulak

Thanks for replying. Please find attached the log.

Have renamed just to make things easy and avoid confusion- i have kept the extracted and zipped files in the same place. Have a look: 2018-01-29 19_03_46-WC.png

 

 

Awaiting your reply! 

 

Regards,

Translate
15-Moonstone
Jan 29, 2018 2:14 PM UTC

The running command used by PSI is incorrect

Exemple in my log:

INFO 2017-01-09 14:38:47 - Running: C:\Windows\system32\cscript.exe //E:vbscript etc...

Yours: 

INFO 2018-01-29 14:58:11 - Running: /usr/local/bin\cscript.exe //E:vbscript 

I think this is platform related, You can try same configuration on Virtual machine ( Windows 7/8 )

 

FYI i manage my sources like this:Capture.PNG

 

 

 

Translate
13-Aquamarine
Jan 29, 2018 2:18 PM UTC
Windchill 11.1 is the first release where the installer is able to run in Windows 10. For previous releases you should use Windows 7 for development encironments...

Regards
Translate