Jump to content











Photo
- - - - -

Guardian Edge EAHD Access Util 9.5


  • Please log in to reply
7 replies to this topic

#1 ncfl_maine

ncfl_maine
  • Members
  • 6 posts

Posted 16 March 2010 - 05:59 PM

My apologies if I've posted in the wrong area.

I'm attempting to create a .script from the Guardian Edge instructions and converted an INF I'd cobbled together. Currently, I seem to be having a moment as no matter what I try, this script is not populating (files, directories, or registry) properly when I attempt to run it in either VistaPE or Win7Rescue. Any suggestions would be helpful.

Thank you for your time.

[Main]

Title=GE95

Type=script

Selected=True

Level=5

Author=WinBuilder Version 080

Credits=PEBuilder plugin GE95.inf



[Variables]

%a_dir%=%TargetDir%\Program#$sFiles\GE95



[Process]

If,ExistFile,%ProjectDir%\infconvert.ini,AddVariables,%ProjectDir%\infconvert.ini,variables

If,NotExistVar,%drFile%,Exit,"You must define %drFile% to use this plugin!"

If,NotExistVar,%spFile%,Exit,"You must define %spFile% to use this plugin!"

Run,%ScriptFile%,WinntDirectories

Run,%ScriptFile%,SourceDisksFiles

Run,%ScriptFile%,Software.AddReg

Run,%ScriptFile%,SetupReg.AddReg

Run,%ScriptFile%,Append



[WinntDirectories]

Echo,"Making new directories.."

DirMake,%TargetDir%\Program#$sFiles\GE95



[SourceDisksFiles]

Echo,"Copying files.."

Run,%ScriptFile%,Inf-Copy,"files\EACaseConverter.dll","%a_dir%"

Run,%ScriptFile%,Inf-Copy,"files\EAECCWinPE.dll","%a_dir%"

Run,%ScriptFile%,Inf-Copy,"files\EAFRWinPEDBWrapper.dll","%a_dir%"

Run,%ScriptFile%,Inf-Copy,"files\EAFRWinPEUserManagement.dll","%a_dir%"

Run,%ScriptFile%,Inf-Copy,"files\eafsprot.sys","%target_sys%\drivers"

Run,%ScriptFile%,Inf-Copy,"files\EAHDCliSectAccEAFS.dll","%a_dir%"

Run,%ScriptFile%,Inf-Copy,"files\EAHDWinPEDBWrapper.dll","%a_dir%"

Run,%ScriptFile%,Inf-Copy,"files\EAHD_Access_Utility.exe","%a_dir%"

Run,%ScriptFile%,Inf-Copy,"files\EPCL32.dll","%a_dir%"

Run,%ScriptFile%,Inf-Copy,"files\ephdxlat.sys","%target_sys%\drivers"

Run,%ScriptFile%,Inf-Copy,"files\GERecoverWinPE.exe","%a_dir%"

Run,%ScriptFile%,Inf-Copy,"files\mfc80.dll","%a_dir%"

Run,%ScriptFile%,Inf-Copy,"files\mfc80u.dll","%a_dir%"

Run,%ScriptFile%,Inf-Copy,"files\mfcm80.dll","%a_dir%"

Run,%ScriptFile%,Inf-Copy,"files\mfcm80u.dll","%a_dir%"

Run,%ScriptFile%,Inf-Copy,"files\Microsoft.VC80.CRT.manifest","%a_dir%"

Run,%ScriptFile%,Inf-Copy,"files\Microsoft.VC80.MFC.manifest","%a_dir%"

Run,%ScriptFile%,Inf-Copy,"files\msvcm80.dll","%a_dir%"

Run,%ScriptFile%,Inf-Copy,"files\msvcp80.dll","%a_dir%"

Run,%ScriptFile%,Inf-Copy,"files\msvcr80.dll","%a_dir%"

Run,%ScriptFile%,Inf-Copy,"files\EPCL32.dll","%target_sys%"

Run,%ScriptFile%,Inf-Copy,"files\MFC71u.dll","%target_sys%"

Run,%ScriptFile%,Inf-Copy,"files\msvcp71.dll","%target_sys%"

