I've written an installer in WiX; and it works very well. However, I've having a minor issue where the "reported" size of the installer seems to be growing with each subsequent installation.
Steps
Does anyone have any ideas how I stop the growth between installs? Or if this is by design?
Do your components have Permanent set to "yes"? These components are preserved even after uninstall. Look also for RemoveOnuninstall attributes.
Each program may or may not provide its own size information to Windows. WiX based programs typically do not and let Windows guess. (Search for ARPSIZE in your project to learn whether you do.) Consequently, Windows does not necessarily notice all of the files, but typically all the size reported is actually taken and worth researching via the file system. It may include files generated by your program somewhere under Program Files.
This size does not include space taken by the Windows Installer Cache. This is good to know about, too, as it is often as big as the installed software itself. The MSI is cached primarily to support easier uninstallation.
For a one-time cleanup of program related disk space you can use the Windows Cleanup utility.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With