Skip to content

Commit 9c15f31

Browse files
TUN-7268: Default to Program Files as location for win32
The previous logic of var == x86 never fired for 386 arch windows systems causing us to set ProgramFiles64Folder for the older windows versions causing downloads to default to a different location. This change fixes that.
1 parent 53fb509 commit 9c15f31

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cloudflared.wxs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0"?>
22

3-
<?if $(var.Platform)="x86"?>
4-
<?define Program_Files="ProgramFilesFolder"?>
5-
<?else ?>
3+
<?if $(var.Platform)="x64" ?>
64
<?define Program_Files="ProgramFiles64Folder"?>
5+
<?else ?>
6+
<?define Program_Files="ProgramFilesFolder"?>
77
<?endif ?>
88
<?ifndef var.Version?>
99
<?error Undefined Version variable?>

0 commit comments

Comments
 (0)