Archive: How to use GetTime in an uninstall section


How to use GetTime in an uninstall section
  Hello

I'd like to use the GetTime macro in an uninstall section.

I get the error message "Call must be used with function name starting with "un." in the uninstall section"

My code looks this way:


(...)

!insertmacro GetTime
>(...)

Functionun.RemoveSpecialFile
${GetTime} '' 'L' $0 $1 $2 $3 $4 $5 $6
Rename "$SYSDIR\file.tst" "$SYSDIR\file_$0$1$2_$4$5$6.tst"
>FunctionEnd
>
The function un.RemoveSpecialFile is called by Section "Uninstall".

Does anybody has an idea to handle this?

Thanks

th_mi

!insertmacro un.GetTime
............
${un.GetTime} ........