Permalink
Browse files

MSI Installer: Fixed the architecture of shipped MSVC DLLs

The 64-bit Tiled version was shipping 32-bit MSVC DLLs, and vica versa,
due to me being confused by the directory names.

This issue was only noticable on relatively clean systems, because as soon
as the MSVC DLL was installed as a dependency of some other application
Tiled would anyway start up fine.

Thanks to reedb for noticing the mixup and posting about it on the Tiled
forum! http://discourse.mapeditor.org/t/help-tiled-broke/1851/3
  • Loading branch information...
bjorn committed Jan 2, 2017
1 parent a95f245 commit 7fcd78653b8d5ef5fecd616b01f831cba59b0fd3
Showing with 2 additions and 2 deletions.
  1. +2 −2 dist/win/installer.wxs
View
@@ -24,10 +24,10 @@
<?if $(var.Platform) = x64 ?>
<?define PlatformProgramFilesFolder = "ProgramFiles64Folder" ?>
- <?define SystemDir = "C:\windows\SysWOW64" ?>
+ <?define SystemDir = "C:\windows\system32" ?>
<?else ?>
<?define PlatformProgramFilesFolder = "ProgramFilesFolder" ?>
- <?define SystemDir = "C:\windows\system32" ?>
+ <?define SystemDir = "C:\windows\SysWOW64" ?>
<?endif ?>
<Product Name='$(var.ProductName)' Id="*"

0 comments on commit 7fcd786

Please sign in to comment.