Jump to content











Photo
- - - - -

Script EASEUS Partition Manager 3.x & 4.x Home Edition (freeware)


  • Please log in to reply
55 replies to this topic

#1 Dave7

Dave7

    Frequent Member

  • Advanced user
  • 210 posts
  •  
    United States

Posted 17 October 2008 - 09:57 PM

Hi all,

Version 3.0 has been released. I updated the script accordingly.

More info about this tool: http://www.partition...om/personal.htm


The script can be downloaded from Lancelot's server:
EASEUS_Partition_Manager_3x
EASEUS_Partition_Manager_2x

Cheers,
Dave

Edit Lancelot:
EASEUS_Partition_Manager_4 script is available at post 52 of current topic (Thanks billonious :confused1: )

#2 billonious

billonious

    Silver Member

  • .script developer
  • 528 posts
  • Location:greezeland
  • Interests:curiosity

Posted 17 October 2008 - 10:30 PM

strange... it worked for me in livexp.


use my script and tell me about results

#3 Dave7

Dave7

    Frequent Member

  • Advanced user
  • 210 posts
  •  
    United States

Posted 17 October 2008 - 10:59 PM

Thanks for the script!

strange... it worked for me in livexp.

Just to clarify, did you mean the 2.0 script worked in livexp? Or your script with version 1.6?

Cheers, Dave

#4 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 17 October 2008 - 11:12 PM

billonious

in my trial script didnt work with livexp

DaveXP

why not use paragon partition manager 8.0 which is already in livexp ?

#5 Dave7

Dave7

    Frequent Member

  • Advanced user
  • 210 posts
  •  
    United States

Posted 17 October 2008 - 11:49 PM

Lancelot, teşekkürler. I will also try "paragon partition manager 8.0".

Of course I would be still interested to make the other script work. In the meantime I figured out a bit more. The setup program also create the following entries (Imagepath is "\??\C:\Windows\system32\epmntdrv.sys" or "\??\C:\Windows\system32\EuGdDrv.sys" respectively).

I could add RegWrite statements to the script, but I don't think that would be the proper way (there are no permissions to add the keys in "Root" anyway)

Any ideas?

Cheers, Dave


Windows Registry Editor Version 5.00



[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\epmntdrv]

"Type"=dword:00000001

"Start"=dword:00000003

"ErrorControl"=dword:00000001

"ImagePath"=hex(2):5c,00,3f,00,3f,00,5c,00,43,00,3a,00,5c,00,57,00,69,00,6e,00,\

  64,00,6f,00,77,00,73,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,\

  00,5c,00,65,00,70,00,6d,00,6e,00,74,00,64,00,72,00,76,00,2e,00,73,00,79,00,\

  73,00,00,00

"DisplayName"="epmntdrv"



[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\epmntdrv\Enum]

"0"="Root\\LEGACY_EPMNTDRV\\0000"

"Count"=dword:00000001

"NextInstance"=dword:00000001



[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_EPMNTDRV]

"NextInstance"=dword:00000001



[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_EPMNTDRV\0000]

"Service"="epmntdrv"

"Legacy"=dword:00000001

"ConfigFlags"=dword:00000000

"Class"="LegacyDriver"

"ClassGUID"="{8ECC055D-047F-11D1-A537-0000F8753ED1}"

"DeviceDesc"="epmntdrv"



[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_EPMNTDRV\0000\Control]

"*NewlyCreated*"=dword:00000000

"ActiveService"="epmntdrv"







[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EuGdiDrv]

"Type"=dword:00000001

"Start"=dword:00000003

"ErrorControl"=dword:00000001

"ImagePath"=hex(2):5c,00,3f,00,3f,00,5c,00,43,00,3a,00,5c,00,57,00,69,00,6e,00,\

  64,00,6f,00,77,00,73,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,\

  00,5c,00,45,00,75,00,47,00,64,00,69,00,44,00,72,00,76,00,2e,00,73,00,79,00,\

  73,00,00,00

"DisplayName"="EuGdiDrv"



[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EuGdiDrv\Enum]

