KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
i need to write in registry the current date, when my app were installed. For this i have created function in [code] section and trying to call it from [registry] section but it doesnt work. How can i call my function from [registry] section to get the value which it returns? [Registry] Root: HKLM; Subkey: SOFTWARE\MyAppName; ValueType: string; ValueName: date; ValueData: **{code:DateTime}**; Flags: createvalueifdoesntexist; Tasks: ; Languages: [Code] function DateTime() : String; begin result := GetDateTimeString('dd/mm/yyyy hh:nn:ss', '-', ':'); end;
Tags (comma-separated)
Save Edits
Cancel