Membership is FREE, giving all registered users unlimited access to every Acorn Domains feature, resource, and tool! Optional membership upgrades unlock exclusive benefits like profile signatures with links, banner placements, appearances in the weekly newsletter, and much more - customized to your membership level!

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.

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Members online

Premium Members

New Threads

Domain Forum Friends

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators
General chit-chat
Help Users
  • No one is chatting at the moment.
      There are no messages in the current room.
      Top Bottom