Automated MSI installation

前端 未结 3 1029
难免孤独
难免孤独 2020-12-08 11:35

What is the best way to automatically install an MSI file or installer .exe? We want to do some automated testing from our build system on the installed copy of the product.

3条回答
  •  长情又很酷
    2020-12-08 12:21

    If you head over to one of your MSI packages in the command prompt and run a:

    Myproduct.MSI /?
    

    A screen will pop up with all the details of command line parameters that you can pass to the MSI. I am sure that in this way you could install your application via a command prompt and in this way automate it.

提交回复
热议问题