Eplan 2.5.4 installation procedure (UPDATED 12/21/2016)

обсуждение прочих программных продуктов:
Тools, Elcad, Eplan, ...
Post Reply
x_ray
Posts: 2
Joined: Wed Nov 02, 2016 10:01 pm

Eplan 2.5.4 installation procedure (UPDATED 12/21/2016)

Post by x_ray » Wed Nov 02, 2016 10:08 pm

This information was gathered from other posts on this forum and improved.


*** Eplan 2.5.4 installation procedure for experts ***

----------------------------------------------------------------------------------------------------------------------------------------
Enter the BIOS settings. Enable Other operating system support in UEFI bios, and enable the compatibility device booting.
In other words, avoid the UEFI boot procedure. Test your Windows or Linux system by rebooting a few times.
----------------------------------------------------------------------------------------------------------------------------------------


1. Power up your Windows 10 x64.


2. Run UAC from the Search and Disable UAC in Windows 10 to perform installation.


3. Right-click the Command prompt icon, and then click Run as administrator. In other words, run the command prompt with
administrator rights (privileges) and execute these commands for additional compatibility:
bcdedit -set TESTSIGNING ON
bcdedit -set loadoptions DDISABLE_INTEGRITY_CHECKS
bcdedit /set nointegritychecks ON

Execute these commands to enable the F8 boot menu (where you can disable the Driver Signing Enforcement):
bcdedit /set {bootmgr} displaybootmenu yes
bcdedit /set {current} bootmenupolicy Legacy

If the last command does not give you the option to press F8 at boot time, read more about the procedure at
http://www.tenforums.com/tutorials/2245 ... -10-a.html

Execute this command to set the time during which you can use the boot menu option (12 seconds):
bcdedit /timeout 12

Read more at http://www.tenforums.com/tutorials/2115 ... -10-a.html


4. Exit the command prompt and reboot.


5. Now, you can press F8 to enter the boot menu during the few seconds when the Windows 10 is starting up,
and manually disable the Driver Signing Enforcement each time you turn on the computer.
YOU NEED TO DO THIS EVERY TIME YOU START WINDOWS!


----------------------------------------------------------------------------------------------------------------------------------------
Learn another optional way to disable the driver signing enforcement.
Press SHIFT + left click on Restart in Windows 10 to go to the Troubleshooting options, Advanced options... and finally,
to the Startup settings. Restart Windows and press 7 when prompted to disable the driver signing enforcement.
YOU NEED TO KEEP THE DRIVER SIGNING ENFORCEMENT DISABLED AT ALL TIMES!
For images, see: https://www.lifewire.com/how-to-access- ... -8-2626229
----------------------------------------------------------------------------------------------------------------------------------------


*** DOWNLOAD LINKS ***

** Essential **

Eplan 2.5.4 setup package + OLD Crack in English: https://cloud.mail.ru/public/48mt/2iE4wGocb

Eplan Electric P8 2.5.4.9380.rar

The NEW Chinese crack (three archives are found here): http://eplan-eb2.ys168.com/

Patch EPLAN P8.7z
如何自己生成防卡补丁.rar == How to generate anti-card patch.rar
EPLAN 的破解和防破解建议.rar == EPLAN crack and anti-crack solution.rar

** Other **

The signed version of MultiKey64 driver is available at https://mega.nz/#!BZ1V1TAK!Un9OitK-tT4_ ... KTX3Hutypg

The experimental USB dongle driver MKBUS 18.2.5 can be downloaded here: http://www63.zippyshare.com/v/a5LnJhfR/file.html


6. Download with http://www.freedownloadmanager.org, unpack with http://www.7-zip.org/download.html


7. Now that you are in Windows again, disable the internet. Ideally, if you know how to do it, leave the network adapter and
the network ON, but block the access to the outside world.


8. Install EPLAN by running Setup. Uncheck the option for online help and select the local help, as well as the use of millimeters
as the units of measurement.


9. Run the command prompt with administrator rights, and change the current directory to the installation folder.
First, change to the appropriate drive such as C:, then change directory by executing
cd Patch EPLAN P8
This is the folder that is unpacked from the "Patch EPLAN P8.7z" archive.

