From 583b5820c8daccfe55b57cde8357bf37e04595f0 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 1 Dec 2012 17:36:02 +0530 Subject: [PATCH] ... --- setup/installer/windows/wix.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/setup/installer/windows/wix.py b/setup/installer/windows/wix.py index e915bdfb23..c7f4ab3933 100644 --- a/setup/installer/windows/wix.py +++ b/setup/installer/windows/wix.py @@ -119,17 +119,17 @@ class WixMixIn: (fid, f, x, checksum), '' ] - if x.endswith('.exe'): + if x.endswith('.exe') and not x.startswith('pdf'): # Add the executable to app paths so that users can # launch it from the run dialog even if it is not on # the path. See http://msdn.microsoft.com/en-us/library/windows/desktop/ee872121(v=vs.85).aspx c[-1:-1] = [ (''%(x, fid)), + r'Key="SOFTWARE\Microsoft\Windows\CurrentVersion\App ' + r'Paths\%s" Value="[#file_%d]" Type="string" />'%(x, fid)), (''.format(x)), ] components.append('\n'.join(c)) @@ -143,4 +143,3 @@ class WixMixIn: return '\t\t\t\t'+'\n\t\t\t\t'.join(components) -