开发者

How to make a .msi file that has no clickable screens (fully automated)?

I'm using a vdproj to create a .msi file.开发者_开发知识库

I have a continuous integration server that needs to install our program on a dedicated machine. I'd like for it to run the .msi file yet have no clickable screens because I want to fully automate the process. So the .msi file when you double click it, should do it's thing, and when it's done will just exit. No next screens, no nothing.

Is this possible, and if so what is the easiest way to do this with vdproj?


Just create your standard MSI and run it with the silent switch.

msiexec /i myapp.msi /qn


Set LIMITUI property to "1". It's not supported directly by Visual Studio, but you can add it in Property table with Orca.

This way the MSI will show only a progress bar during install when you double-click it.


See Automated MSI installation


You could also create an MSI without any entries in the InstallUISequence. When the MSI gets kicked off you'll see a generic windows progress bar, but it won't require any user interaction.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