• Welcome to AcornDomains.co.uk, a friendly community for UK domain investors, developers and anyone interested in domain names.

    Whether you're looking to buy or sell domains, learn more about the UK domain market, get feedback on your names, or simply chat with other domainers, you're in the right place. AcornDomains has been bringing together people from across the UK domain industry for many years, from complete beginners to experienced investors.

    Have a look around, join the discussions and, if you haven't already, create a free account and introduce yourself.

Wanted: Service Unpack .exe program make change and repack

Status
Not open for further replies.
Joined
Apr 20, 2006
Posts
1,998
Reaction score
82
I need a change to a progran that is delivered in .exe format.


I need to insert one line of code in a ".ini" file so when it is installed it is there



Can you help?












.
 
You can tack ASCII on the end of the .exe binary. I'm assuming you wrote it, so you can concatenate the .ini data to the .exe, then find the pointer offset of its location using a hex editor or binary dump, and then set the read pointer from within the .exe to read the text from what is now a 'plumper' .exe. Actually, even if you didn't write the original .exe, this will work but you'll need to code it. PM me if you need any help.

Edit: If it's simply an executable zip file, you should just be able to unzip it to reform the constituent parts; make your changes, then recreate the executable zip.
 
Last edited:
Sometimes .exe files are just executable zip archives with an autorun program...

It's only a 25% chance but try opening the .exe with something like winrar and see if you can see the files, if you can, then extract them - alter as you wish and re-create the executable zip archive again.
 
If it creates an .ini file while installing, it is (most probably) some sort of an install script like InastallShield or similar. In this case you can't do any changes easily. So you will be better off recreating the installation. There is a free alternative to Windows Installer or InstallShield called Inno Setup. You can find it here: http://www.jrsoftware.org/isinfo.php

Install your soft in some sort of a "sandbox" (google free win sandboxes, they are quite a few) that records the changes to the registry / files etc. Then you can write your own install with the functions you want.

Hope this helps! Good luck.
 
Last edited:
Status
Not open for further replies.
Top Bottom