"0"="Root\\LEGACY_EUGDIDRV\\0000"

"Count"=dword:00000001

"NextInstance"=dword:00000001







[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_EUGDIDRV]

"NextInstance"=dword:00000001



[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_EUGDIDRV\0000]

"Service"="EuGdiDrv"

"Legacy"=dword:00000001

"ConfigFlags"=dword:00000000

"Class"="LegacyDriver"

"ClassGUID"="{8ECC055D-047F-11D1-A537-0000F8753ED1}"

"DeviceDesc"="EuGdiDrv"

"Capabilities"=dword:00000000



[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_EUGDIDRV\0000\Control]

"*NewlyCreated*"=dword:00000000

"ActiveService"="EuGdiDrv"


#6 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 17 October 2008 - 11:58 PM

use paraglider's wonderful convreg utiltiy to convert .reg files to .script
http://www.boot-land...?showtopic=5467

Some script advices:
ShellExecute,Hide,"XCOPY","#$q%FBox_Source%\*.*#$q #$q%TargetDir%\%WorkDir%\EASEUS_PM#$q /e /y"
You dont need to use xcopy, there is already filecopy command in wb
( http://winbuilder.ne...ipt_syntax.html )

FileCopy,"C:\Windows\System32\Device.dll","%TargetDir%\i386\system32"
Try to avoid getting files from hostos, you can get unwanted results when hostos is other than xp32 (ex: xp64, win2000, vista...)
if you have to take files from hostos, use a "gather files" option on script and gather files to a folder, (look some scripts that have gather files option: example: acronis dd10)

For now better is making billonious script work.

good luck :confused1:

#7 Galapo

Galapo

    Platinum Member

  • .script developer
  • 3841 posts
  •  
    Australia

Posted 18 October 2008 - 12:01 AM

Any ideas?

Sure:
Hive_Load,HKLMEcho,"Writing new values on registry hive.."reg_add,0x4,"%reg%\ControlSet001\Services\epmntdrv","Type","1"reg_add,0x4,"%reg%\ControlSet001\Services\epmntdrv","Start","3"reg_add,0x4,"%reg%\ControlSet001\Services\epmntdrv","ErrorControl","1"reg_add,0x2,"%reg%\ControlSet001\Services\epmntdrv","ImagePath","system32\epmntdrv.sys"reg_add,0x1,"%reg%\ControlSet001\Services\epmntdrv","DisplayName","epmntdrv"reg_add,0x1,"%reg%\ControlSet001\Services\epmntdrv\Enum","0","Root\LEGACY_EPMNTDRV\0000"reg_add,0x4,"%reg%\ControlSet001\Services\epmntdrv\Enum","Count","1"reg_add,0x4,"%reg%\ControlSet001\Services\epmntdrv\Enum","NextInstance","1"reg_add,0x4,"%reg%\ControlSet001\Enum\Root\LEGACY_EPMNTDRV","NextInstance","1"reg_add,0x1,"%reg%\ControlSet001\Enum\Root\LEGACY_EPMNTDRV\0000","Service","epmntdrv"reg_add,0x4,"%reg%\ControlSet001\Enum\Root\LEGACY_EPMNTDRV\0000","Legacy","1"reg_add,0x4,"%reg%\ControlSet001\Enum\Root\LEGACY_EPMNTDRV\0000","ConfigFlags","0"reg_add,0x1,"%reg%\ControlSet001\Enum\Root\LEGACY_EPMNTDRV\0000","Class","LegacyDriver"reg_add,0x1,"%reg%\ControlSet001\Enum\Root\LEGACY_EPMNTDRV\0000","ClassGUID","{8ECC055D-047F-11D1-A537-0000F8753ED1}"reg_add,0x1,"%reg%\ControlSet001\Enum\Root\LEGACY_EPMNTDRV\0000","DeviceDesc","epmntdrv"reg_add,0x4,"%reg%\ControlSet001\Enum\Root\LEGACY_EPMNTDRV\0000\Control","*NewlyCreated*","0"reg_add,0x1,"%reg%\ControlSet001\Enum\Root\LEGACY_EPMNTDRV\0000\Control","ActiveService","epmntdrv"reg_add,0x4,"%reg%\ControlSet001\Services\EuGdiDrv","Type","1"reg_add,0x4,"%reg%\ControlSet001\Services\EuGdiDrv","Start","3"reg_add,0x4,"%reg%\ControlSet001\Services\EuGdiDrv","ErrorControl","1"reg_add,0x2,"%reg%\ControlSet001\Services\EuGdiDrv","ImagePath","system32\EuGdiDrv.sys"reg_add,0x1,"%reg%\ControlSet001\Services\EuGdiDrv","DisplayName","EuGdiDrv"reg_add,0x1,"%reg%\ControlSet001\Services\EuGdiDrv\Enum","0","Root\LEGACY_EUGDIDRV\0000"reg_add,0x4,"%reg%\ControlSet001\Services\EuGdiDrv\Enum","Count","1"reg_add,0x4,"%reg%\ControlSet001\Services\EuGdiDrv\Enum","NextInstance","1"reg_add,0x4,"%reg%\ControlSet001\Enum\Root\LEGACY_EUGDIDRV","NextInstance","1"reg_add,0x1,"%reg%\ControlSet001\Enum\Root\LEGACY_EUGDIDRV\0000","Service","EuGdiDrv"reg_add,0x4,"%reg%\ControlSet001\Enum\Root\LEGACY_EUGDIDRV\0000","Legacy","1"reg_add,0x4,"%reg%\ControlSet001\Enum\Root\LEGACY_EUGDIDRV\0000","ConfigFlags","0"reg_add,0x1,"%reg%\ControlSet001\Enum\Root\LEGACY_EUGDIDRV\0000","Class","LegacyDriver"reg_add,0x1,"%reg%\ControlSet001\Enum\Root\LEGACY_EUGDIDRV\0000","ClassGUID","{8ECC055D-047F-11D1-A537-0000F8753ED1}"reg_add,0x1,"%reg%\ControlSet001\Enum\Root\LEGACY_EUGDIDRV\0000","DeviceDesc","EuGdiDrv"reg_add,0x4,"%reg%\ControlSet001\Enum\Root\LEGACY_EUGDIDRV\0000","Capabilities","0"reg_add,0x4,"%reg%\ControlSet001\Enum\Root\LEGACY_EUGDIDRV\0000\Control","*NewlyCreated*","0"reg_add,0x1,"%reg%\ControlSet001\Enum\Root\LEGACY_EUGDIDRV\0000\Control","ActiveService","EuGdiDrv"Hive_Unload,HKLM

Regards,
Galapo.

#8 billonious

billonious

    Silver Member

  • .script developer
  • 528 posts
  • Location:greezeland
  • Interests:curiosity

Posted 18 October 2008 - 07:39 AM

old version 1.6 still works. I have just tested. But the new version 2 nooooop.

I installed v.2. I copied program files on desktop & backup registry changes. I uninstalled program. I run it as portable from desktop and it doesnot show hard disks.

#9 pecd.net

pecd.net

    Silver Member

  • .script developer
  • 947 posts
  •  
    Germany

Posted 18 October 2008 - 07:49 AM

the script lines from galapo together with copying the file epmntdrv.sys to windows\system32 make the new version work fine...

#10 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 18 October 2008 - 08:18 AM

use paraglider's wonderful convreg utiltiy to convert .reg files to .script

... or my also wunderful tool Reg2WBS ...

reg2WBS.gif

v/Ei7tCBWD8Mc

Peter

#11 billonious

billonious

    Silver Member

  • .script developer
  • 528 posts
  • Location:greezeland
  • Interests:curiosity

Posted 18 October 2008 - 09:00 AM

Sure:

Hive_Load,HKLMEcho,"Writing new values on registry hive.."reg_add,0x4,"%reg%\ControlSet001\Services\epmntdrv","Type","1"reg_add,0x4,"%reg%\ControlSet001\Services\epmntdrv","Start","3"reg_add,0x4,"%reg%\ControlSet001\Services\epmntdrv","ErrorControl","1"reg_add,0x2,"%reg%\ControlSet001\Services\epmntdrv","ImagePath","system32\epmntdrv.sys"reg_add,0x1,"%reg%\ControlSet001\Services\epmntdrv","DisplayName","epmntdrv"reg_add,0x1,"%reg%\ControlSet001\Services\epmntdrv\Enum","0","Root\LEGACY_EPMNTDRV\0000"reg_add,0x4,"%reg%\ControlSet001\Services\epmntdrv\Enum","Count","1"reg_add,0x4,"%reg%\ControlSet001\Services\epmntdrv\Enum","NextInstance","1"reg_add,0x4,"%reg%\ControlSet001\Enum\Root\LEGACY_EPMNTDRV","NextInstance","1"reg_add,0x1,"%reg%\ControlSet001\Enum\Root\LEGACY_EPMNTDRV\0000","Service","epmntdrv"reg_add,0x4,"%reg%\ControlSet001\Enum\Root\LEGACY_EPMNTDRV\0000","Legacy","1"reg_add,0x4,"%reg%\ControlSet001\Enum\Root\LEGACY_EPMNTDRV\0000","ConfigFlags","0"reg_add,0x1,"%reg%\ControlSet001\Enum\Root\LEGACY_EPMNTDRV\0000","Class","LegacyDriver"reg_add,0x1,"%reg%\ControlSet001\Enum\Root\LEGACY_EPMNTDRV\0000","ClassGUID","{8ECC055D-047F-11D1-A537-0000F8753ED1}"reg_add,0x1,"%reg%\ControlSet001\Enum\Root\LEGACY_EPMNTDRV\0000","DeviceDesc","epmntdrv"reg_add,0x4,"%reg%\ControlSet001\Enum\Root\LEGACY_EPMNTDRV\0000\Control","*NewlyCreated*","0"reg_add,0x1,"%reg%\ControlSet001\Enum\Root\LEGACY_EPMNTDRV\0000\Control","ActiveService","epmntdrv"reg_add,0x4,"%reg%\ControlSet001\Services\EuGdiDrv","Type","1"reg_add,0x4,"%reg%\ControlSet001\Services\EuGdiDrv","Start","3"reg_add,0x4,"%reg%\ControlSet001\Services\EuGdiDrv","ErrorControl","1"reg_add,0x2,"%reg%\ControlSet001\Services\EuGdiDrv","ImagePath","system32\EuGdiDrv.sys"reg_add,0x1,"%reg%\ControlSet001\Services\EuGdiDrv","DisplayName","EuGdiDrv"reg_add,0x1,"%reg%\ControlSet001\Services\EuGdiDrv\Enum","0","Root\LEGACY_EUGDIDRV\0000"reg_add,0x4,"%reg%\ControlSet001\Services\EuGdiDrv\Enum","Count","1"reg_add,0x4,"%reg%\ControlSet001\Services\EuGdiDrv\Enum","NextInstance","1"reg_add,0x4,"%reg%\ControlSet001\Enum\Root\LEGACY_EUGDIDRV","NextInstance","1"reg_add,0x1,"%reg%\ControlSet001\Enum\Root\LEGACY_EUGDIDRV\0000","Service","EuGdiDrv"reg_add,0x4,"%reg%\ControlSet001\Enum\Root\LEGACY_EUGDIDRV\0000","Legacy","1"reg_add,0x4,"%reg%\ControlSet001\Enum\Root\LEGACY_EUGDIDRV\0000","ConfigFlags","0"reg_add,0x1,"%reg%\ControlSet001\Enum\Root\LEGACY_EUGDIDRV\0000","Class","LegacyDriver"reg_add,0x1,"%reg%\ControlSet001\Enum\Root\LEGACY_EUGDIDRV\0000","ClassGUID","{8ECC055D-047F-11D1-A537-0000F8753ED1}"reg_add,0x1,"%reg%\ControlSet001\Enum\Root\LEGACY_EUGDIDRV\0000","DeviceDesc","EuGdiDrv"reg_add,0x4,"%reg%\ControlSet001\Enum\Root\LEGACY_EUGDIDRV\0000","Capabilities","0"reg_add,0x4,"%reg%\ControlSet001\Enum\Root\LEGACY_EUGDIDRV\0000\Control","*NewlyCreated*","0"reg_add,0x1,"%reg%\ControlSet001\Enum\Root\LEGACY_EUGDIDRV\0000\Control","ActiveService","EuGdiDrv"Hive_Unload,HKLM
Regards,Galapo.

Ahaa, so, the CurrentControlSet entries have to be replaced with ControlSet001 entries

#12 pecd.net

pecd.net

    Silver Member

  • .script developer
  • 947 posts
  •  
    Germany

Posted 18 October 2008 - 09:17 AM

well the script does not work in the current version as many file and folder names changed and there are some other files that need to be copied to windows\system32...i tried from hand and it works fine (when all files are copied right and the registry is set)

#13 Dave7

Dave7

    Frequent Member

  • Advanced user
  • 210 posts
  •  
    United States

Posted 18 October 2008 - 09:36 AM

Ctmag,

I updated the script a bit, but it still doesn't work :confused1:

What other files do you need to copy?

in order to verify that your manual steps work, you should execute "...\System32\setupempdrv03.exe -uninstall" first.

Cheers,
Dave

#14 pecd.net

pecd.net

    Silver Member

  • .script developer
  • 947 posts
  •  
    Germany

Posted 18 October 2008 - 10:15 AM

[Variables]

%ProgramEXE%=bin\epm0.exe

%ProgramFolder%="EASEUS Partition Manager Personal"

%ProgramTitle%=%TBoxTitle%

%TmpFolder%=%basedir%\Temp\%ProjectName%\EASESUS



[Process]

RunFromRam,False

If,NotExistFile,"%TmpFolder%\{app}\bin\epm0.exe",Run,%ScriptFile%,Download

DirMake,"%targetdir%\Program Files\%ProgramFolder%"

DirCopy,"%TmpFolder%\{app}\bin","%targetdir%\Program Files\%ProgramFolder%"

DirCopy,"%TmpFolder%\{app}\etc","%targetdir%\Program Files\%ProgramFolder%"

DirCopy,"%TmpFolder%\{app}\lib","%targetdir%\Program Files\%ProgramFolder%"

DirCopy,"%TmpFolder%\{app}\res","%targetdir%\Program Files\%ProgramFolder%"

DirCopy,"%TmpFolder%\{app}\share","%targetdir%\Program Files\%ProgramFolder%"

DirCopy,"%TmpFolder%\{win}\system32","%targetdir%\Windows"

Run,%ScriptFile%,Registry

If,%CheckBoxSM%,Equal,True,Add_Shortcut,StartMenu,%TBoxFolder%

If,%CheckBoxDE%,Equal,True,Add_Shortcut,Desktop

If,%CheckBoxQL%,Equal,True,Add_Shortcut,QuickLaunch



[Download]

DirMake,"%TmpFolder%"

WebGetIfNotExist,"http://www.easeus-software.com/download/epm.exe","%TmpFolder%\epm.exe"

ExtractAllFiles,"%ScriptFile%","Folder","%TmpFolder%"

ShellExecute,Hide,#$q%TmpFolder%\innounp.exe#$q," -x -b -d#$q%TmpFolder%#$q #$q%TmpFolder%\epm.exe#$q"

FileDelete,"%TmpFolder%\epm.exe"

FileDelete,"%TmpFolder%\install_script.iss"

FileDelete,"%TmpFolder%\innounp.exe"

FileDelete,"%TmpFolder%\innounp.htm"

FileDelete,"%TmpFolder%\{win}\system32\setupempdrv03#$c2.exe"

FileDelete,"%TmpFolder%\{win}\system32\eugdidrv#$c2.sys"

FileDelete,"%TmpFolder%\{win}\system32\epmntdrv#$c2.sys"

FileDelete,"%TmpFolder%\{win}\system32\epmntdrv#$c3.sys"

FileRename,"%TmpFolder%\{win}\system32\setupempdrv03#$c1.exe","%TmpFolder%\{win}\system32\setupempdrv03.exe"

FileRename,"%TmpFolder%\{win}\system32\eugdidrv#$c1.sys","%TmpFolder%\{win}\system32\eugdidrv.sys"

FileRename,"%TmpFolder%\{win}\system32\epmntdrv#$c1.sys","%TmpFolder%\{win}\system32\epmntdrv.sys"



[Registry]

Hive_Load,HKLM

Echo,"Writing new values on registry hive.."

reg_add,0x4,"%reg%\ControlSet001\Services\epmntdrv","Type","1"

reg_add,0x4,"%reg%\ControlSet001\Services\epmntdrv","Start","3"

reg_add,0x4,"%reg%\ControlSet001\Services\epmntdrv","ErrorControl","1"

reg_add,0x2,"%reg%\ControlSet001\Services\epmntdrv","ImagePath","system32\epmntdrv.sys"

reg_add,0x1,"%reg%\ControlSet001\Services\epmntdrv","DisplayName","epmntdrv"

reg_add,0x1,"%reg%\ControlSet001\Services\epmntdrv\Enum","0","Root\LEGACY_EPMNTDRV\0000"

reg_add,0x4,"%reg%\ControlSet001\Services\epmntdrv\Enum","Count","1"

reg_add,0x4,"%reg%\ControlSet001\Services\epmntdrv\Enum","NextInstance","1"

reg_add,0x4,"%reg%\ControlSet001\Enum\Root\LEGACY_EPMNTDRV","NextInstance","1"

reg_add,0x1,"%reg%\ControlSet001\Enum\Root\LEGACY_EPMNTDRV\0000","Service","epmntdrv"

reg_add,0x4,"%reg%\ControlSet001\Enum\Root\LEGACY_EPMNTDRV\0000","Legacy","1"

reg_add,0x4,"%reg%\ControlSet001\Enum\Root\LEGACY_EPMNTDRV\0000","ConfigFlags","0"

reg_add,0x1,"%reg%\ControlSet001\Enum\Root\LEGACY_EPMNTDRV\0000","Class","LegacyDriver"

reg_add,0x1,"%reg%\ControlSet001\Enum\Root\LEGACY_EPMNTDRV\0000","ClassGUID","{8ECC055D-047F-11D1-A537-0000F8753ED1}"

reg_add,0x1,"%reg%\ControlSet001\Enum\Root\LEGACY_EPMNTDRV\0000","DeviceDesc","epmntdrv"

reg_add,0x4,"%reg%\ControlSet001\Enum\Root\LEGACY_EPMNTDRV\0000\Control","*NewlyCreated*","0"

reg_add,0x1,"%reg%\ControlSet001\Enum\Root\LEGACY_EPMNTDRV\0000\Control","ActiveService","epmntdrv"

reg_add,0x4,"%reg%\ControlSet001\Services\EuGdiDrv","Type","1"

reg_add,0x4,"%reg%\ControlSet001\Services\EuGdiDrv","Start","3"

reg_add,0x4,"%reg%\ControlSet001\Services\EuGdiDrv","ErrorControl","1"

reg_add,0x2,"%reg%\ControlSet001\Services\EuGdiDrv","ImagePath","system32\EuGdiDrv.sys"

reg_add,0x1,"%reg%\ControlSet001\Services\EuGdiDrv","DisplayName","EuGdiDrv"

reg_add,0x1,"%reg%\ControlSet001\Services\EuGdiDrv\Enum","0","Root\LEGACY_EUGDIDRV\0000"

reg_add,0x4,"%reg%\ControlSet001\Services\EuGdiDrv\Enum","Count","1"

reg_add,0x4,"%reg%\ControlSet001\Services\EuGdiDrv\Enum","NextInstance","1"

reg_add,0x4,"%reg%\ControlSet001\Enum\Root\LEGACY_EUGDIDRV","NextInstance","1"

reg_add,0x1,"%reg%\ControlSet001\Enum\Root\LEGACY_EUGDIDRV\0000","Service","EuGdiDrv"

reg_add,0x4,"%reg%\ControlSet001\Enum\Root\LEGACY_EUGDIDRV\0000","Legacy","1"

reg_add,0x4,"%reg%\ControlSet001\Enum\Root\LEGACY_EUGDIDRV\0000","ConfigFlags","0"

reg_add,0x1,"%reg%\ControlSet001\Enum\Root\LEGACY_EUGDIDRV\0000","Class","LegacyDriver"

reg_add,0x1,"%reg%\ControlSet001\Enum\Root\LEGACY_EUGDIDRV\0000","ClassGUID","{8ECC055D-047F-11D1-A537-0000F8753ED1}"

reg_add,0x1,"%reg%\ControlSet001\Enum\Root\LEGACY_EUGDIDRV\0000","DeviceDesc","EuGdiDrv"

reg_add,0x4,"%reg%\ControlSet001\Enum\Root\LEGACY_EUGDIDRV\0000","Capabilities","0"

reg_add,0x4,"%reg%\ControlSet001\Enum\Root\LEGACY_EUGDIDRV\0000\Control","*NewlyCreated*","0"

reg_add,0x1,"%reg%\ControlSet001\Enum\Root\LEGACY_EUGDIDRV\0000\Control","ActiveService","EuGdiDrv"

Hive_Unload,HKLM


this works (use this to update your old script), but the icons do not yet work...this has to do with the exe beeing in programdir\bin\epm0.exe

#15 pecd.net

pecd.net

    Silver Member

  • .script developer
  • 947 posts
  •  
    Germany

Posted 18 October 2008 - 11:43 AM

i attached my now working (but maybe not perfect) script...no time today to test more...feedback is welcome...

Attached Files



#16 Dave7

Dave7

    Frequent Member

  • Advanced user
  • 210 posts
  •  
    United States

Posted 18 October 2008 - 12:26 PM

Ctmag,

Besten Dank.

But the script still doesn't work for me. I get the same result that I got with my script intially.

Just to clarify. How did you verify that your script works? In my case the application starts, but no partitions are displayed (that part is just empty). What can you see?

Cheers,
Dave

#17 pecd.net

pecd.net

    Silver Member

  • .script developer
  • 947 posts
  •  
    Germany

Posted 18 October 2008 - 12:40 PM

i use vistape (may own project, not the public one). Sorry i did not even notice that we are taling in liveXP forum and again sorry, i never even did one build of livexp...so i will not be of much help here...

I can see an empty hd in vmware and i can create and format partitions.

i can use them after apply in the system, so it really works...

i can assure you it is possible:-) everything else is just fine tuning...

