Yes, the attached code is only a simplified version. the real code uses a different directory and a random name.
But my problem is, that the file is not even created if i use only the installexecute-sequence. and i would prefer to use that sequence. regards Bernd Buddell, James schrieb: > Can you put the date and time in the log file name? Or use /l*v+ on the > command line to append to the old log file? > > Cheers, > James > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL > PROTECTED] > Sent: 29 August 2008 14:07 > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] save logfile > > I need to save the logfile of the installation-process everytime. > If i use the InstallUISequence it works, but not if i use the > InstallExecuteSequence. Why? > > > <InstallUISequence> > <Custom Action="EnableLog" Sequence="1"></Custom> </InstallUISequence> > > or > > <InstallExecuteSequence> > <Custom Action="EnableLog" Sequence="1"></Custom> > </InstallExecuteSequence> > > > > <Binary Id="CustomLogs.vbs" SourceFile="CustomLogs.vbs" /> <CustomAction > Id="EnableLog" BinaryKey="CustomLogs.vbs" VBScriptCall="LogEnable" > Return="check" /> > ------------------------ > function LogEnable > Session.Installer.EnableLog "voicewarmup", "C:\setup.log" > end function > ------------------------ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users