This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: modify ini file
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 22, 2008
06:35 PM
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
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
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 22, 2008
11:58 PM
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.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 23, 2008
12:32 PM
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..
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 26, 2008
12:09 AM
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.