#18 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 18 October 2008 - 01:24 PM

i dont remember last time i build vistape too :confused1:, in my first times of livexp i guess,

i modified script at ctmag post 15 a bit :cheers:
modifications:
-put run from ram optional on gui
-add icon
-download folder changed not to download again and again
-2003 source check added (easeus dont work when source is 2k3)

http://lancelot.winb..._Manager_2x.rar

i hope you like it ctmag

for now it is still not working with livexp, i hope these help to advanced livexp script writers if they are interested.

#19 pecd.net

pecd.net

    Silver Member

  • .script developer
  • 947 posts
  •  
    Germany

Posted 18 October 2008 - 01:45 PM

thanks...i can assur you VistaPE (when V12 final will come out) improved a lot, maybe you will give it a try :confused1:

I will (as time permits) start with liveXP and will try to make my (very vistaPE based) scripts compatible with both worlds...but this will take some time...

#20 pecd.net

pecd.net

    Silver Member

  • .script developer
  • 947 posts
  •  
    Germany

Posted 18 October 2008 - 01:51 PM

From my point of view the old version was correct,

If,NotExistFile,"%TmpFolder%\{app}\bin\epm0.exe",Run,%ScriptFile%,Download

prevents redownload and if it is not needed, and if someone deleted the folder, there is no difference...

