MOTOSHARE 🚗🏍️

Rent Bikes & Cars Directly from Owners

Motoshare connects vehicle owners with people who need bikes and cars on rent. Owners earn from idle vehicles, and renters get flexible ride options.

Visit Motoshare

INNO Setup: Defining Configuration Files in Setup Package

General

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

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
0
Would love your thoughts, please comment.x
()
x