How can I get NSIS to install and execute files from a temp directory?

前端 未结 3 550
囚心锁ツ
囚心锁ツ 2021-02-07 18:24

I\'m using the following NSIS script:

Name \"My app wrapper\"
Outfile \"MyAppSetup.exe\"
InstallDir $TEMP\\MyApp\\Install
Function .onInit
SetSilent silent
Funct         


        
3条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-07 19:06

    I don't know if it would solve your problem but I would write :

    Exec $TEMP\MyApp\Instal\setup.exe
    

    Are you sure that $TEMP is pointing to C:/Temp? Did you check it?

提交回复
热议问题