Skip to content

Commit e10fdb7

Browse files
authored
revert: revert #10969, consistent product_code (#11182)
closes #11178
1 parent 0c87e05 commit e10fdb7

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"tauri-bundler": patch:bug
3+
---
4+
5+
Revert recent change that generated MSI installers with the same product code which prevented updates to happen, it is now ranomized like it previously was.

crates/tauri-bundler/src/bundle/windows/msi/main.wxs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
1515
<Product
16-
Id="{{product_code}}"
16+
Id="*"
1717
Name="{{product_name}}"
1818
UpgradeCode="{{upgrade_code}}"
1919
Language="!(loc.TauriLanguage)"

crates/tauri-bundler/src/bundle/windows/msi/mod.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -562,13 +562,6 @@ pub fn build_wix_app_installer(
562562
)
563563
});
564564
data.insert("upgrade_code", to_json(upgrade_code.to_string()));
565-
566-
let product_code = Uuid::new_v5(
567-
&Uuid::NAMESPACE_DNS,
568-
settings.bundle_identifier().as_bytes(),
569-
)
570-
.to_string();
571-
data.insert("product_code", to_json(product_code.as_str()));
572565
data.insert(
573566
"allow_downgrades",
574567
to_json(settings.windows().allow_downgrades),

0 commit comments

Comments
 (0)