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



------------------------------------------------------------------------------
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

Reply via email to