Run,%ScriptFile%,Inf-Copy,"files\msvcr71.dll","%target_sys%"

Run,%ScriptFile%,Inf-Copy,"files\EAHD_Access_Utility.exe","%target_sys%"

Run,%ScriptFile%,Inf-Copy,"files\GERecoverWinPE.exe","%target_sys%"



[Software.AddReg]

Echo,"Loading registry hive: [software]"

Hive_Load,HKU

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

reg_add,0x0,"%reg%\Microsoft\Windows\CurrentVersion\RunOnce"

reg_add,0x1,"%reg%\Microsoft\Windows\CurrentVersion\RunOnce","EAHD","%systemdrive%\windows\system32\EAHD_Access_Utility.exe"

Hive_Unload,HKU



[SetupReg.AddReg]

Echo,"Loading registry hive: [setupreg.hiv]"

Hive_Load,HKLM

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

reg_add,0x0,"%reg%\ControlSet001\services\ephdxlat"

reg_add,0x1,"%reg%\ControlSet001\services\ephdxlat","DisplayName","GuardianEdge Encryption Filter"

reg_add,0x1,"%reg%\ControlSet001\services\ephdxlat","Group","PnP Filter"

reg_add,0x4,"%reg%\ControlSet001\services\ephdxlat","ErrorControl","1"

reg_add,0x4,"%reg%\ControlSet001\services\ephdxlat","Start","0"

reg_add,0x4,"%reg%\ControlSet001\services\ephdxlat","Type","1"

reg_add,0x0,"%reg%\ControlSet001\services\eafsprot"

reg_add,0x1,"%reg%\ControlSet001\services\eafsprot","EpfsVolumePath",""

reg_add,0x1,"%reg%\ControlSet001\services\eafsprot","Group","filter"

reg_add,0x1,"%reg%\ControlSet001\services\eafsprot","ImagePath","System32\drivers\eafsprot.sys"

reg_add,0x4,"%reg%\ControlSet001\services\eafsprot","ErrorControl","1"

reg_add,0x4,"%reg%\ControlSet001\services\eafsprot","ProtectionStyle","1"

reg_add,0x4,"%reg%\ControlSet001\services\eafsprot","Start","0"

reg_add,0x4,"%reg%\ControlSet001\services\eafsprot","Type","2"

reg_add,0x0,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}","Class","DiskDrive"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}","ClassDesc","@%SystemRoot%\System32\StorProp.dll,-17000"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}","","@%SystemRoot%\System32\StorProp.dll,-17000"

reg_add,0x7,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}","IconPath","%SystemRoot%\System32\imageres.dll,-32"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}","Installer32","StorProp.Dll,DiskClassInstaller"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}","NoInstallClass","1"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}","SilentInstall","1"

reg_add,0x7,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}","UpperFilters","PartMgr","ephdxlat"

reg_add,0x0,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0000"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0000","InfPath","disk.inf"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0000","InfSection","disk_install"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0000","InfSectionExt",".NT"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0000","ProviderName","Microsoft"

reg_add,0x3,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0000","DriverDateData","00","80","8c","a3","c5","94","c6","01"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0000","DriverDate","6-21-2006"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0000","DriverVersion","6.1.7600.16385"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0000","MatchingDeviceId","gendisk"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0000","DriverDesc","Disk drive"

reg_add,0x0,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0001"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0001","InfPath","disk.inf"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0001","InfSection","disk_install"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0001","InfSectionExt",".NT"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0001","ProviderName","Microsoft"

reg_add,0x3,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0001","DriverDateData","00","80","8c","a3","c5","94","c6","01"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0001","DriverDate","6-21-2006"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0001","DriverVersion","6.1.7600.16385"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0001","MatchingDeviceId","gendisk"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0001","DriverDesc","Disk drive"

reg_add,0x0,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\Properties"

reg_add,0x4,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\Properties","DeviceType","7"

reg_add,0x4,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\Properties","DeviceCharacteristics","256"

Hive_Unload,HKLM



[Append]

If,Not,%NoAppendLoc%,EQUAL,True,Begin

End



[Inf-Copy]

StrFormat,path,#2,%pth%

