Is there a way to get local date time stamp in Inno Setup ?
标签:
inno-setup
相关问题
- Inno Setup - Run InstallUtil from .Net 4.5 Locatio
- ISCC - /D compiler-parameter seems to have no effe
- Setting DestDir from Inno Pascal?
- Unpin app from taskbar, startmenu using Inno Setup
- How to restrict user input of the directory edit b
相关文章
- In inno setup how to set the unins000.exe with pro
- Is it possible to create checkbox tree view in Inn
- How to add a region drop-down in Inno Setup?
- Signing installer of my program generated by Inno
- How to check 64/32-bit in Inno setup
- Inno Setup - How to create checkboxes at finished
- Inno Setup - BorderIcons dropdown menu
- Inno Setup - How to display a message after instal
The answer depends on when you need it.
Needed at the time the setup is built.
You will need to use ISPP which is part of the Quick Start pack.
You can use the
str GetDateTimeString(str, str, str)
function.Example:
#define MyDateTimeString GetDateTimeString('dd/mm/yyyy hh:nn:ss', '-', ':');
The help menu in ISTool (Also a part of the Quick Start Pack) has a good help file for ISPP functions including this one where there is a page of information on this function.
Needed at the time of install.
Although a different source, the function is also called
GetDateTimeString
Then it must be in a pascal coding block.Example:
The details of how to use it are found in the Help File.
Although both functions have the same name, the context of when they are used is important to understanding why you would get one value over another.