Welcome to the Indigo Rose Software discussion forums! You will need to sign up for a forum account and login before you can post. Need help? View the Forum FAQ.
I appreciate this is where the log file filename can be set. However, I would to know if it can be changed / set else where e.g. at the top of On Startup.
What I would like to do is change this name based on the %LaunchUserDomain%. If it matches our cloud's domain locate the log file where the installer was launched otherwise maintain the status quo.
You cannot change the location of the logfile at runtime. Even if you use a session variable to define the path to the log file, afther changing the contents of the session variable in the On Startup event, the log will still continue to be written to the original path, when the file handle was opened.
Perhaps you could write the log file locally, as usual. In the On Shutdown event script, you can copy or append the current log to the cloud if needed. It will not save the full log (the setup will still be running and may not have flushed all the log entries to the disk), but it could be enough for your needs...
Comment