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
- :
- Log file in INSTALLDIR
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
‎Jan 16, 2013
05:43 PM
Log file in INSTALLDIR
Hello,
I have an InstallShield 2011 Basic MSI project that I'm working on. One of the requirements for the project is that the log file that is produced ends up in the installed directory. Creating the log file with location INSTALLDIR doesn't work since when the log file is started INSTALLDIR hasn't been set yet. Another strategy is to either move or copy the log file into INSTALLDIR. I've tried creating the log in a temporary location and then moving it to INSTALLDIR using the MoveFile table in the Direct Editor. This didn't work.
I'm hoping someone else has worked through this problem or that someone has an idea for how to do this.
Thanks for reading.
I have an InstallShield 2011 Basic MSI project that I'm working on. One of the requirements for the project is that the log file that is produced ends up in the installed directory. Creating the log file with location INSTALLDIR doesn't work since when the log file is started INSTALLDIR hasn't been set yet. Another strategy is to either move or copy the log file into INSTALLDIR. I've tried creating the log in a temporary location and then moving it to INSTALLDIR using the MoveFile table in the Direct Editor. This didn't work.
I'm hoping someone else has worked through this problem or that someone has an idea for how to do this.
Thanks for reading.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 16, 2013
08:55 PM
Windows Installer doesn't support this "requirement". Reject it.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 17, 2013
10:26 AM
Alright thanks, I'll talk to my boss about it. I was hoping that there might be some sort of workaround, but I guess not.
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)