If,NotExistDir,%pth%,DirMake,%pth%

StrFormat,RTrim,#1,1,%short%

StrFormat,Right,#1,1,%right%

Run,%ScriptFile%,Load-Driver,%short%,%right%,#2



[Load-Driver]

If,ExistFile,"%source_win%\%spFile%",ShellExecute,"hide","expand.exe","#$q%source_win%\%spFile%#$q -F:#1#2 #$q#3#$q"

If,NotExistFile,#3,ShellExecute,"hide","expand.exe","#$q%source_win%\%drFile%#$q -F:#1 #$q#3#$q"

If,NotExistFile,#3,If,ExistFile,%source_win%\#1*,CopyOrExpand,%source_win%\#1#2,#3

[Main]

Title=Convert

Type=script

Selected=True

Level=5

Author=WinBuilder Version 080

Credits=PEBuilder plugin GE95_nu2menu.xml



[Process]



[Main]

Title=Convert

Type=script

Selected=True

Level=5

Author=WinBuilder Version 080

Credits=PEBuilder plugin EACaseConverter.dll



[Process]



[Main]

Title=Convert

Type=script

Selected=True

Level=5

Author=WinBuilder Version 080

Credits=PEBuilder plugin EAECCWinPE.dll



[Process]



[Main]

Title=Convert

Type=script

Selected=True

Level=5

Author=WinBuilder Version 080

Credits=PEBuilder plugin EAFRWinPEDBWrapper.dll



[Process]



[Main]

Title=Convert

Type=script

Selected=True

Level=5

Author=WinBuilder Version 080

Credits=PEBuilder plugin EAFRWinPEUserManagement.dll



[Process]



[Main]

Title=Convert

Type=script

Selected=True

Level=5

Author=WinBuilder Version 080

Credits=PEBuilder plugin eafsprot.sys



[Process]



[Main]

Title=Convert

Type=script

Selected=True

Level=5

Author=WinBuilder Version 080

Credits=PEBuilder plugin EAHD_Access_Utility.exe



[Process]



[Main]

Title=Convert

Type=script

Selected=True

Level=5

Author=WinBuilder Version 080

Credits=PEBuilder plugin EAHDCliSectAccEAFS.dll



[Process]



[Main]

Title=Convert

Type=script

Selected=True

Level=5

Author=WinBuilder Version 080

Credits=PEBuilder plugin EAHDWinPEDBWrapper.dll



[Process]



[Main]

Title=Convert

Type=script

Selected=True

Level=5

Author=WinBuilder Version 080

Credits=PEBuilder plugin EPCL32.dll



[Process]



[Main]

Title=Convert

Type=script

Selected=True

Level=5

Author=WinBuilder Version 080

Credits=PEBuilder plugin ephdxlat.sys



[Process]



[Main]

Title=Convert

Type=script

Selected=True

Level=5

Author=WinBuilder Version 080

Credits=PEBuilder plugin GERecoverWinPE.exe



[Process]



[Main]

Title=Convert

Type=script

Selected=True

Level=5

Author=WinBuilder Version 080

Credits=PEBuilder plugin MFC71u.dll



[Process]



[Main]

Title=Convert

Type=script

Selected=True

Level=5

Author=WinBuilder Version 080

Credits=PEBuilder plugin mfc80.dll



[Process]



[Main]

Title=Convert

Type=script

Selected=True

Level=5

Author=WinBuilder Version 080

Credits=PEBuilder plugin mfc80u.dll



[Process]



[Main]

Title=Convert

Type=script

Selected=True

Level=5

Author=WinBuilder Version 080

Credits=PEBuilder plugin mfcm80.dll



[Process]



[Main]

Title=Convert

Type=script

Selected=True

Level=5

Author=WinBuilder Version 080

Credits=PEBuilder plugin mfcm80u.dll



[Process]



[Main]

Title=Convert

Type=script

Selected=True

Level=5

Author=WinBuilder Version 080

Credits=PEBuilder plugin Microsoft.VC80.CRT.manifest



[Process]



[Main]

Title=Convert

Type=script

Selected=True

Level=5

Author=WinBuilder Version 080

