Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

incorrect windows version with HX (DOSX)

posted by Arjay(R), 10.04.2015, 03:21

> hi,
> i've download the latest version of 7z for win32 (not 7za) and pestub
> 7z.exe (the console version).
> I receive the message "incorrect windows version" if i run the modified
> .exe file.
From memory literally all PEStub does is I think put HX in place of the PE signature or swaps the PE around - I forget which and don't have it to hand.
What it doesn't do is recalculate the PE signature or change the expected Windows version bytes. Some to try would be to just put a lower set of version bytes in place using a standard PE executable editor.

> With older version this dont occour (see my older version pestubbed in
> www.fracassi.net/iw2evk/7zipdos.htm ).
I'd suggest viewing the version bytes of this version and try patching the new version to have the same expected Windows version bytes and see.

> Can i pass a win release with a setting in hx for "work around " to this
> problem?
Try patching the EXE version bytes as above before processing with PEStub.
I have a lot of not great things going on right now but if you can put the files up somewhere I can download, I'll find 5 mins to have a very quick look.

 

Complete thread:

Back to the forum
Board view  Mix view
15112 Postings in 1359 Threads, 247 registered users, 10 users online (0 registered, 10 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum