Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

Problem with Replace file

- - - - -

  • Please log in to reply
7 replies to this topic

#1
Darg

Darg
  • Member
  • 3 posts
  • Joined 04-May 08
Hello, Sorry for my poor English

I have one problem with replace Logonui.exe (logonui.ex_ edited) on \I386 Folder
I first export original logonui.exe from logonui.ex_ with winrar, next edit it with ResHacker and replace my custom bitmap to it and save.
After for test replace it to my current system and test it (version of both those are 6.0.2900.5512)
it run can work correctly and successfully.

After I compressed the new lononui.exe with MakeCab.exe:
makecab .\logonui.exe .\logonui.ex_ /v3

and replace new logonui.ex_ to Image Setup CD with UltraISO and save new image.
but on setup text Mode of winXP ,Setup Have error:
"The File Logonui.exe was not copied correctly"

I don’t understand where my error !?

I read the description for this work (a topic on this forum) that say must compressed that file with "Compression Bin" program. And I download it and again compress with this profram:
Edited Logonui .exe size: 3,102,720 bytes
Compressed size (with my way): 1,763,004 bytes
Compressed size (with Compression Bin): 1,431,824 bytes !!!

And again replace new logonui.ex_ (:with Compression Bin) to image setup cd but Setup again have this error:
"The File Logonui.exe was not copied correctly"

Please help me, I don’t understand where my error !?


How to remove advertisement from MSFN

#2
damian666

damian666

    creator of the vistapack

  • Developer
  • 678 posts
  • Joined 19-July 06
  • OS:Windows 8.1 x64
  • Country: Country Flag
you have too "modifype" the file.
this makes sure setup doesnt detect the change in the file.
google for modifype, sure you get a hit.

Damian666
Posted Image

#3
danker

danker

    Member

  • Member
  • PipPip
  • 116 posts
  • Joined 28-September 05
ResHacker normaly is correct the pe-sum automatical, only if your new file over 10MB.
But the 10MB is a windows limitation, if your file bigger then 10MB you have to UPX it first.

A member from ouer german nlite forum has written a tool to read out the PE sum an to correct it.
This tool is german only but mybe its helpfull for you.

http://www.german-nl...m...st&p=122189
This tool needs Dot.Net2, the name is "PEChecksumBearbeiter"

This tool works with drag&drop and the language should not be necessary for use.


#4
damian666

damian666

    creator of the vistapack

  • Developer
  • 678 posts
  • Joined 19-July 06
  • OS:Windows 8.1 x64
  • Country: Country Flag
no, i am sorry, but that is not the case man.
reshacker cant recreate that checksum.

only modifype is capable of cheating around the setup file checks.
trust me, its all over the forum here... search for modifype, you wil see...

Damian666
Posted Image

#5
danker

danker

    Member

  • Member
  • PipPip
  • 116 posts
  • Joined 28-September 05
All the time with SP2 i never looked for the PE sum, and never got problems.
With SP3 it got some problems with my modify files and i looked for the PE sum.
EVRY file i modify with ResHacker got the right PE sum!
(only one file up to 10MB got a wrong PE sum!)

Thats the reason why §engelmarkus" has wroten the tool "PEChecksumBearbeiter" to check the PE sum.


#6
Darg

Darg
  • Member
  • 3 posts
  • Joined 04-May 08
tanks all
i fix it with your help
the main word for search was "modifype"

i first edited file send to modifype and this changes my edited file. befor this i can see bitmap pictures with reshacker an now reshacker dont show those pictures (it first that i extract logonui.exe form main logonui.ex_).

and correct, I use than SP3 Setup and now dont problem with replace other files (for example ntoskrnl.exe)

#7
damian666

damian666

    creator of the vistapack

  • Developer
  • 678 posts
  • Joined 19-July 06
  • OS:Windows 8.1 x64
  • Country: Country Flag
yep, as i said, modifype is the way :D

good luck with your modifications man :D

Damian666
Posted Image

#8
johny119

johny119
  • Member
  • 2 posts
  • Joined 14-February 10
copy the orginal logonui.ex_ into local drive..xtract it by "expand logonui.ex_ -r" or winrar.
THEN EDIT VIA RESOURCE TUNNER.
tHEn COMPRESS IT BY TYPING "MAKECAB LOGONUI.EXE" DONE NOW JUST PUT IT TO I386 FOLDER

Edited by johny119, 26 February 2011 - 02:32 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN