edit scenery.cfg by INNO Setup Compiler

Hello.
I am creating .exe file in order to compile my scenery(for P3D) file by INNO Setup.
So, I need how to edit scenery.cfg file.
I succeeded creating the command which put scenery file (BGL and DDS file).
The picture is what I made. In this picture,the scenery title is Karsplatz.
スクリーンショット (27).png
After this program, I have to write to write the program which edit cfg file.
What will I type in this INNO Setup?

And also I have another question.
I search this forum, and find that some developers create backup file before the .exe edit .cfg.
Back up file will use uninstalling, but I do not know whether P3D make order .cfg file automatically?
For Example, before uninstall, the cfg is shown below

[Area 148]
LS
[Area 149]
Karsplatz
[Area 150]
NY

After uninstalling Karsplatz, I imagine uninstaller edit cfg.
...(From backup)
[Area 148]
LS
[Area 150]
NY

After launch P3D after edit cfg file, P3D will edit automatically like this?
[Area 148]
LS
[Area 149]
NY
 
Top