cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jagjit_82
Level 6

modify ini file

hi
i have a folder named "abc" which contains a .ini file named "temp.ini"
i want to modify this ini file.

the problem is that abc folder is in my setup folder which eventually is copied to windows volume.
after it is copied to volume i need to pick temp.ini file and need to modify a variable in this file
how can i achieve this..


there is also one thing more that i would like to know.where is reboot property located.i want to reboot the system after
installtion.where could i get this property.

thanks
jagjit
Labels (1)
0 Kudos
(3) Replies
rrbilgi
Level 4

Have you tried "INI File Changes" view under the system configuration. I used this to create a new INI file, haven't used to modify an existing file. As per the documentation, it can be used to modify an ini file. You can try this. refer the Help for more info.
0 Kudos
jagjit_82
Level 6

ya i have tried but how can i make changes to file which has to be installed.i mean how wud i select a file after it is copied to system by my setup file..
0 Kudos
Snoopstah
Level 7

You can use an installscript Custom Action for this, then use GetProfString and WriteProfString functions. But you will need to know the path to your temp.ini file.
0 Kudos