I have a software exe file that after it is installed, there is an ini file in the software program folder. I modified the ini file and would like to have that modification incorporated in the exe file. Otherwise, every time I install the exe file, I have to overwrite the ini file with the modified ini file. How can I modify the exe file so that I can eliminate the need to overwrite the ini file each time I install the exe file?
+ Reply to Thread
Results 1 to 10 of 10
-
-
I think this will depend heavily on what program was used to make the original Installer file. If it is a open source program there is a chance you will be able to get hold of the installer script used to generate the install exe. And then you might be able to "compile" your own installer.
Here is some info for installers made with NSIS (Nullsoft Scriptable Install System)
http://nsis.sourceforge.net/Can_I_decompile_an_existing_installer
I was wanting to do this myself, but have found it easier to replace files manually than to recreate an installer, but I guess it depends on your application and how frequently you want to do it.
Another thought just occured to me. you could Make your own custom installer, which runs the original installer, and then afterwards, copies the updated "ini" file into the appropriate place. -
is it a self-extracting rar archive or a program exe?
--
"a lot of people are better dead" - prisoner KSC2-303 -
You'll find that most programmers go to great length to prevent end-users from modifying their code. Plus, all you will see is compiled code and not something like VBasic or C++. Unless you are very proficient at reading machine language (which you obviously are not, since you are asking this question), you should probably just make yourself a directory called "MY_INIs" and place your modified INIs in there. When you have to reinstall, just copy your modified INI back to the program's directory.
ICBM target coordinates:
26° 14' 10.16"N -- 80° 16' 0.91"W -
The install file and new ini can be seen at:
http://www.fileden.com/files/2006/11/30/441298/AVIConverter%20Setup%205.rotate.rar
But as I am not proficient with computers, I will probably just copy over the ini file each time I install the exe. -
In most instances, you can't edit/modify the exe file. That is the reason for using ini files.
Google is your Friend -
You could use a beatch file . Use this to install the program as done normally, then get it to replace the ini file, which you could zip up into a new exe file
Corned beef is now made to a higher standard than at any time in history.
The electronic components of the power part adopted a lot of Rubycons. -
Sounds like what you want to do would be fairly simple using autoit, autoit would allow you to automate the process of installing the exe and overwriting the ini file. I have built 3 versions of Windows XP install disk using this program.
Windows XP ver 1: Installs windows Xp then installs. (version 1 is use as the base for my other two versions.)
FireFox
Maleware bytes
Avira
Office 2010
Adobe Acrobat Reader
Flash Player
Video, Printer, modem, and Scanner drivers
notepad++
Imgburn
haali Media Splitter
MPC-HC
Winrar
Sandboxie
Version 2 includes all my video editing apps (CS4, Virtualdub, etc).
Version 3 includes all of my programing apps (netbeans, Eclipse, webshere, SQL Server, .net Studio, etc).Last edited by dragonkeeper; 29th Oct 2011 at 10:03.
Murphy's law taught me everything I know. -
The thread originally ended 3 1/2 years ago. Who cares at this point?
Similar Threads
-
Trying to modify .VOB file - why didn't this work?
By brassplyer in forum Authoring (DVD)Replies: 8Last Post: 7th Feb 2011, 22:03 -
question about ntoskrnl.exe
By mysts in forum ComputerReplies: 4Last Post: 8th May 2010, 12:12 -
A question about suspicious "Rebuilder.child.exe" file in DVD Reb
By Talayero in forum DVD RippingReplies: 0Last Post: 8th Jun 2008, 10:17 -
EXE video file
By Alexstarfire in forum Video ConversionReplies: 8Last Post: 13th Nov 2007, 14:57 -
has anyone got the old 2.1 .exe file
By NIPPERLOCKO in forum SVCD2DVD & VOB2MPGReplies: 10Last Post: 27th Oct 2007, 12:35