I have a program written that obtains user configurable settings from an ini. Unfortunately the user of this computer is also an administrator of the computer and as a result is changing the configuration settings in the ini and in turn altering the way the program runs.
I to keep the program as an exe and the ini to keep it easily configurable but don't want the user to have access to the ini. Is there any way to embed the ini in, or append the ini to, the executable so that the program will have access to it internally but not leave it or read it from where the users has access to it.
I kind of inviosion it being done during the install. The program, ini and install program would be on a flash drive. The "installer" would set the parameters in the ini and when the install program would run it would either embed the ini in the program or appened the ini to the program and them install it on the computer.
Doable?
I to keep the program as an exe and the ini to keep it easily configurable but don't want the user to have access to the ini. Is there any way to embed the ini in, or append the ini to, the executable so that the program will have access to it internally but not leave it or read it from where the users has access to it.
I kind of inviosion it being done during the install. The program, ini and install program would be on a flash drive. The "installer" would set the parameters in the ini and when the install program would run it would either embed the ini in the program or appened the ini to the program and them install it on the computer.
Doable?