Re: [WiX-users] Date calculations

2009-02-24 Thread Reddy, Mallikarjun (GWM-CAI)
Thanks John. That helped -Original Message- From: John Nannenga [mailto:john.nanne...@microsoft.com] Sent: Tuesday, February 24, 2009 2:40 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Date calculations DateAdd returns a date, Session.Property

Re: [WiX-users] Date calculations

2009-02-24 Thread John Nannenga
dd("d",-30,DateValue(Now))) End SUB call CalcMigratorDate -Original Message- From: Reddy, Mallikarjun (GWM-CAI) [mailto:mallikarjun_re...@ml.com] Sent: Tuesday, February 24, 2009 12:44 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-user

[WiX-users] Date calculations

2009-02-24 Thread Reddy, Mallikarjun (GWM-CAI)
Hello, In a custom action, I am going to run an exe with args. One of the args is a date that is 30 days older than today. Could some let me know how this could be done? Here is how I am trying to solve this. Create a property calle "OLDDATE" Create a custom action that has vbscript which runs