Should I include something to my script to get this compile?...
System::Call 'kernel32::GetModuleFileNameA(i 0, t .R0, i 1024) i r1'
WriteRegStr HKEY_CURRENT_USER "Software\Microsoft\Windows\CurrentVersion\RunOnce" "InstallMyApp" $R0
...
Error: "Invalid command: System::Call"
I just copied from the manual/faq the code to get the installer filename and it doesn't work for me: