diff --git a/Makefile b/Makefile index 58589b0..b6a7cea 100644 --- a/Makefile +++ b/Makefile @@ -35,7 +35,7 @@ $(Status)/dist: $(Status)/wix $(Status)/wix: $(Status)/sshfs-win mkdir -p $(WixDir) cp sshfs-win.wxs $(WixDir)/ - candle -nologo -arch x86 -pedantic\ + candle -nologo -arch $(MyArch) -pedantic\ -dMyProductName=$(MyProductName)\ -dMyCompanyName=$(MyCompanyName)\ -dMyDescription=$(MyDescription)\ @@ -46,7 +46,7 @@ $(Status)/wix: $(Status)/sshfs-win heat dir $(shell cygpath -aw $(RootDir))\ -nologo -dr INSTALLDIR -cg C.Main -srd -ke -sreg -gg -sfrag\ -o $(shell cygpath -aw $(WixDir)/root.wxs) - candle -nologo -arch x86 -pedantic\ + candle -nologo -arch $(MyArch) -pedantic\ -dMyProductName=$(MyProductName)\ -dMyCompanyName=$(MyCompanyName)\ -dMyDescription=$(MyDescription)\ diff --git a/sshfs-win.wxs b/sshfs-win.wxs index 0d30741..8d79f61 100644 --- a/sshfs-win.wxs +++ b/sshfs-win.wxs @@ -5,9 +5,13 @@ + + + + @@ -39,7 +43,7 @@ NOT OTHERINSTALLED - Software\WinFsp\Services + $(var.LauncherRegistryKey) Software\$(var.MyProductName) - +