----------------------------------------------------------------------------------------------------------------------------------------
In case you are installing from a network path, execute:
net use \\path\
pushd \\path\
Now you can switch to Z: or whatever the name of the drive that has appeared is, and change the directory accordingly.
----------------------------------------------------------------------------------------------------------------------------------------

Presumably, you are in the folder Patch EPLAN P8
Execute the following program:
HASPUserSetup


// OLD INSTRUCTIONS -------------------------------------------------------
Open the command prompt with administrator rights and execute the following commands.
Go to the folder \eplan\Electric P8 2.5.4.9380\ELM\Services (x64)\Drivers
cd \eplan\Electric P8 2.5.4.9380\ELM\Services (x64)\Drivers
haspdinst.exe -install
// OLD INSTRUCTIONS -------------------------------------------------------


In the case of any errors, consider killing the task (process) that is stalling the installation, try shutting down the
windows service (background program) that is preventing the installation, and try uninstalling any offending program.
For this purpose, you can use CTRL+ALT+DEL to open the Task Manager, right-click on My Computer and then click on
Manage -> Services, and you can visit Control Panel\Programs\Programs and Features for each problem.

Reboot after the installation, but each time you have to manually disable the driver signing enforcement
from the Windows boot menu!


11. In the following step, you need to install the USB emulator driver (dongle emulator).
You can use the MultiKey64 from Patch EPLAN P8 folder, or the signed version of this driver from
"Virtual USB Multikey Dongle 64bit driver - Signed by Leshcatlabs.rar" or, you can scroll down and see
the EXPERIMENTAL section for the instructions for MKbus driver.

However, it seems that in all these cases you need to disable the driver signing enforcement each time you boot!

Run the command prompt as administrator. Go to the Patch EPLAN P8\MultiKey64 folder. If you want the SIGNED DRIVER,
you need to copy the files from "Virtual USB Multikey Dongle 64bit driver - Signed by Leshcatlabs.rar" to this folder.

Execute the driver installation script:
install.cmd

Note that in this folder you can also find the remove.cmd script.

Reboot again and don't forget that you need to manually disable the driver signing enforcement each time you boot!


----------------------------------------------------------------------------------------------------------------------------------------
*** Driver test ***

Open the Device Manager and look for System devices -> Virtual USB Multikey. It should have its own icon and be enabled.
Alternatively, it could be represented as an "Unknown device", or its icon could indicate the disabled state (red),
or inactive state (yellow). The inactive state is due to the driver blocking or the incomplete driver installation.
----------------------------------------------------------------------------------------------------------------------------------------


12. Copy the license file SN-U10066.EGF from Patch EPLAN P8 folder to the folder
C:\Users\Public\Eplan\Common\

If the license dissapears over time, repeat this step.


13. Double-click to merge (import) the registry files in the folder Patch EPLAN P8

EPLAN 2.6 1-2.reg
EPLAN 2.6 2-2.reg



14. Run the following program: Patch EPLAN P8\version.dll Creator\PYG_DLL_Patcher_x64.exe as administrator
with the right click.

If you see Chinese language, go to the lower right corner of the program and click on the drop-down menu (中文) to select
English language. The help file is in folder 如何自己生成防卡补丁 from archive 如何自己生成防卡补丁.rar

Click on the Load icon and select the Eplan settings \eplan\crack\如何自己生成防卡补丁\eplan 2.5.xml
If needed, find and select the location of EPLAN.exe program by clicking the Open icon.

Click on Build icon. Exit the program when you finish the build process. Find the file
\Patch EPLAN P8\version.dll Creator\EPLAN\version.dll
and copy it to
C:\Program Files\EPLAN\Platform\2.5.4\Bin

Reboot and don't forget that you always need to manually disable the driver signing enforcement!


15. Start EPLAN.

You may encounter an error: Computer HOST ID cannot be determined. In this case, you need to enable the network/internet
before you start the EPLAN, so that your computer could obtain a Host name on the network.

The dongle key verification step is now required: it will work if the driver signing enforcement is disabled and the Virtual USB driver
functions well (MultiKey64). Usually, this is not the case: the driver is not installed properly or does not function at that time.

