This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- How to use Date Property in InstallScript
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- 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
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 28, 2018
12:33 PM
agshah,
I don't know about the Date property, but this can be used in InstallScript:
reference:
http://helpnet.installshield.com/installshield22helplib/Subsystems/installshield22langref/helplibrary/LangrefGetSystemInfo.htm
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/helplibrary/LangrefGetSystemInfo.htm
HTH
