Recording (WiX bootloader) does not remove MSI packet

I have a Burn chain with this chain:

<Chain> <PackageGroupRef Id="NetFx40Web"/> <MsiPackage SourceFile="c:\\My\\Path\\MyMsi.msi" Id="MyMsi" DisplayName="MyMsi" DisplayInternalUI="yes" Vital="yes"> <MsiProperty Name="INSTALLLOCATION" Value="[InstallFolder]" /> </MsiPackage> </Chain> 

Both .NET and my .msi files are installed correctly. But the MSI package is not deleted during the uninstallation procedure (both after clicking on the bootable EXE file, and from programs and functions). Is there a way to force remove the MSI package?

+4
source share
2 answers

The entry will create a log file with detailed information about the state change of each package in %TEMP% . Take a look at the Plan section and you will see the lines for each package in your Bundle. Other messages in the log file indicate whether the MSI will still reference another Bundle or if the MSI on the machine is newer than the one that carries the Bundle (so it will not delete it).

+6
source

I had the same MSI problem that was not removed when the package was removed, and the reason was pretty simple.

MSI was created in the same Visual Studio solution and was installed as a package project dependency. Each time a package was created, an MSI was first created.

The main reason for the removal was not the MSI product key set to "*", and therefore it must change every time it was created. This somehow prevented the removal. When installed on a fixed GUID, uninstallation was successful.

+2
source

Source: https://habr.com/ru/post/1469244/


All Articles