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
I’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I am working at Cotocus. I blog tech insights at DevOps School, travel stories at Holiday Landmark, stock market tips at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at I reviewed , and SEO strategies at Wizbrand.
Please find my social handles as below;
Rajesh Kumar Personal Website
Rajesh Kumar at YOUTUBE
Rajesh Kumar at INSTAGRAM
Rajesh Kumar at X
Rajesh Kumar at FACEBOOK
Rajesh Kumar at LINKEDIN
Rajesh Kumar at PINTEREST
Rajesh Kumar at QUORA
Rajesh Kumar at WIZBRAND