We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

congnt92
Posts: 57
Joined: Wed Apr 16, 2014 7:53 am

Custom location log file

Hi all
I want to custom location of log file. I creat the log file by my self, from a batch file which attached in Custom action page. And if the installation is error, the "show log" option will link to my log file and open it. What should I do?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Custom location log file

Hello,

In order to achieve what you want you should simply check the "Enable verbose logging" option from "Install Parameters" page. When the installation fails the "FatalError" dialog will be displayed, containing the "Show log" check box which will open the installation log file.

Let us know if this helped, otherwise please give us more details about what you are trying to achieve (maybe exemplify).

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
congnt92
Posts: 57
Joined: Wed Apr 16, 2014 7:53 am

Re: Custom location log file

If I click finish button, log file will be opened. But I want to it open my custom log file, not MSI Log file, what should I do?
Attachments
error.PNG
error.PNG (85.18 KiB) Viewed 4318 times
congnt92
Posts: 57
Joined: Wed Apr 16, 2014 7:53 am

Re: Custom location log file

I found the thing which I need. I must be edit the string in condition field. If I want to open a specific .txt file instead MSILogfile, what should I do?
Attachments
log.PNG
log.PNG (110.29 KiB) Viewed 4309 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Custom location log file

Hello,

Please take a look on our open a special file after finish installing application forum thread which debates a similar subject.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”