Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 6th, 2012  |  syntax: None  |  size: 0.38 KB  |  hits: 33  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Get returning value of a function in Inno setup
  2. [Registry]
  3. Root: HKLM; Subkey: SOFTWAREMyAppName; ValueType: string; ValueName: date; ValueData: **{code:DateTime}**; Flags: createvalueifdoesntexist; Tasks: ; Languages:
  4. [Code]
  5. function DateTime() : String;
  6. begin
  7.   result := GetDateTimeString('dd/mm/yyyy hh:nn:ss', '-', ':');
  8. end;
  9.        
  10. function DateTime(param: string) : String;