Credits=PEBuilder plugin Microsoft.VC80.MFC.manifest



[Process]



[Main]

Title=Convert

Type=script

Selected=True

Level=5

Author=WinBuilder Version 080

Credits=PEBuilder plugin msvcm80.dll



[Process]



[Main]

Title=Convert

Type=script

Selected=True

Level=5

Author=WinBuilder Version 080

Credits=PEBuilder plugin msvcp71.dll



[Process]



[Main]

Title=Convert

Type=script

Selected=True

Level=5

Author=WinBuilder Version 080

Credits=PEBuilder plugin msvcp80.dll



[Process]



[Main]

Title=Convert

Type=script

Selected=True

Level=5

Author=WinBuilder Version 080

Credits=PEBuilder plugin msvcr71.dll



[Process]



[Main]

Title=Convert

Type=script

Selected=True

Level=5

Author=WinBuilder Version 080

Credits=PEBuilder plugin msvcr80.dll



[Process]


#2 greatdevourer

greatdevourer

    Newbie

  • Members
  • 27 posts
  • Location:United States
  •  
    United States

Posted 24 March 2010 - 03:30 PM

If you don't mind, I can give you some tips.

1st Problem:
You have multiple [Main] and [Process] sections after the [Load Drivers] section. You'll need to clean these up.

2nd Problem:
Looks like you need to define a few unnecessary variables in order for the script to work.

Here's a script template that I use as a starting point for most of my scripts when I'm converting either portable applications or older BartPE INF scripts. I've used italicized text in the codebox to indicate what you might want to change.


Application NameType=scriptSelected=TrueLevel=5Author=greatdevourerVersion=01Description=Application DescriptionLocked=falseDate=Today's DateSelected=True[Variables]%ProgramFolder%=Target folder %ProgramEXE%=Program EXE file%ProgramTitle%=Start Menu Name[Process]Echo,Processing %ProgramTitle%...RunFromRam,FalseAdd_Shortcut,StartMenu,"","%PE_Programs%\%ProgramFolder%\%ProgramEXE%","%ProgramTitle%"Run,%ScriptFile%,WinntDirectoriesRun,%ScriptFile%,SourceDisksFolders[WinntDirectories]Echo,"Making new directories.."DirMake,%target_prog%\%ProgramFolder%[SourceDisksFolders]Echo,"Copying directories.."FileCopy,"%ScriptDir%\%ProgramFolder%\*.*","%target_prog%\%ProgramFolder%" _linenums:0'>[Main]Title=Application NameType=scriptSelected=TrueLevel=5Author=greatdevourerVersion=01Description=Application DescriptionLocked=falseDate=Today's DateSelected=True[Variables]%ProgramFolder%=Target folder %ProgramEXE%=Program EXE file%ProgramTitle%=Start Menu Name[Process]Echo,Processing %ProgramTitle%...RunFromRam,FalseAdd_Shortcut,StartMenu,"","%PE_Programs%\%ProgramFolder%\%ProgramEXE%","%ProgramTitle%"Run,%ScriptFile%,WinntDirectoriesRun,%ScriptFile%,SourceDisksFolders[WinntDirectories]Echo,"Making new directories.."DirMake,%target_prog%\%ProgramFolder%[SourceDisksFolders]Echo,"Copying directories.."FileCopy,"%ScriptDir%\%ProgramFolder%\*.*","%target_prog%\%ProgramFolder%"
Additionally, when I have to add registry entries to a script, like yours does, the added section.
Be sure to add the new section to your [Process] or it won't be included.

Run,%ScriptFile%,Default.AddReg
_linenums:0'>[Process]Run,%ScriptFile%,Default.AddReg


[Default.AddReg]Echo,"Loading registry hive: [default]"Hive_Load,HKCUEcho,"Writing new values on registry hive.."reg_add,0x1,"%reg%\Software\SOME REG ENTRY","SOME REG KEY","SOME REG DATA"Hive_Unload,HKCU

I hope this helps out.

#3 IT_Critter

IT_Critter
  • Members
  • 1 posts
  •  
    United States

Posted 24 May 2010 - 01:12 PM

To NFCL_Maine ..

Have you derived a working solution to a Guardian Edge EAHD Access Utility plugin for BartPE?

Our company is about to deploy GE and we have no mechanism at this time to retrieve End User data from drives that are about to be reimaged due to hardware warranty or virus issues.

Whatever help that you might be able to provide would be very much appreciated ..

Thanks,

IT_Critter

#4 ncfl_maine

ncfl_maine
  • Members
  • 6 posts

Posted 17 June 2010 - 11:49 AM

I have a LiveXP instance functioning with both the EPHD 7.2.2 and EAHD 9.5 on the same build.

Thanks for the reply on scripting. It was really helpful.

#5 ncfl_maine

ncfl_maine
  • Members
  • 6 posts

Posted 02 August 2010 - 02:38 PM

Same app, new issue.

I had the bright idea to embed the files into the script. Upon doing this it returns this error:

List index out of bounds (4): ExtractFile,%ScriptFile%,Folder,EPCL32.dll,"%TargetDir%\I386\System32\"

Any ideas?

Here's my whack at the script (minus the embedded files)

[main]Title=GuardianEdge95Description=Plug-in for GuardianEdge 9.5 EAHD Access UtilityType=scriptSelected=TrueLevel=5Author=WinBuilder Version 080[variables]%ProgramTitle%=GuardianEdge95%ProgramEXE%=EAHD_Access_Utility.exe%ProgramFolder%=GuardianEdge95[process]//Extracting-GE95 FilesEcho,"Processing %ProgramTitle%..."ExtractFile,%ScriptFile%,Folder,EACaseConverter.dll,"%TargetDir%\I386\system32\"ExtractFile,%ScriptFile%,Folder,EAECCWinPE.dll,"%TargetDir%\I386\system32\"ExtractFile,%ScriptFile%,Folder,EAFRWinPEDBWrapper.dll,"%TargetDir%\I386\system32\"ExtractFile,%ScriptFile%,Folder,EAFRWinPEUserManagement.dll,"%TargetDir%\I386\system32\"ExtractFile,%ScriptFile%,Folder,eafsprot.sys,"%TargetDir%\I386\system32\drivers"ExtractFile,%ScriptFile%,Folder,EAHDCliSectAccEAFS.dll,"%TargetDir%\I386\system32\"ExtractFile,%ScriptFile%,Folder,EAHDWinPEDBWrapper.dll,"%TargetDir%\I386\system32\"ExtractFile,%ScriptFile%,Folder,EAHD_Access_Utility.exe,"%TargetDir%\I386\system32\"ExtractFile,%ScriptFile%,Folder,EPCL32.dll,"%TargetDir%\I386\system32\"ExtractFile,%ScriptFile%,Folder,ephdxlat.sys,"%TargetDir%\I386\system32\drivers"ExtractFile,%ScriptFile%,Folder,GERecoverWinPE.exe,"%TargetDir%\I386\system32\"ExtractFile,%ScriptFile%,Folder,mfc80.dll,"%TargetDir%\I386\system32\"ExtractFile,%ScriptFile%,Folder,mfc80u.dll,"%TargetDir%\I386\system32\"ExtractFile,%ScriptFile%,Folder,mfcm80.dll,"%TargetDir%\I386\system32\"ExtractFile,%ScriptFile%,Folder,mfcm80u.dll,"%TargetDir%\I386\system32\"ExtractFile,%ScriptFile%,Folder,Microsoft.VC80.CRT.manifest,"%TargetDir%\I386\system32\"ExtractFile,%ScriptFile%,Folder,Microsoft.VC80.MFC.manifest,"%TargetDir%\I386\system32\"ExtractFile,%ScriptFile%,Folder,msvcm80.dll,"%TargetDir%\I386\system32\"ExtractFile,%ScriptFile%,Folder,msvcp80.dll,"%TargetDir%\I386\system32\"ExtractFile,%ScriptFile%,Folder,msvcr80.dll,"%TargetDir%\I386\system32\"ExtractFile,%ScriptFile%,Folder,EPCL32.dll","%TargetDir%\I386\system32\"ExtractFile,%ScriptFile%,Folder,MFC71u.dll","%TargetDir%\I386\system32\"ExtractFile,%ScriptFile%,Folder,msvcp71.dll","%TargetDir%\I386\system32\"ExtractFile,%ScriptFile%,Folder,msvcr71.dll","%TargetDir%\I386\system32\"Run,%ScriptFile%,Software.AddRegRun,%ScriptFile%,SetupReg.AddReg[Software.AddReg]Echo,"Loading registry hive: [software]"Hive_Load,HKUEcho,"Writing new values on registry hive.."reg_add,0x0,"%reg%\Microsoft\Windows\CurrentVersion\RunOnce"reg_add,0x1,"%reg%\Microsoft\Windows\CurrentVersion\RunOnce","EAHD","%systemdrive%\I386\system32\EAHD_Access_Utility.exe"Hive_Unload,HKU[SetupReg.AddReg]Echo,"Loading registry hive: [setupreg.hiv]"Hive_Load,HKLMEcho,"Writing new values on registry hive.."reg_add,0x0,"%reg%\ControlSet001\services\ephdxlat"reg_add,0x1,"%reg%\ControlSet001\services\ephdxlat","DisplayName","GuardianEdge Encryption Filter"reg_add,0x1,"%reg%\ControlSet001\services\ephdxlat","Group","PnP Filter"reg_add,0x4,"%reg%\ControlSet001\services\ephdxlat","ErrorControl","1"reg_add,0x4,"%reg%\ControlSet001\services\ephdxlat","Start","0"reg_add,0x4,"%reg%\ControlSet001\services\ephdxlat","Type","1"reg_add,0x0,"%reg%\ControlSet001\services\eafsprot"reg_add,0x1,"%reg%\ControlSet001\services\eafsprot","EpfsVolumePath",""reg_add,0x1,"%reg%\ControlSet001\services\eafsprot","Group","filter"reg_add,0x1,"%reg%\ControlSet001\services\eafsprot","ImagePath","%systemdrive%\i386\System32\drivers\eafsprot.sys"reg_add,0x4,"%reg%\ControlSet001\services\eafsprot","ErrorControl","1"reg_add,0x4,"%reg%\ControlSet001\services\eafsprot","ProtectionStyle","1"reg_add,0x4,"%reg%\ControlSet001\services\eafsprot","Start","0"reg_add,0x4,"%reg%\ControlSet001\services\eafsprot","Type","2"reg_add,0x0,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}"reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}","Class","DiskDrive"reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}","ClassDesc","@%SystemRoot%\System32\StorProp.dll,-17000"reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}","","@%SystemRoot%\System32\StorProp.dll,-17000"reg_add,0x7,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}","IconPath","%SystemRoot%\System32\imageres.dll,-32"reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}","Installer32","StorProp.Dll,DiskClassInstaller"reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}","NoInstallClass","1"reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}","SilentInstall","1"reg_add,0x7,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}","UpperFilters","PartMgr","ephdxlat"reg_add,0x0,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0000"reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0000","InfPath","disk.inf"reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0000","InfSection","disk_install"reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0000","InfSectionExt",".NT"reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0000","ProviderName","Microsoft"reg_add,0x3,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0000","DriverDateData","00","80","8c","a3","c5","94","c6","01"reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0000","DriverDate","6-21-2006"reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0000","DriverVersion","6.1.7600.16385"reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0000","MatchingDeviceId","gendisk"reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0000","DriverDesc","Disk drive"reg_add,0x0,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0001"reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0001","InfPath","disk.inf"reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0001","InfSection","disk_install"reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0001","InfSectionExt",".NT"reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0001","ProviderName","Microsoft"reg_add,0x3,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0001","DriverDateData","00","80","8c","a3","c5","94","c6","01"reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0001","DriverDate","6-21-2006"reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0001","DriverVersion","6.1.7600.16385"reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0001","MatchingDeviceId","gendisk"reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0001","DriverDesc","Disk drive"reg_add,0x0,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\Properties"reg_add,0x4,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\Properties","DeviceType","7"reg_add,0x4,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\Properties","DeviceCharacteristics","256"Hive_Unload,HKLMEcho,Creating shortcuts Bulid[(None)]...//Run,%BuildModelScript%,Add-Shortcut,"DE","#$pSystemDrive#$p\i386\system32\EAHD_Access_Utility.exe","EAHD Utility 9.x"Add_Shortcut,Desktop,%ProgramEXE%,"%systemdrive%\i386\system32\EAHD_Access_Utility.exe","EAHD Access Utility"//unpack[EncodedFolders]Folder

