Added MakeARPInstallDate macro to help create the Add/Remove Programs InstallDate property
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6995 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
b0430b251b
commit
3e708be352
2 changed files with 10 additions and 0 deletions
|
@ -153,5 +153,12 @@ IntPtrCmpU `${a}` `${b}` `${jeek}` `${jles}` `${jgtr}`
|
|||
!macroend
|
||||
|
||||
|
||||
!define MakeARPInstallDate "!insertmacro MakeARPInstallDate "
|
||||
!macro MakeARPInstallDate _outvar
|
||||
System::Call 'KERNEL32::GetDateFormat(i0x409,i0,p0,t"yyyyMMdd",t.s,i${NSIS_MAX_STRLEN})'
|
||||
Pop ${_outvar}
|
||||
!macroend
|
||||
|
||||
|
||||
!endif # !___UTIL__NSH___
|
||||
!verbose pop
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue