How to launch an executable on the end of installation with proper rights?

后端 未结 1 854
我在风中等你
我在风中等你 2021-02-15 08:07

I\'m launching my Windows application this way after the installation completes:

!define MUI_FINISHPAGE_RUN_FUNCTION \"LaunchApplication\"

...

Function LaunchA         


        
1条回答
  •  有刺的猬
    2021-02-15 08:58

    Use Exec '"$WINDIR\explorer.exe" "$TEMP\MyUnElevatedProcess.exe"'

    Taken from http://mdb-blog.blogspot.com/2013/01/nsis-lunch-program-as-user-from-uac.html

    0 讨论(0)
提交回复
热议问题