opusinstall
Posts: 1
Joined: Wed Jun 13, 2018 10:51 pm

How to change a parameter in ini file

Hi,

I would like to change just one parameter of the ini file to another value but keep the rest of the file intact. As a result, I don't want to overwrite the entire file but just one line in the ini file.

Is there a way to do it with Advanced installer?

Thanks in advance

Chung
Catalin
Posts: 6592
Joined: Wed Jun 13, 2018 7:49 am

Re: How to change a parameter in ini file

Hello Chung and welcome to Advanced Installer forums,

Please bare in mind that when adding a .INI file to your package, you have two options. One of them is to import the file as a
regular file and the other one is to import it in Windows Installer format. In order to use the Advanced Installer INI editor, you have to import the file in Windows Installer format.

Now, in order to modify an INI file's entries or sections, you can follow our "Edit INI File Dialog" tutorial.

Another way to do this is to use the "New Text File Update" option. In order to do this, go to "Files and Folders" page in the left pane, select your INI file and press on the "New Text File Update" button. After that, go to "Replace" tab and configure it as you wish.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”