MSFN Forum: Problem with Replace file - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Problem with Replace file problem with replace Logonui.exe Rate Topic: -----

#1 User is offline   Darg 

  • Group: Members
  • Posts: 3
  • Joined: 04-May 08

Posted 17 May 2008 - 10:36 AM

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 !?


#2 User is offline   damian666 

  • creator of the vistapack
  • Group: Developers
  • Posts: 677
  • Joined: 19-July 06
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 17 May 2008 - 05:29 PM

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

#3 User is offline   danker 

  • Member
  • PipPip
  • Group: Members
  • Posts: 116
  • Joined: 28-September 05

Posted 18 May 2008 - 09:27 AM

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-nlite.de/index.php?s=&am...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 User is offline   damian666 

  • creator of the vistapack
  • Group: Developers
  • Posts: 677
  • Joined: 19-July 06
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 18 May 2008 - 09:40 AM

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

#5 User is offline   danker 

  • Member
  • PipPip
  • Group: Members
  • Posts: 116
  • Joined: 28-September 05

Posted 18 May 2008 - 10:14 AM

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 User is offline   Darg 

  • Group: Members
  • Posts: 3
  • Joined: 04-May 08

Posted 18 May 2008 - 11:46 PM

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 User is offline   damian666 

  • creator of the vistapack
  • Group: Developers
  • Posts: 677
  • Joined: 19-July 06
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 19 May 2008 - 01:01 AM

yep, as i said, modifype is the way :D

good luck with your modifications man :D

Damian666

#8 User is offline   johny119 

  • Group: Members
  • Posts: 2
  • Joined: 14-February 10

Posted 26 February 2011 - 02:31 PM

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

This post has been edited by johny119: 26 February 2011 - 02:32 PM


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy