How to automatically install MySQL dot net connector while installing the Windows Form application

后端 未结 2 1354
暗喜
暗喜 2021-01-06 13:29

I am quite new to C# .net windows form application. I am building a Windows Form application and using MySql with it as a back end.

Now the problem is when I build

2条回答
  •  天涯浪人
    2021-01-06 14:13

    From MySQL manual:

    You may also use the /quiet or /q command-line option with the msiexec tool to install the Connector/Net package automatically (using the default options) with no notification to the user. Using this method the user cannot select options. Additionally, no prompts, messages or dialog boxes will be displayed.

    C:\> msiexec /package connector-net.msi /quiet
    

    To provide a progress bar to the user during automatic installation, use the /passive option.

提交回复
热议问题