;安装程序完成后后台运行

Function .onInstSuccess

  ExecShell "" "$INSTDIR\${PRODUCT_NAME}.exe"

FunctionEnd

注意onInstSuccess是关键。