**update - thanks Wonko for the codebox info **

#6 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 10,782 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 02 August 2010 - 03:14 PM

@nfcl_maine

Ther is no "codebox" button, easiest it to use the "code" one after having selected the actual code (the one that looks like a scroll), you will have something like:
[ code ]
your code ....
[ / code ]

then you simply type "box" at the end of both opening and closing tags:
[ codebox ]
your code ....
[ / codebox ]

:dubbio:
Wonko

#7 rathmodcur

rathmodcur
  • Members
  • 2 posts
  •  
    United States

Posted 23 October 2010 - 04:22 PM

I have a LiveXP instance functioning with both the EPHD 7.2.2 and EAHD 9.5 on the same build.


I have functional version 7x and 9x plugins, respectively. But I'm having trouble incorporating them in the same build of Bartpe. Whichever plugin is processed last copies over its own system32\epcl32.dll and system32\drivers\ephdxlat.sys files. This breaks the other plugin.

Anybody have recommendations on how to get the two versions to play nice?

#8 Brambo23

Brambo23
  • Members
  • 1 posts

Posted 16 June 2011 - 11:06 AM

I took the OP's last edit of the script and managed to make a working script that does run before anything else does in Win7PE. This code works with GE 9.5. I havent tested it with EPHD yet.

here is what i added.

