Originally posted by DuaneJeffers But What If the User deletes the ini file??? The best thing about the registry is that only programmers and computer guys know about it.
That is true, but in this particular project, I wanted to import the default installation path from an ini file located in the installation media itself. I am using this to create an add-on utility to our installer which I don't create myself. Our developers keep the path information in ini files instead of the registry.
I still feel that this option could be helpful to some users.
Originally posted by justin In .onInit you can call ReadINIStr $INSTDIR ...
I did try that route before posting my original question. I think the problem I had using .onInit was that once you selected a different drive using the Browse button, the default directory would somehow just blank out.