Is there any way to supress the default size shown by WiX bootstraper setup in control panel

91 views Asked by At

I am trying to install a WiX managed bootstrapper setup .I have written a custom logic to calculate the size occupied .Is there any way to supress the default size shown by WiX in control panel entry.

1

There are 1 answers

1
Jozef Izso On

You can use the ARPSIZE property to set your preferred install size in case Windows is computing this value incorrectly.

<Property Id='ARPSIZE'>app size in kilobytes</Property>

ARPSIZE seems to be superfluous at first sight. However, testing shows that Programs and Features reports a completely bogus value (over 4 GB) for very small packages. In this case, providing the package size manually can help overcome this annoying but harmless nuisance.

https://www.firegiant.com/wix/tutorial/com-expression-syntax-miscellanea/add-or-remove-programs-entries/

More info about ARPSIZE: https://learn.microsoft.com/en-us/windows/win32/msi/arpsize