EPLAN requires the firewall to be opened. You can select to disable its access to internet. Later, you can edit the firewall rules
to disable the access of those programs that asked for the unrestricted internet access (the total of 3 programs are found among
the inbound rules). Edit those firewall rules before running EPLAN and enabling the internet in full.


*** WARNING ***

Do not use the ReadyDriver Plus v1.2 tool (https://uhlik.sk/?page=swreadydriver) that automates the process of disabling the driver
signing enforcement on the old versions of Windows. This tool is unfinished and can make any Windows unbootable. You would need to
prepare the installation DVD of Windows to repair the booting sequence if you use that tool. However, if you repair the booting, this
tool will work - tested in Windows 7.


*** NOTES ***

1. You should also have the Microsoft Office 64-bit installed for some of the functions of EPLAN.

2. When you open and edit projects, they become usable only on the latest 2.x version of EPLAN.
You won't be able to edit them later on the old 1.x versions of EPLAN.


*** EXPERIMENTAL ***

The experimental dongle driver MKBUS 18.2.5 can be downloaded here: http://www63.zippyshare.com/v/a5LnJhfR/file.html
The "Download" link opens several pages of advertisments when you click it several times, but then it begins to work.
You do not need to install it. If you want to research it, you need to edit the Registry settings for this driver
to enter the dongle license information. BE VERY CAREFUL.


1. Uninstall the old Virtual USB Multikey64 Driver by running this script in the command prompt as administrator
Patch EPLAN P8\MultiKey64\remove.cmd

Eplan will not function anymore until you install the new driver.

Reboot.


2. Edit the MKBUS 18.2.5 Installation Script \MKbus18.2.5\Mkbus\Emul\64\_before.cmd
The script contents are below. Copy-paste them and overwrite all the preexisting contents.

Code: Select all

@ECHO OFF

ECHO User Account Control (UAC) and TESTSIGNING ON automation script
ECHO.
ECHO.
ECHO This batch script set requirements for success install
ECHO unsigned drivers (like dongle emulators) on Microsoft x64 OS.
ECHO Required for Windows Vista x64, Windows 7 x64, Windows 8 x64
ECHO and Windows 10 x64.
ECHO.
ECHO YOU MUST RUN THIS SCRIPT AS ADMINISTRATOR
ECHO.
ECHO USAGE: Right click on script "Run as administrator"
ECHO.
ECHO Press any key to continue execution or Ctrl+C to stop
ECHO.
pause

set BCDCL32=%windir%\Sysnative\bcdedit.exe
set BCDCL64=%windir%\system32\bcdedit.exe

cd /d "%~dp0"

if "%PROCESSOR_ARCHITEW6432%"=="" goto fNative
set BCDCLWORK=%BCDCL32%
goto fMain

:fNative
set BCDCLWORK=%BCDCL64%

:fMain
ECHO.
ECHO BCDEdit.exe path is %BCDCLWORK%
if not exist %BCDCLWORK% goto NotFound

ECHO.
ECHO Get backup of changed registry keys...
REG EXPORT HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\DriverSearching Backup1.reg
REG EXPORT HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System Backup0.reg

ECHO.
ECHO Device Installation Settings...
REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\DriverSearching" /v SearchOrderConfig /t reg_dword /d 0 /f 

ECHO.
ECHO User Account Control (UAC) settings...
REM REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v ConsentPromptBehaviorUser /t reg_dword /d 3 /f 

REM Windows 10
REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v ConsentPromptBehaviorAdmin /t reg_dword /d 0 /f 
REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v EnableLUA /t reg_dword /d 0 /f 
REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v PromptOnSecureDesktop /t reg_dword /d 0 /f 

ECHO.
ECHO Change testsigning settings...

REM This enable testsigning...
%BCDCLWORK% -set TESTSIGNING ON

REM This disable testsigning...
REM %BCDCLWORK% -set TESTSIGNING OFF

REM Compatibility
%BCDCLWORK% -set loadoptions DDISABLE_INTEGRITY_CHECKS
%BCDCLWORK% /set nointegritychecks ON

REM Disable F8 menu during boot
%BCDCLWORK% /set {bootmgr} displaybootmenu yes
%BCDCLWORK% /set {current} bootmenupolicy Legacy
%BCDCLWORK% /timeout 12

REM Disable F8 menu during boot
REM %BCDCLWORK% /set {bootmgr} displaybootmenu no
REM %BCDCLWORK% /set {current} bootmenupolicy Standard

ECHO Show Boot Configuration Data (BCD) info...
%BCDCLWORK%

goto aExit

:NotFound
ECHO.
ECHO BCDEdit.exe not found on system. No changes made to system!!!
goto fExit

:aExit
ECHO.
ECHO Please restart computer to apply new settings!!!

:fExit
ECHO.
pause
Then, run from the command prompt as administrator:
\MKbus18.2.5\Mkbus\Emul\64\_before.cmd

Reboot.


3. Edit the file \MKbus18.2.5\Mkbus\Emul\64\Keys and put just this content

Code: Select all

REGEDIT4
[-HKEY_LOCAL_MACHINE\System\CurrentControlSet\Mkbus]
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Mkbus\00005189]
"Name"="EPLAN P8"
"Copyright"="EPLAN"
"Created"="31082016"
"DongleType"=dword:00000002
"ID"=dword:87654321
"withMemory"=dword:00000001
"Seed1" =dword:0000D5C2
"Seed2" =dword:000060DE
"Seed3" =dword:0000C7A1
"HlkMemory"=hex:\
00,00,57,55,50,30,55,31,30,30,36,36,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
45,50,4C,41,4E,00,53,6F,66,74,77,61,72,65,00,26,\
00,53,65,72,76,69,63,65,00,47,6D,62,48,00,26,00,\
43,6F,2E,00,4B,47,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,04,A7	
Run the command prompt as administrator, and execute this script:
MKbus18.2.5\Mkbus\Emul\64\_install.cmd

Reboot.


4. Check that the Device manager contains USB MKbus driver in the System devices section and that all drivers are correctly installed.
Do not forget to manually disable the Driver Signing Enforcement each time you turn on the computer.


8. Start Eplan.


----------------------------------------------------------------------------------------------------------------------------------------

*** OTHER TOPICS ***

If you run your Windows inside the VMware virtual machine and your Shared Folders unexpectedly stop working, create a
repair.reg file with the following textual content. This registry file can be imported (merged) then with a double-click.

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkProvider\Order]
"ProviderOrder"="vmhgfs,LanmanWorkstation,RDPNP,webclient"

Last edited by x_ray on Tue Mar 21, 2017 4:35 am, edited 22 times in total.

duckman
Posts: 35
Joined: Wed Sep 25, 2013 1:22 am

Re: Eplan 2.5.4 installation procedure

Post by duckman » Thu Nov 03, 2016 8:25 pm

Well done x-ray for putting in the time and effort to help others, l haven't tried your method, but wait and in a short time someone will ask you to do a step by step tutorial on what you have just done, which is a step by step guide, just wait.

cybernight
Posts: 7
Joined: Fri Mar 11, 2016 11:13 pm

Re: Eplan 2.5.4 installation procedure (UPDATED 11/11/2016)

Post by cybernight » Fri Nov 11, 2016 3:51 pm

There is no need to do steps 1 to 5, you already have signed drivers you can use

Virtual USB Multikey Dongle 64bit driver - Signed by Leshcatlabs.rar
https://mega.nz/#!BZ1V1TAK!Un9OitK-tT4_ ... KTX3Hutypg

x_ray
Posts: 2
Joined: Wed Nov 02, 2016 10:01 pm

Re: Eplan 2.5.4 installation procedure (UPDATED 11/11/2016)

Post by x_ray » Fri Nov 11, 2016 9:10 pm

cybernight wrote:There is no need to do steps 1 to 5, you already have signed drivers you can use

Virtual USB Multikey Dongle 64bit driver - Signed by Leshcatlabs.rar
https://mega.nz/#!BZ1V1TAK!Un9OitK-tT4_ ... KTX3Hutypg
Thank you very much.

I added new information about the MKbus driver. Maybe you would like to try the MKbus driver procedure or try to sign the MKbus driver if necessary.

Post Reply