changeset 562:00b1f3459047

Correct target path, add file association
author Chris Cannam
date Mon, 18 Feb 2019 13:16:33 +0000
parents 097b06da94ed
children cfb290bc0ae7
files deploy/win64/tony.wxs
diffstat 1 files changed, 25 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/deploy/win64/tony.wxs	Mon Feb 18 11:38:03 2019 +0000
+++ b/deploy/win64/tony.wxs	Mon Feb 18 13:16:33 2019 +0000
@@ -26,7 +26,8 @@
     <Property Id="DiskPrompt" Value="Tony Installation [1]"/>
 
     <Directory Id="TARGETDIR" Name="SourceDir">
-      <Directory Id="ProgramFilesFolder" Name="PFiles">
+
+      <Directory Id="ProgramFiles64Folder" Name="PFiles64">
 
         <Directory Id="APPLICATIONFOLDER" Name="Tony">
 
@@ -89,6 +90,29 @@
           </Component>
             
           <Component Win64="yes"
+	      Id="SVFileAssociation"
+	      Guid="F07C5CC1-0209-4C1A-8D52-C40B50A2B964">
+            
+            <CreateFolder/>
+
+            <ProgId 
+                Id='Tony.tonfile' 
+                Description='Tony project file'
+                Icon="T">
+              <Extension 
+                  Id='tony' 
+                  ContentType='application/x-tony'>
+                <Verb 
+                    Id='open' 
+                    Command='Open' 
+                    TargetFile='T' 
+                    Argument='"%1"' />
+              </Extension>
+            </ProgId>
+            
+          </Component>
+          
+          <Component Win64="yes"
               Id="pYin"
               Guid="5C3B7285-B652-4FE5-8A1D-AC92376F8AD5">
             <File