Configuration variables for an .ini file?

We have a thick-client application which has an .ini file (XML format) rather than a web.config file.

Is it possible to use OctopusDeploy and configuration variables in this scenario to update the .ini file based on the environment?


Thanks for getting in touch! If your .ini file is in the same format as a web.config using appSettings and connectionStrings you can simply list:
config.#{Octopus.Environment.Name}.ini => config.ini in your “additional transforms” field (using your actual file naming structure and not my specific example).

If you require further variables you would have to use the “Substitute variables in files” feature, list your .ini file, and update it to use the variables directly.

Hope that helps!

Perfect - thanks!

Thank you!