Or just use the Date Property -> http://msdn.microsoft.com/en-us/library/aa368261.aspx
Palbinder Sandher Software Deployment & IT Administrator 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: Blair [mailto:os...@live.com] Sent: 19 August 2010 06:06 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Date value and string formatting Immediate custom actions can both read and set properties, as well as read database tables and add temporary rows. -----Original Message----- From: Thorpe, Alan [mailto:atho...@bottomline.com] Sent: Wednesday, August 18, 2010 5:20 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Date value and string formatting Is there a built-in way to retrieve the date ("8/18/2010") at install-time? The environment variable DATE returns "Wed 08/18/2010" which then requires string formatting. This would be cake in Java script or VB script, but is there a way to return values from the custom action (other than exit code)? ------------------------------------------------------------------------ ---- -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------ ------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users