![]() ![]() Copy an icon into the same directory as your example.wxs, any graphics file with ending ico will do (for example if you have nothing else available). Let's add icon and links for support information, they are are shown via Add/Remove Programs in the Control Panel. The installer will check if an old version is installed and replaces it, in case a newer version is already installed it will abort with an error message. Two things are important for software upgrades: increase the ProductVersion in every new release, the UpgradeCode has to stay the same for all releases! Run make_installer.bat again, build two packages with different ProductVersion numbers and name them example_001.msi and example_002.msi. Change the following lines in your XML file example.wxs: Run make_installer.bat again, test and uninstall your example.msi.Ī little bit of configuration is needed for software upgrades, because some values are used repeatedly we define them as variables. Since a start menu entry is a shortcut and not a real file, a registry entry is needed. This adds your example application to the start menu. You can uninstall your application via Add/Remove Programs in the Control Panel or right click on MSI file and choose Uninstall. This time there will be a directory called Example in your Program Files folder and the example.exe will be installed there. Run make_installer.bat again to build the package and double click example.msi to install it. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |