#How to remove Windows %localappdata% on uninstall
4 messages · Page 1 of 1 (latest)
I don't think fragments will be enough. it probably is a little more involved and requires modifying the actual template https://tauri.app/v1/guides/building/windows#replacing-the-installer-code-with-a-custom-wix-file
This approach looks alright to me: https://stackoverflow.com/a/47217223
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.
#general message
Currently, you can avoid this error by modifying the source code and reinstalling tauri-cli.