View Full Version : Post installation script

05-25-2004, 08:36 PM
I have an installer which runs a program that I wrote right after the installation is complete. I want to create a preference file that my program can read to perform some steps after installation. I would like whoever is distributing my installer to be able to easily change this preference file, so I can't include this preference file in my installation package, I want to just send it along in the same directory as the setup exe. When my application runs after the installer runs, how does it know where this preference file is located? It will be in the same folder as the setup program but this setup program could be run from anywhere, a CD, the desktop, ect. How can I set this up so I can send a pref file along with my setup file and the application which runs after the installation can know how to find it?