Write into Text File Problem
Posted: Wed Feb 15, 2006 2:08 am
Hi,
We are using InstallAware Studio for creating Web Installer. In the Installer we need to add the user name and password in one of the config files in IIS. for that i tried to use the command Write into Text File. but i cannot see any change in the target file after installation.
my code looks like this:
[DEFINE REGION: Perform First Time or Maintenance Installation]
// Install/Re-Install product
Create Shortcut $SHORTCUTFOLDER$\\Uninstall ictm to $UNINSTALLLINK$
[OFFLINE CONTENT]
Install Files E:\\admin\\files\\ictm\\*.* to $TARGETDIR$\\ictm
Install Files E:\\admin\\files\\soft\\*.* to $TARGETDIR$\\ictm\\soft
Write into Text File $TARGETFIR$\\web.config from Value <configuration> (at start of file)
[DEFINE WEB MEDIA ictm]
I removed the file web.config from the installation and tried. The document says that it will create the file if the file doesnt exists. but it doesnt creating the file too.
And also i dont understand the text in the help that says
"This command does NOT execute through Windows Installer and is provided as a convenience to the setup author."
Does this means that Write into Text File is not a windows installer command?
Muthu
We are using InstallAware Studio for creating Web Installer. In the Installer we need to add the user name and password in one of the config files in IIS. for that i tried to use the command Write into Text File. but i cannot see any change in the target file after installation.
my code looks like this:
[DEFINE REGION: Perform First Time or Maintenance Installation]
// Install/Re-Install product
Create Shortcut $SHORTCUTFOLDER$\\Uninstall ictm to $UNINSTALLLINK$
[OFFLINE CONTENT]
Install Files E:\\admin\\files\\ictm\\*.* to $TARGETDIR$\\ictm
Install Files E:\\admin\\files\\soft\\*.* to $TARGETDIR$\\ictm\\soft
Write into Text File $TARGETFIR$\\web.config from Value <configuration> (at start of file)
[DEFINE WEB MEDIA ictm]
I removed the file web.config from the installation and tried. The document says that it will create the file if the file doesnt exists. but it doesnt creating the file too.
And also i dont understand the text in the help that says
"This command does NOT execute through Windows Installer and is provided as a convenience to the setup author."
Does this means that Write into Text File is not a windows installer command?
Muthu