I have a .net core(worker service) application and created its msi using Wix installer. Currently the size of msi is 26 MB. I need to reduce the msi size as low as possible in order to be downloaded from a web application. I tried
<MediaTemplate CompressionLevel="high" />
But i got reduced the msi by 4 MB only(msi size:22 MB).Is there any other solution for this
Also tried publishing by 'Framework-Dependent' for main project.So the msi size decreased to 600 KB.But showing user privilege issue for starting service on installation.While changing to 'self-contained' publish the msi size is 26 MB and installing successfully. So how to avoid the issue while using 'framework-dependent' deployment?