MSFN Forum: Universal Extractor recompilation - MSFN Forum

Jump to content



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

Universal Extractor recompilation

#1 User is offline   jbm 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 626
  • Joined: 16-September 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 27 February 2008 - 02:36 AM

Anyone know how to add this file into the setup of Univextractor.
I extracted it to a sub dir and copied the new file.
I have inno setup 5.2.2 installed.
when I tried to compile the iss script it gave me this error.

This post has been edited by jbm: 27 February 2008 - 02:43 AM



#2 User is offline   nitro322 

  • Advanced Member
  • Group: Developers
  • Posts: 387
  • Joined: 05-November 04

Posted 28 February 2008 - 10:14 PM

jbm - hope you don't mind, but I split off your post from the end of the other thread. Since we have our own subforum now, I figure it'd be easier to take the "one thread per general topic" approach rather than starting another crazy-long 800 post thread. :-)

As for your problem, I really can't think of what would cause that. LangRead is a custom function that I wrote, but it's included in the uniextract15.iss file (or uniextract16.iss). Assuming that's what you're trying to compile, and the file didn't get corrupt or truncated or anything, it should just work.

#3 User is offline   mushu13 

  • Newbie
  • Group: Members
  • Posts: 41
  • Joined: 17-October 06

Posted 28 February 2008 - 10:37 PM

View Postnitro322, on Feb 28 2008, 11:14 PM, said:

As for your problem, I really can't think of what would cause that. LangRead is a custom function that I wrote, but it'sincluded in the uniextract15.iss file (or uniextract16.iss). Assuming that's what you're trying to compile, and the file didn't get corrupt or truncated or anything, it should just work.
I did some research :D

The reason it won't recompile is because innounp won't decompile the [Code] section from the installer.
Instead it just extracts the compiled code into 'embedded\CompiledCode.bin'

There is a way to decompile the .bin using the ROPS Disassembler from the innounp site. However, it produces a code file that seems to require modification to be reused in IS.

As you can see, there are a few choices:
1. Create a personal installer (use IS to package your UniExtract directory)
2. Wait for a new release
3. Convince Nitro to post the needed code
4. 'fix' the decompiled code

My suggestion is 1, then 2

Glad I could help you guys! (keeps me from getting in trouble elsewhere :lol:)

This post has been edited by mushu13: 28 February 2008 - 10:38 PM


#4 User is offline   nitro322 

  • Advanced Member
  • Group: Developers
  • Posts: 387
  • Joined: 05-November 04

Posted 28 February 2008 - 11:54 PM

Oh, you're trying to recompile the installer after unpacking it with innounp? Yeah, that's not going to work at all.

I provide the source code and all necessary support files on the website. Download that, along with the binary archive, extract all of it to the same directly, then try making your changes and compiling a new installer.

#5 User is offline   mushu13 

  • Newbie
  • Group: Members
  • Posts: 41
  • Joined: 17-October 06

Posted 29 February 2008 - 12:40 AM

View Postnitro322, on Feb 28 2008, 11:54 PM, said:

Oh, you're trying to recompile the installer after unpacking it with innounp? Yeah, that's not going to work at all.

I provide the source code and all necessary support files on the website. Download that, along with the binary archive, extract all of it to the same directly, then try making your changes and compiling a new installer.
Wow.
I can't believe I missed the .iss file in the source archive.

Oh well. Now I know to double check the source!

#6 User is offline   Teh_Tech 

  • Resident noob
  • Group: Members
  • Posts: 34
  • Joined: 31-March 08

Posted 27 May 2008 - 06:49 PM

Hi!
I know I am going to sound quite thick here, but once I have extraced the files, how do I go about re-packaging them up again?

I have searched but I cannot find out how, please take pity and help me :)

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