[main]

Title=GuardianEdge95

Description=Plug-in for GuardianEdge 9.5 EAHD Access Utility

Type=script

Selected=True

Level=5

Author=WinBuilder Version 080



[variables]

%ProgramTitle%=GuardianEdge95

%ProgramEXE%=EAHD_Access_Utility.exe

%ProgramFolder%=GuardianEdge95

%FileLoc%=D:\Win7PE_SE_2011_05_20\Projects\GEHD



[process]

//Extracting-GE95 Files

Echo,"Processing %ProgramTitle%..."

FileCopy,"%FileLoc%\EACaseConverter.dll","%TargetDir%\Windows\system32\"

FileCopy,"%FileLoc%\EAECCWinPE.dll","%TargetDir%\Windows\system32\"

FileCopy,"%FileLoc%\EAFRWinPEDBWrapper.dll","%TargetDir%\Windows\system32\"

FileCopy,"%FileLoc%\EAFRWinPEUserManagement.dll","%TargetDir%\Windows\system32\"

FileCopy,"%FileLoc%\eafsprot.sys","%TargetDir%\Windows\system32\drivers"

FileCopy,"%FileLoc%\EAHDCliSectAccEAFS.dll","%TargetDir%\Windows\system32\"

FileCopy,"%FileLoc%\EAHDWinPEDBWrapper.dll","%TargetDir%\Windows\system32\"

FileCopy,"%FileLoc%\EAHD_Access_Utility.exe","%TargetDir%\Windows\system32\"

FileCopy,"%FileLoc%\EPCL32.dll","%TargetDir%\Windows\system32\"

FileCopy,"%FileLoc%\ephdxlat.sys","%TargetDir%\Windows\system32\drivers\"

FileCopy,"%FileLoc%\EPCL32.dll","%TargetDir%\Windows\system32\"

FileCopy,"%FileLoc%\MFC71u.dll","%TargetDir%\Windows\system32\"

FileCopy,"%FileLoc%\msvcp71.dll","%TargetDir%\Windows\system32\"

FileCopy,"%FileLoc%\msvcr71.dll","%TargetDir%\Windows\system32\"

TXTAddLine,"%TargetDir%\windows\system32\autorun.cmd","X:\Windows\system32\EAHD_Access_Utility.exe","Append"

Run,%ScriptFile%,Software.AddReg

Run,%ScriptFile%,SetupReg.AddReg



[Software.AddReg]

