Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
128 views
in Technique[技术] by (71.8m points)

.net - Removing Default dialogs from MSI

I have a bootstrapper which wraps many msi files. Some of them require user input to configure some features. These msi files that need custom configuration show too many dialogs that I need to remove, such as WelcomeDlg.

I've read around but I ain't found any solution that suits my actual requirement so I'm wondering if it's feasible actually. So, would it be possible to just show up the dialogs that need the user interaction, avoiding the Welcome or the Finish dialogs, for instance?

Thanks in advance!

Question&Answers:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

WiX Alternatives: After describing WiX's Burn feature, I started thinking that it might not be what you need to get your job done. It is developer heavy and involved - though it should be perfectly manageable for a developer to implement what is needed without too many problems. Flexibility is very high.

Commercial deployment tool options Installshield and Advanced Installer have GUI-interfaces you can use to create a setup.exe which will kick off MSI files with parameters you gather.

Installshield

In Installshield there is a rather new feature in recent editions called Installshield Suite Projects. I am not sure what editions it is available in (higher editions - for example "Premium"). It allows you to install a variety of files "in sequence": MSI, MSP, EXE, MSU, etc....

Though I have never used it much, I am pretty sure you can create a suite GUI fairly easily, and control what dialogs show from what setup. I would install them all silently with a command line. Do check out at least the first link below - the screen shots. It should give you the basic idea of things.

Some Links:

Advanced Installer

Advanced Installer features advanced options to include prerequisites and packages with your main MSI installer, and allows you to create new dialogs just like Installshield. Yet again I haven't had the time to test it fully, but below are some pointers on its use.

The features for this center around the views "Prerequisites", "Build" and "Dialogs". In the "Build" view set EXE output. In "Prerequisites" select the top level "Packages" item to get a list of built-in, available prerequisites. Right click "Pre-Install" to add your own package. I am not familiar with the dialog details, but you can work on them in the "Dialogs" view. Not rocket science is the good news.

Some Links:

I will stop at that. Too many links already.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...