The runFrom Ram additon and chekcing id the tempdir exists is a good idea...

#21 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 18 October 2008 - 01:56 PM

ctmag,

i will try vistape in future again (i hope troubles i reported will be fixed that time), i saw pack topic you made for vistape, good work and good efort, keep the good.
But for now, i love livexp :confused1:

btw, i forgot to mention, i canceled line to delete epm.exe, for some reasons (i guess no need to mention) i dont like deletion of downloaded file.


i didnt change this line
If,NotExistFile,"%TmpFolder%\{app}\bin\epm0.exe",Run,%ScriptFile%,Download
i change
%TmpFolder%=%ScriptDir%\EASEUS_Partition_Manager_2x_Files
and this
If,NotExistDir,"%TmpFolder%",DirMake,"%TmpFolder%"

anyway, i am happy with paragon part man (beside everthing + also works with 2k3 source), i dont know what is special with this easeus part man.

#22 pecd.net

pecd.net

    Silver Member

  • .script developer
  • 947 posts
  •  
    Germany

Posted 18 October 2008 - 03:00 PM

eassus does not work with 2k3 bcause the server products are not free...but it does work with server 2008 as source (which is almost like vista...)

is paragin free and can it be downloaded from the web?

#23 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 18 October 2008 - 04:51 PM

"server products are not free" :confused1:, yep i know, just comparing easus with paragon pm8.0.

paragon partition manager 8.0 is free, there is already a nice script in livexp project
http://livexp.boot-l...sks/HDM8.script
that downloads and unpack (like you do with with easus)

Thanks for info, yep i got 2k3 trial from here a while ago, never installed or used as vista source. Just keeping in my archive for future needs :cheers: .

Also one thing i notice
DirCopy,"%TmpFolder%\{app}\bin","%targetdir%\Program Files\%ProgramFolder%"
instead of this i use this line with livexp project becouse different "Program Files" names with diff language.
DirCopy,"%TmpFolder%\{app}\bin","%Target_prog%\%ProgramFolder%"
i dont know vistape, you know better.

#24 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 18 October 2008 - 06:15 PM

Now working with livexp :confused1:

http://lancelot.winb..._Manager_2x.rar

ctmag
i only changed [Processrun] section a bit, you will understand when you see. Changes i made Maybe VistaPE compatible maybe not. You know better.

#25 Dave7

Dave7

    Frequent Member

  • Advanced user
  • 210 posts
  •  
    United States

Posted 19 October 2008 - 12:06 AM

Lancelot,

According to the EASEUS install script the following in your code

FileDelete,"%TmpFolder%\{win}\system32\eugdidrv#$c2.sys"

