Function .onInstSuccess WriteRegStr HKLM "Software\路径" "键" "$INSTDIR\app.exe" FunctionEnd !macro customInstall WriteRegStr HKLM "Software\路径" "键" "$INSTDIR\app.exe" !macroend
Function .onInstSuccess WriteRegStr HKLM "Software\路径" "键" "$INSTDIR\app.exe" FunctionEnd !macro customInstall WriteRegStr HKLM "Software\路径" "键" "$INSTDIR\app.exe" !macroend