How I can modify config files during the installation?
For example, I have a dialog for input of several parameters, what should I do to insert values of this parameters to a config file?
how modify config files?
-
- Site Admin
- Posts: 364
- Joined: Mon Jul 30, 2007 11:51 am
- Location: USA
- Contact:
For this you can use the "Write to Text File" MSI command. This function writes to a file in the target system either at the beginning or at the end of the file
Alejandro Ronquillo
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
-
- Site Admin
- Posts: 364
- Joined: Mon Jul 30, 2007 11:51 am
- Location: USA
- Contact:
Unfortunatelly there is no way to replace certain text in a file. You need to write the whole file content.
Alejandro Ronquillo
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
-
- Posts: 33
- Joined: Mon Jul 16, 2007 5:07 am
- Location: Denmark
will this do?
Hey
saw this EditFile plugin in the Plugins section - is that not what you need?
http://www.installaware.com/forums/viewtopic.php?t=81
Bo
saw this EditFile plugin in the Plugins section - is that not what you need?
http://www.installaware.com/forums/viewtopic.php?t=81
Bo
-
- Site Admin
- Posts: 364
- Joined: Mon Jul 30, 2007 11:51 am
- Location: USA
- Contact:
baton1234,
Bo Andersen is right. That is exactly what you need.
Thank you Bo.
Bo Andersen is right. That is exactly what you need.
Thank you Bo.
Alejandro Ronquillo
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Who is online
Users browsing this forum: No registered users and 84 guests