Executing installed batch file in Inno Setup

前端 未结 1 652
天涯浪人
天涯浪人 2021-01-03 12:09

I want the installer to create a service. I usually do this manually just by running the command prompt as an Administrator and going to the location of the .bat

相关标签:
1条回答
  • 2021-01-03 12:34

    To execute a batch file in Inno Setup during installation, use the [Run] section entry:

    [Run]
    Filename: "{app}\bin\service.bat"; Parameters: "install"; Flags: runhidden
    
    0 讨论(0)
提交回复
热议问题