سؤال

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.

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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top