INNO Setup: Defining Configuration Files in Setup Package

msiexpert created the topic: INNO Setup: Defining Configuration Files in Setup Package

This is probably a simple fix but I can’t seem to wrap my head around it. I have an app to install that will need the user to select 1 of 3 possible INI files to accompany the install. I could easily do 3 different setups, each using a different INI but I would like to simplify matters and just give the user the choice of INI at the time of install. The INI files have the same name, so when packaged they will have to be given different names. Once the user selects which INI to install, it would be extracted into the app directory and renamed. Is there any way to do this?

Thanks for your help!

msiexpert replied the topic: Re: INNO Setup: Defining Configuration Files in Setup Package
A possible way is to create a [Run] section (or add to it) and execute (AfterInstall: parameter) a Pascal routine that delete the extra ini files and rename the remaining one

Rajesh Kumar
Follow me
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x