This is a continuation of the post Guidelines to Create an Installer for Windows Apps.
In this post, I will elaborate on the 3 points that are not elaborated before:
- Use Merge Modules
- Command Line
- 32 bit/ 64 bit issue
Use Merge Modules
Merge modules provide a standard method by which developers deliver shared Windows Installer components and setup logic to their applications. They are like methods and classes in programming. Merge modules become important when you need to share setup components among different applications or when you are upgrading your third party components in batch.
It is common for applications to depend on third party packages to deliver underlying framework functionalities or UI components. The distribution of these software packages can be difficult because you are not the one who write them and thus may not be very familiar with them. If you have to package those third party files separately, you will have to take care of all the dependencies and be very careful in making sure that no file gets left behind. This is a maintenance headache.
Merge modules become even more important if you have a family of products that share some of the basic components. Grouping similar, common application files together will make deployment a much more pleasant experience.
You may think that your application is small, or that your setup packages don't need a lot of fanciful features. But the fact is that there is no way to create a professional package without using command line tools. For starters, if you have daily build-- if you don't, stop reading this article and set it up now! ( If you need help you can contact me, my consultation is available)-- you should include software packaging into the build. That needs command line.
You need to stamp your product version on the installer package, that needs command line.
You need to synchronize the package version and the application version, that needs command line.
If you allow your users to install different versions of an application on a computer, you will need command line tools to:
- Set the name of the shortcut icon. Make sure that it is tie to the package version.
- Set the name of the application folder. Make sure that it is also tie to the package version.
Disclaimer: No, I am not affiliated with Advanced Installer; I am just a happy user. You may seek my consultation if you want to package your applications using Advanced Installer.
Catering for two platforms can be difficult. You may need to know what to install on which platform, how to take care of merge module dependencies and things like that. Having a good tool can solve some of the problems, but not all.