Make custom installer with C #?

I was very pleased that the new Microsoft installer used mainly for its Blend installations that use WPF, I wonder if I can do something like this for my application?

The main problems are creating a directory of program files and registering the application in Windows, so it adds it to the list of adding / removing applications.

Is there anyone with little experience on this?

thanks

+7
installer c # wpf
source share
2 answers

Microsoft has been using WiX with several of its installers and has managed to create some pretty far-fetched, user-friendly, and accessible user interfaces. Examples include SQL Server and Microsoft Office.

It seems that your installer should not work too much with the system, create a directory of program files and install some files there. You better use the Windows Installer to handle this, this is what it's built for, rather than minimizing it yourself. You will get all the options for troubleshooting and safe returning from the box. The effort required to create a basic installer on WiX is really minimal and adding a basic graphical user interface is easy.

+4
source share

You really need to use a tool based on the Windows installer, because MSI writes a lot. Things that you will try to learn from scratch (for example, you do not know about the Uninstall key in the registry, and MsiPublishProduct does this for you). If you want to work on your chops in WPF, you can always take your working installer (say WiX) and process your own external user interface using DTF and WPF.

0
source share

All Articles