Topic: Dependency Walker plugin for Win10PESE_x64  (Read 1699 times)

0 Members and 2 Guests are viewing this topic.

Dependency Walker plugin for Win10PESE_x64
« on: January 10, 2016, 12:23:41 PM »

Gerhard S.

  • Jr. Chef
  • **
  • Date Registered: Dec 2015
  • Posts: 77
Hello,
Today I added /Downloads/AppsGS/System Tools/Debug/Dependency Walker to my Win10PESE_x64.
Leaved the "Add x86 to wow64"=Yes | "Add Required Files to 'Program Folder'"=Yes - as they are given(?).
But, Oops... #1 0xc00000ba

ila_rendered

In -booted Win10PESE_x64- I deleted then these folders APPHELP.DLL ... WINSPOOL.DRV

ila_rendered

Now, depends.exe starts. In whitch cases do I need "Add Required Files to 'Program Folder'" (for Win10PESE_x64) ? - Or do I have made something wrong?

Edit:
Given script edited; deleted all after ...Target_Prog%\%ProgramFolder%
Code: [Select]
...
Else,Begin
  If,%CoreType%,Equal,NT5X,Require_File,HHCTRLUI.DLL,,%Target_Prog%\%ProgramFolder%
  Require_File,cmd.exe,,%Target_Prog%\%ProgramFolder%
  Require_File,comctl32.dll,,%Target_Prog%\%ProgramFolder%
  Require_File,shlwapi.dll,,%Target_Prog%\%ProgramFolder%
  Require_File,APPHELP.DLL,,%Target_Prog%\%ProgramFolder%
  Require_File,ATL.DLL,,%Target_Prog%\%ProgramFolder%
  Require_File,CLBCATQ.DLL,,%Target_Prog%\%ProgramFolder%
  Require_File,COMRES.DLL,,%Target_Prog%\%ProgramFolder%
  Require_File,CSCDLL.DLL,,%Target_Prog%\%ProgramFolder%
  If,%CoreType%,Equal,NT5X,Require_File,CSCUI.DLL,,%Target_Prog%\%ProgramFolder%
  Require_File,HHCTRL.OCX,,%Target_Prog%\%ProgramFolder%
  Require_File,mfc42.dll,,%Target_Prog%\%ProgramFolder%
  Require_File,NTSHRUI.DLL,,%Target_Prog%\%ProgramFolder%
  Require_File,RICHED20.DLL,,%Target_Prog%\%ProgramFolder%
  Require_File,RICHED32.DLL,,%Target_Prog%\%ProgramFolder%
  Require_File,WINSPOOL.DRV,,%Target_Prog%\%ProgramFolder%
  Require_File,shell32.dll,,%Target_Prog%\%ProgramFolder%
  Require_File,comdlg32.dll,,%Target_Prog%\%ProgramFolder%
  Require_File,ole32.dll,,%Target_Prog%\%ProgramFolder%l
  Require_File,oleaut32.dll,,%Target_Prog%\%ProgramFolder%
End

Now it works (in Win10PE_x64).
Shortcuts ok; dependencies mostly fullfilled - exept DEVICELOCKHELPERS.DLL and EMCLIENT.DLL and dozens of API-MS-WIN-xxx.DLL's and EXT-MS-WIN-xxx.DLL's
Maybe vc_redist_2015_x64|86.exe missing? I have in my mind, there's a updated VcRunTimes.script ...

 :thumbsup:

Sorry, Ooops... #2:
(At build time there was a message, as "can't copy/require/extract cmd.bat" or something like that...)
For this tread I opend DependencyWalker, and picked up depends.exe
After I closed hard DependencyWalker with click on upper-right X - I recognized cpu-cooling fan is running heavly. There was still a depends.exe in taskmanager, cpu load 50%.
But I can't reproduce this issue...  :confused:

ila_rendered
« Last Edit: January 11, 2016, 12:59:52 AM by Gerhard S. »

Re: Dependency Walker plugin for Win10PESE_x64
« Reply #1 on: January 10, 2016, 10:23:49 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 6722
New plugin on server.  :thumbsup:

to update new plugin, Just click Download button at
\Downloads\AppsYGS\System Tools\Debug\Dependency Walker

:turtle:

Re: Dependency Walker plugin for Win10PESE_x64
« Reply #2 on: January 11, 2016, 04:30:14 AM »

Gerhard S.

  • Jr. Chef
  • **
  • Date Registered: Dec 2015
  • Posts: 77
New plugin on my harddisk  :thumbsup: thank you

Win10PE_x64: "Add Required Files to 'Program Folder'" not selected:

ila_rendered
« Last Edit: January 11, 2016, 04:31:48 AM by Gerhard S. »

Re: Dependency Walker plugin for Win10PESE_x64
« Reply #3 on: January 11, 2016, 06:45:09 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 6722
Win10PE_x64: "Add Required Files to 'Program Folder'" not selected:
You can select "Add Required Files to 'Program Folder'" if you need, it is working ok now.

:turtle:

Re: Dependency Walker plugin for Win10PESE_x64
« Reply #4 on: January 11, 2016, 09:42:11 PM »

Gerhard S.

  • Jr. Chef
  • **
  • Date Registered: Dec 2015
  • Posts: 77
I can't know, whether my 10PE-composition needs required files - or not. Until try&error in real PE.
Idea:
At first, the script contains a list of all required files. (author of script does this)
WB searches then with a universal routine(is there one already?) all 'Require_File's and 'Require_FileQ's in all scripts (whole project), whitch are Selected=True. Creates a List and compares it with the ones described in script. Makes a scriptname.dat (for future usage), if comparison gives at least 1 missing required file. WB inserts then automatically the result in script, restored from scriptname.dat


« Last Edit: January 11, 2016, 09:44:15 PM by Gerhard S. »

Re: Dependency Walker plugin for Win10PESE_x64
« Reply #5 on: January 11, 2016, 11:10:16 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 6722
!
you seem to mix lots of things,

* .dat !!! there is not. batch processing is not like C++ or Java or....

* dependencies of an application may already exists on your PE. Plugin only assures you have them.

* Some plugins have more options than others, there maybe lots of reasons, one like application a lot or one needs such features, etc....

* routines on plugins only valid for the projects at TheOven.org, since you like universal name,
  yes there is universal routine for the plugins on TheOven.org .
   Proof: we already have hundreds of plugins available and working on all projects.
     That is the reason technically they are plugins.

***
btw,
since "Dependency Walker" frequently leads regular end user to wrong and bulk dependencies,
 we prefer procmon, and make it available on all projects
   \Apps\System Tools\Debug\"Sysinternals Process Monitor (Procmon)"

:turtle:

 

Powered by EzPortal