/build/static/layout/Breadcrumb_cap_w.png

Best Practices Question


How to update values of INI FIle entry

09/28/2016 1404 views
Hi,

I belong to build and release of a particular product.Which involves to compile the code from development team on daily basis and create an installer for it.
Present we have an ini file from development team which have entries pointed to installation directory.
So I added this to INI table and changed the values to [INSTALLDIR], so it would be dynamic based on the installation.
But the other entries in the INI file would be updated or added newly from th source code.So,at present I am replacing the file and adding it again on daily basis to the INIFile table.

Is there any simple workaround for this so that I don't need to do this mapping daily.
0 Comments   [ + ] Show comments

Comments


All Answers

2

Why not use the Property table and have your build process alter the various property values at build-time?

Then your INIFile table can use the property names in the same way as you're currently using INSTALLDIR.

Answered 09/28/2016 by: VBScab
Red Belt

  • Actually, development team might add whatever content they want...But I need to download that from source control daily and removing the entry and adding again..As the changes might be more than 100 lines.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