FileDelete,"%TmpFolder%\{win}\system32\epmntdrv#$c2.sys"

FileDelete,"%TmpFolder%\{win}\system32\epmntdrv#$c3.sys"

FileRename,"%TmpFolder%\{win}\system32\setupempdrv03#$c1.exe","%TmpFolder%\{win}\system32\setupempdrv03.exe"

FileRename,"%TmpFolder%\{win}\system32\eugdidrv#$c1.sys","%TmpFolder%\{win}\system32\eugdidrv.sys"

FileRename,"%TmpFolder%\{win}\system32\epmntdrv#$c1.sys","%TmpFolder%\{win}\system32\epmntdrv.sys"
should be replaced by
FileDelete,"%TmpFolder%\{win}\system32\EuGdiDrv#$c2.sys"

FileDelete,"%TmpFolder%\{win}\system32\epmntdrv#$c1.sys"

FileDelete,"%TmpFolder%\{win}\system32\epmntdrv#$c3.sys"

FileRename,"%TmpFolder%\{win}\system32\setupempdrv03#$c1.exe","%TmpFolder%\{win}\system32\setupempdrv03.exe"

FileRename,"%TmpFolder%\{win}\system32\EuGdiDrv#$c1.sys","%TmpFolder%\{win}\system32\EuGdiDrv.sys"

FileRename,"%TmpFolder%\{win}\system32\epmntdrv#$c2.sys","%TmpFolder%\{win}\system32\epmntdrv.sys"

It looks like epmntdrv,2 is the WinXP version (according to the script).

Cheers, Dave

PS
ctmag, lancelot, galapo and psc, thanks a lot for your tips and tricks! - and time! I think this is a pretty useful script now :-)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users