diff --git a/.changes/wix-registry-keys.md b/.changes/wix-registry-keys.md
new file mode 100644
index 000000000..f9930f3d4
--- /dev/null
+++ b/.changes/wix-registry-keys.md
@@ -0,0 +1,5 @@
+---
+"tauri-bundler": patch
+---
+
+Fix registry keys on the WiX template.
diff --git a/tooling/bundler/src/bundle/path_utils.rs b/tooling/bundler/src/bundle/path_utils.rs
index f945c2a20..40ccdeca8 100644
--- a/tooling/bundler/src/bundle/path_utils.rs
+++ b/tooling/bundler/src/bundle/path_utils.rs
@@ -8,7 +8,7 @@ use std::{
};
/// Directory options.
-#[derive(Clone)]
+#[derive(Default, Clone)]
pub struct DirOpts {
pub depth: u64,
}
@@ -51,12 +51,6 @@ impl Default for Options {
}
}
-impl Default for DirOpts {
- fn default() -> DirOpts {
- DirOpts { depth: 0 }
- }
-}
-
impl Default for FileOpts {
fn default() -> FileOpts {
FileOpts {
diff --git a/tooling/bundler/src/bundle/windows/templates/main.wxs b/tooling/bundler/src/bundle/windows/templates/main.wxs
index bc4fd24cb..50c2004ec 100644
--- a/tooling/bundler/src/bundle/windows/templates/main.wxs
+++ b/tooling/bundler/src/bundle/windows/templates/main.wxs
@@ -71,7 +71,7 @@
-
+
@@ -115,7 +115,7 @@
On="uninstall" />
-
+