#custom default install directory
5 messages · Page 1 of 1 (latest)
custom wix fragments will probably interfere with the default template - instead overwriting that custom template instead should work. https://tauri.app/v1/guides/building/windows/#replacing-the-installer-code-with-a-custom-wix-file
you can debug wix errors by adding the --verbose flag (if you use npm it needs an additional -- like npm run tauri build -- --verbose). This should print the whole error (and more)
ahh ok thanks! Im using npm so thats why --verbose wasnt working 😆 . As for overwriting the default template, is that something I would write into the tauri.config ?
you'd basically download this https://github.com/tauri-apps/tauri/blob/dev/tooling/bundler/src/bundle/windows/templates/main.wxs, modify it, and tell tauri the path to it in tauri.conf.json (tauri.bundle.windows.wix.template)
ok awesome, I will try that out and see what i can break happens!