#8 cForge installation on latest Win10 x64

1.0
closed
2019-01-13
2018-12-30
aliazzz
No

Hi,

It seems that the cForge package does not work correct on my (virtual) x64 devbox. The package itself installs to path "C:\Program Files\CODESYS 3.5.14.0\CODESYS\CFORGE"
However, the setup.bat in that directory will not run correct as it returns;
"Setup cforge"
The system cannot find the file C:\Program Files\CODESYS 3.5.14.0\CODESYS\CFORGE\cforge.exe --setup.
Press any key to continue . . .

Offcourse I tried to edit the path in the .bat file with elevated rights but it had no effect. Also, manually merging the setup.reg seems to work, but when I use the Checkout Function, all seems fine, however after some time the commandline starts to tell me that it cannot find SVN:
[INFO] Executing: C:\Program Files\CODESYS 3.5.14.0\CODESYS\CFORGE\Scripts\checkout.py

*--checkout
https://forge.codesys.com/svn/drv,mega-io,code/
CWD: C:\Users\user\AppData\Local\Chromium\Application\71.0.3578.98
User elevated: False
default case: --checkout

[INFO] Executing: C:\Program Files\CODESYS 3.5.14.0\CODESYS\CFORGE\Scripts\checkout.py

C:\Program Files\CODESYS 3.5.14.0\CODESYS\CFORGE\Scripts\action.svn.checkout.py
running codesys with script C:\Program Files\CODESYS 3.5.14.0\CODESYS\CFORGE\Scripts\action.svn.checkout.py
test
'svn' is not recognized as an internal or external command,
operable program or batch file.
'svn' is not recognized as an internal or external command,
operable program or batch file.
'svn' is not recognized as an internal or external command,
operable program or batch file.
done: 0


cforge finished.
----------------------------------------------------------------------------*

cforge -v returns v1.0.0.0 while the package is version itself is v1.0.0.11

Can you give me some hints on how to correctly activate cForge?

Discussion

  • Ingo

    Ingo - 2018-12-31

    Hi Aliazzz!
    At least the last error message sounds clear to me. Sorry that the prerequisits checks are not good enough, yet. You will need to install a command line SVN client. I usually install Tortoise SVN and check the "add to path"-Option during the installation. But you can also just install the svn tools from somewhere else.
    They just need to be found in the path. You can check that by opening the the windows command line and enter "svn -h". This command should succeed.

    I will try to reproduce your install issue, but need to prepare a 64 Bit VM first...

     
  • aliazzz

    aliazzz - 2018-12-31

    Extra feedback;
    I have had Turtoise SVN installed before I installed the CODESYS cForge & SVN package (!)

    Still, I will check the windows environment variables (paths) and your other tips.

     
  • Ingo

    Ingo - 2018-12-31

    OK, and sadly I was not able to reproduce the issue. I used SP14 64Bit on a Win10 VM from here. Everything worked. Except, that the package download in IE was a bit anoying. It always renamed my package to *.zip ;)

    BTW: I didn't need to change the Setup.bat. It doesn't contain any path information. What did you change there?

     
  • aliazzz

    aliazzz - 2018-12-31

    I added the "full path to cForge between quotes" in the bat file, which should be seen by windows as a valid path. The quotes are mandatory because the full path contains spaces.

    I think the problem lies in admin rights or so?

     

    Last edit: aliazzz 2018-12-31
  • aliazzz

    aliazzz - 2019-01-04

    I found the issue on my devbox: Turtoise SVN cmd tools were not installed, which your tool uses, as you said: "You will need to install a command line SVN client."

    I have added a screenshot of the mandatory selection in svn installer.

     

    Last edit: aliazzz 2019-01-04
  • aliazzz

    aliazzz - 2019-01-04

    This issue is resolved, this ticket can be closed.

     

    Last edit: aliazzz 2019-01-05
  • Ingo

    Ingo - 2019-01-13
    • status: open --> closed
     
  • Ingo

    Ingo - 2019-01-13

    I added the hint with TortoiseSVN to the prerequisits.

     

Log in to post a comment.