Jump to content











Photo
- - - - -

Tweak my PE


  • Please log in to reply
3 replies to this topic

#1 Aeolis

Aeolis

    Frequent Member

  • .script developer
  • 145 posts
  • Location:Rio de Janeiro
  • Interests:I am just trying to learn and help.
  •  
    Brazil

Posted 27 October 2012 - 06:07 PM

Posted Image

File Name: Tweak my PE
File Submitter: Aeolis
File Submitted: 27 Oct 2012
File Updated: 09 Feb 2013
File Category: App scripts

CREDITS: My BIG THANK YOU for the Reboot.pro community!

DESCRIPTION:
This is a script to help users that need to build a PE with special dependencies (separate them by commas, for example: wtsapi32.dll,mssign32.dll,sc.exe,taskmgr.exe) and a few registry tweaks. You may add your own here! Remember to share them with the Reboot.pro community.

FROM AUTHOR: I hope you like using it as much as I liked creating it. I hope you can test and post your comments here. I would like suggestions on how to clean/improve this script.

Best regards,

Aeolis


Click here to download this file

#2 pscEx

pscEx

    Platinum Member

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

Posted 28 October 2012 - 09:26 AM

I do not understand the logic behind the architecture depending dependencies.

IMHO:

When you build a PE, you need a source CD.
And the source CD has a fixed architecture x86 or x64.

Maybe when building x86 you need some more or less files than for building x64.
But at least the "x86 on x64" does not make any sence for me.

I could imagine this:
  • General dependencies
  • Additional dependencies for x86 PE
  • Additional dependencies for x64 PE
Then the use of %CapiScriptArch% does not make sence.

Peter

#3 Aeolis

Aeolis

    Frequent Member

  • .script developer
  • 145 posts
  • Location:Rio de Janeiro
  • Interests:I am just trying to learn and help.
  •  
    Brazil

Posted 28 October 2012 - 10:52 AM

Hello folks,

Dear pscEx, I have experience a lot of times problems of missing images when running 32-bit applications over a Windows x64, because the project has not some files. This script is intended to help debugging missing dependencies errors by adding them and checking if it fixed the problem. The use of %CapiScriptArch% is to force x86 images to be copied over a x64 Windows PE in the SysWOW64 folder.

Best regards,

Aeolis

#4 pscEx

pscEx

    Platinum Member

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

Posted 28 October 2012 - 11:38 AM

Thanks, Aeolis, for the explanation.

Now I understand.

BTW: The coding style is excellent! :1st:

Peter
  • Aeolis likes this




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users