#How to remove Windows %localappdata% on uninstall

4 messages · Page 1 of 1 (latest)

boreal trench
#

I've noticed that quite a lot of data can be saved in this cache so I thought it would probably be good if it gets deleted on uninstall. I assume this should be accomplished with Wix fragments?

main thorn
boreal trench
#

Trying to give it a go but I'm getting this error

Running [tauri_bundler::bundle::common] Command `C:\Users\josh\AppData\Local\tauri/WixTools\light.exe  -ext C:\Users\josh\AppData\Local\tauri/WixTools\WixUtilExtension.dll -ext WixUIExtension -ext WixUtilExtension -o C:\Users\josh\Documents\Work\aiming-pro-tauri\src-tauri\target\release\wix\x64\output.msi -cultures:en-us -loc C:\Users\josh\Documents\Work\aiming-pro-tauri\src-tauri\target\release\wix\x64\locale.wxl *.wixobj`   
Windows Installer XML Toolset Linker version 3.11.2.4516
Copyright (c) .NET Foundation and contributors. All rights reserved.

light.exe : error LGHT0126 : The extension 'Microsoft.Tools.WindowsInstallerXml.Extensions.UtilExtension' contains a defintion for table 'EventManifest' that collides with a previously loaded table definition.  Please remove one of the conflicting extensions or rename one of the tables to avoid the collision.

I've added xmlns:util="http://schemas.microsoft.com/wix/UtilExtension" to the root <Wix/> element. Not sure if there's anything else I'm missing to get the extension to work.

merry summit
#

#general message
Currently, you can avoid this error by modifying the source code and reinstalling tauri-cli.