<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Manual Installation</title><link>https://forge.codesys.com/tol/codesys-4-linux/home/Manual%2520Installation/</link><description>Recent changes to Manual Installation</description><language>en</language><lastBuildDate>Thu, 11 Oct 2018 18:20:22 -0000</lastBuildDate><atom:link href="https://forge.codesys.com/tol/codesys-4-linux/home/Manual%20Installation/feed" rel="self" type="application/rss+xml"></atom:link><item><title>Manual Installation modified by Ingo</title><link>https://forge.codesys.com/tol/codesys-4-linux/home/Manual%2520Installation/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -1,5 +1,3 @@
-[[img src=codesys.png]]
-
 [TOC]

 With the release of SP13 it is now finally possible to run CODESYS on Wine. The whole procedure is not very straight forward, but still easily possible.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ingo</dc:creator><pubDate>Thu, 11 Oct 2018 18:20:22 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.comad3ecd9df29a33888aee410890dc82fee4a87aec</guid></item><item><title>Home modified by Ingo</title><link>https://forge.codesys.com/tol/codesys-4-linux/home/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,7 +1,73 @@
-Welcome to your wiki!
+[[img src=codesys.png]]

-This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: [SamplePage].
+[TOC]

-The wiki uses [Markdown](/tol/codesys-4-linux/home/markdown_syntax/) syntax.
+With the release of SP13 it is now finally possible to run CODESYS on Wine. The whole procedure is not very straight forward, but still easily possible.

-[[members limit=20]]
+# Get CODESYS SP13 or higher
+You can [download CODESYS](https://store.codesys.com/codesys.html) from the CODESYS store (use 32bit version). You need an account for that, before you can download it, but all is for free.
+
+# Use Development Version of Wine
+At the time of writing this, I needed to install the development version of wine.
+
+~~~
+sudo apt-get install wine64-development cabextract winbind
+~~~
+# Get winetricks
+You will need to download winetricks, which helps you in installing Dot Net, as well as several Visual C++ Runtimes:
+
+~~~
+wget -c https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
+chmod 755 winetricks
+~~~
+
+# Install Prerequisits
+Like already mentioned above, you should install some packages using winetricks. I recommend ot use an own wine directory for that:
+~~~
+WINEPREFIX=~/.wine.codesys ./winetricks vcrun2005 vcrun2008 vcrun2013 vcrun2015 dotnet46
+~~~
+
+# Switch to Win7
+The emulated windows has to be configured to Windows 7. You can do so by using winecfg:
+
+~~~
+WINEPREFIX=~/.wine.codesys winecfg-development
+~~~
+
+# Install CODESYS
+## Run the setup
+~~~
+WINEPREFIX=~/.wine.codesys wine-development ~/Downloads/CODESYS\ 3.5.13.0.exe
+~~~
+
+## Ignore errors for Visual C++ Runtimes
+Just click through the first part of the setup, and always ignore errors, if s.th. could not be installed.
+
+## Don't install Codemeter
+Do not cancel the installer, just deselect every component of the Codemeter Setup, as this will fail.
+
+## Wait for Space Computation
+This is a dialog, which takes a long time. Just wait, it will finish.
+
+## Use Custom Setup
+In the custom setup you should deselect all, except CODESYS itself (no OPC DA, no CODESYS Control Services, ...)
+Codesys Gateway works on 32bit and 64bit edition.
+
+## Add Registry Key
+After the installation finished successfully, you need to add a registry key. Without this, I got an error of wine, saying "The specified user does not have a valid profile".
+~~~
+WINEPREFIX=~/.wine.codesys wine-development reg add "HKLM\\Software\\Microsoft\\Windows NT\\CurrentVersion\\ProfileList\\S-1-5-21-0-0-0-1000"
+~~~
+
+# Start CODESYS
+CODESYS should now be ready to start...
+~~~
+WINEPREFIX=~/.wine.codesys wine-development ~/.wine.codesys/dosdevices/c\:/Program\ Files\ \(x86\)/CODESYS\ 3.5.13.0/CODESYS/Common/CODESYS.exe
+~~~
+
+##Linux RTE online
+You can install the Linux RTE and login with your Codesys IDE to this PLC.
+[[img src=CS35onLinux.PNG]]
+
+##Don't install SVN Plugin
+At the moment do not install the SVN Plugin into codesys, it will break your installation.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ingo</dc:creator><pubDate>Thu, 11 Oct 2018 18:07:33 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com212607ed6925317696cfb1c748973d2a6ef3cdf0</guid></item><item><title>Home modified by Ingo</title><link>https://forge.codesys.com/tol/codesys-4-linux/home/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Welcome to your wiki!&lt;/p&gt;
&lt;p&gt;This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: &lt;span&gt;[SamplePage]&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;The wiki uses &lt;a class="" href="/tol/codesys-4-linux/home/markdown_syntax/"&gt;Markdown&lt;/a&gt; syntax.&lt;/p&gt;
&lt;h6&gt;Project Members:&lt;/h6&gt;
	&lt;ul class="md-users-list"&gt;
		&lt;li&gt;&lt;a href="/u/ingo/"&gt;Ingo&lt;/a&gt; (admin)&lt;/li&gt;&lt;li&gt;&lt;a href="/u/codesys-com/"&gt;codesys.com&lt;/a&gt; (admin)&lt;/li&gt;
		
	&lt;/ul&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ingo</dc:creator><pubDate>Thu, 11 Oct 2018 18:05:26 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com7342ce6d6daecbdb7e18f3864e10983af4fb4667</guid></item></channel></rss>