agshah
Occasional contributor
- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
Feb 12, 2018
07:11 PM
How to use Date Property in InstallScript
Hi all,
I want to set a string value to the Date property in InstallScript.
string strDate;
strDate = Date;
But this errors out with 'Date not defined'. How to use this?
I am able to do
strDate = INSTALLDIR
so not sure why Date is not working.
I want to set a string value to the Date property in InstallScript.
string strDate;
strDate = Date;
But this errors out with 'Date not defined'. How to use this?
I am able to do
strDate = INSTALLDIR
so not sure why Date is not working.
1 Reply
ch_eng
Flexera beginner
- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
Feb 28, 2018
12:33 PM
Re: How to use Date Property in InstallScript
agshah,
I don't know about the Date property, but this can be used in InstallScript:
reference:
http://helpnet.installshield.com/installshield22helplib/Subsystems/installshield22langref/helplibrar...
HTH
I don't know about the Date property, but this can be used in InstallScript:
GetSystemInfo( DATE, nResult, strDate );
GetSystemInfo( TIME, nResult, strTime );
svDateTime = strDate + " " + strTime;
reference:
http://helpnet.installshield.com/installshield22helplib/Subsystems/installshield22langref/helplibrar...
HTH