There's still an error dialog shown isn't there? Can't you use the same approach?
Phil Wilson -----Original Message----- From: lokanath devineni [mailto:ldevin...@yahoo.com] Sent: Wednesday, June 22, 2011 8:38 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Show Installer Log file Hi, Thanks for replying, it works for showing log file on successful installation. But i also want to show log file on failure/cancel. Thanks, Loknath ---------------------------------------------------------------------- Message: 1 Date: Wed, 22 Jun 2011 10:38:15 +0100 From: Pally Sandher <pally.sand...@iesve.com> Subject: Re: [WiX-users] Show Installer Log file To: General discussion for Windows Installer XML toolset. <wix-users@lists.sourceforge.net> Message-ID: <7e4ef7766063ec4091542b5b3e671ec403c4a...@mail.iesve.com> Content-Type: text/plain; charset="iso-8859-1" You could use the optional checkbox on the ExitDialog which would be the quickest way. See http://wix.sourceforge.net/manual-wix3/run_program_after_install.htm Instead of using [#myapplication.exe] in the example give it the full path to your log file. Palbinder Sandher Software Deployment Engineer T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the <Virtual Environment>** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -----Original Message----- From: lokanath devineni [mailto:ldevin...@yahoo.com] Sent: 22 June 2011 04:22 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Show Installer Log file Hi, ? thanks for replying, i am using self extracting executable file, it extracts all the prerequisites, msi and setup file to a perticular location in temp folder. It is accessible and writing. no issues with the generation of log file. my only pending task is best way to?show the log file link when installer fail/cancel/success cases. ? any thoughts/approaches are appreciated. ? Thanks, Loknath ---Message: 1 Date: Tue, 21 Jun 2011 09:51:43 -0700 From: Chad Petersen <chad.peter...@harlandfs.com> Subject: Re: [WiX-users] Show Installer Log file To: General discussion for Windows Installer XML toolset. ??? <wix-users@lists.sourceforge.net> Message-ID: ??? <cd87c532540af04f8fb086d0cc7808dffef...@pdx-srv-ex1.harlandfs.com> Content-Type: text/plain; charset="iso-8859-1" I'd suggest taking one step back. You mention a log file created in the temp folder. Have you tried running your installer when the temp folder doesn't exist or the TEMP variable isn't defined? If you are calling MSIEXEC /L*v and wanting it to log to a TEMP folder I recommend you try it in these error conditions. MSIEXEC.EXE won't create the folder you want to log to if it doesn't exist. So, don't assume you will always be able to create a log file in the TEMP folder. Your MSI will simply fail if it can't create the log file. It will simply say "Error opening installation log file.? Verify that the specified log file location exists and is writable." You can't really assume that any folder exists. If you want to log reliably you must ensure that the folder you want to use exists before running the MSIEXEC.EXE command. Just a word of caution. If I were to test what you are proposing on the surface I could break it in an instant. -----Original Message----- From: lokanath devineni [mailto:ldevin...@yahoo.com] Sent: Tuesday, June 21, 2011 8:14 AM To: WiX-users@lists.sourceforge.net Subject: [WiX-users] Show Installer Log file Hello All, ? I want to show installer log file created in temp folder on error/cancel? and? final screen. what are the best ways to do this? ? Thanks in advance, ? Loknath ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------ ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users *** Confidentiality Notice: This e-mail, including any associated or attached files, is intended solely for the individual or entity to which it is addressed. This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person. This email comes from a division of the Invensys Group, owned by Invensys plc, which is a company registered in England and Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 7AW (Registered number 166023). For a list of European legal entities within the Invensys Group, please go to http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77. You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail recept...@invensys.com. This e-mail and any attachments thereto may be subject to the terms of any agreements between Invensys (and/or its subsidiaries and affiliates) and the recipient (and/or its subsidiaries and affiliates). ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users