Echo,"Loading registry hive: [software]"

Hive_Load,HKU

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

reg_add,0x0,"%reg%\Microsoft\Windows\CurrentVersion\RunOnce"

reg_add,0x1,"%reg%\Microsoft\Windows\CurrentVersion\RunOnce","EAHD","%systemdrive%\Windows\system32\EAHD_Access_Utility.exe"

Hive_Unload,HKU



[SetupReg.AddReg]

Echo,"Loading registry hive: [setupreg.hiv]"

Hive_Load,HKLM

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

reg_add,0x0,"%reg%\ControlSet001\services\ephdxlat"

reg_add,0x1,"%reg%\ControlSet001\services\ephdxlat","DisplayName","GuardianEdge Encryption Filter"

reg_add,0x1,"%reg%\ControlSet001\services\ephdxlat","Group","PnP Filter"

reg_add,0x4,"%reg%\ControlSet001\services\ephdxlat","ErrorControl","1"

reg_add,0x4,"%reg%\ControlSet001\services\ephdxlat","Start","0"

reg_add,0x4,"%reg%\ControlSet001\services\ephdxlat","Type","1"

reg_add,0x0,"%reg%\ControlSet001\services\eafsprot"

reg_add,0x1,"%reg%\ControlSet001\services\eafsprot","EpfsVolumePath",""

reg_add,0x1,"%reg%\ControlSet001\services\eafsprot","Group","filter"

reg_add,0x1,"%reg%\ControlSet001\services\eafsprot","ImagePath","%systemdrive%\i386\System32\drivers\eafsprot.sys"

reg_add,0x4,"%reg%\ControlSet001\services\eafsprot","ErrorControl","1"

reg_add,0x4,"%reg%\ControlSet001\services\eafsprot","ProtectionStyle","1"

reg_add,0x4,"%reg%\ControlSet001\services\eafsprot","Start","0"

reg_add,0x4,"%reg%\ControlSet001\services\eafsprot","Type","2"

reg_add,0x0,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}","Class","DiskDrive"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}","ClassDesc","@%SystemRoot%\System32\StorProp.dll,-17000"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}","","@%SystemRoot%\System32\StorProp.dll,-17000"

reg_add,0x7,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}","IconPath","%SystemRoot%\System32\imageres.dll,-32"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}","Installer32","StorProp.Dll,DiskClassInstaller"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}","NoInstallClass","1"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}","SilentInstall","1"

reg_add,0x7,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}","UpperFilters","PartMgr","ephdxlat"

reg_add,0x0,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0000"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0000","InfPath","disk.inf"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0000","InfSection","disk_install"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0000","InfSectionExt",".NT"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0000","ProviderName","Microsoft"

reg_add,0x3,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0000","DriverDateData","00","80","8c","a3","c5","94","c6","01"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0000","DriverDate","6-21-2006"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0000","DriverVersion","6.1.7600.16385"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0000","MatchingDeviceId","gendisk"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0000","DriverDesc","Disk drive"

reg_add,0x0,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0001"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0001","InfPath","disk.inf"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0001","InfSection","disk_install"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0001","InfSectionExt",".NT"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0001","ProviderName","Microsoft"

reg_add,0x3,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0001","DriverDateData","00","80","8c","a3","c5","94","c6","01"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0001","DriverDate","6-21-2006"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0001","DriverVersion","6.1.7600.16385"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0001","MatchingDeviceId","gendisk"

reg_add,0x1,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\0001","DriverDesc","Disk drive"

reg_add,0x0,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\Properties"

reg_add,0x4,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\Properties","DeviceType","7"

reg_add,0x4,"%reg%\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}\Properties","DeviceCharacteristics","256"

Hive_Unload,HKLM

Echo,Creating shortcuts Bulid[(None)]...

//Run,%BuildModelScript%,Add-Shortcut,"DE","#$pSystemDrive#$p\i386\system32\EAHD_Access_Utility.exe","EAHD Utility 9.x"

Add_Shortcut,Desktop,%ProgramEXE%,"%systemdrive%\Windows\system32\EAHD_Access_Utility.exe","EAHD Access Utility"

//unpack








0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users