From cc22966ff8f80ed2aeaa778bfd64aaaf014594cc Mon Sep 17 00:00:00 2001 From: Celtic Minstrel Date: Tue, 9 Jun 2015 07:57:10 -0400 Subject: [PATCH] Fix the Windows file associations --- src/BoE.vsproj/Installer/main.nsi | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/BoE.vsproj/Installer/main.nsi b/src/BoE.vsproj/Installer/main.nsi index eca45deea..12ab75db0 100644 --- a/src/BoE.vsproj/Installer/main.nsi +++ b/src/BoE.vsproj/Installer/main.nsi @@ -114,9 +114,10 @@ Section -FinishSection WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "UninstallString" "$INSTDIR\uninstall.exe" WriteUninstaller "$INSTDIR\uninstall.exe" - !insertmacro APP_ASSOCIATE "exg" "BladesofExile.SaveGame" "Blades of Exile saved game" "$INSTDIR\Blades of Exile.exe,1" "" '$INSTDIR\myapp.exe "%1"' - !insertmacro APP_ASSOCIATE_ADDVERB "BladesOfExile.SaveGame" "edit" "" '$INSTDIR\Character Editor.exe "%1"' - !insertmacro APP_ASSOCIATE "boes" "BladesofExile.Scenario" "Blades of Exile scenario" "$INSTDIR\Blades of Exile.exe,2" "" '$INSTDIR\Scenario Editor.exe "%1"' + !insertmacro APP_ASSOCIATE "exg" "BladesofExile.SaveGame" "Blades of Exile saved game" "$INSTDIR\Blades of Exile.exe,1" "" '"$INSTDIR\Blades of Exile.exe" "%1"' + !insertmacro APP_ASSOCIATE_ADDVERB "BladesOfExile.SaveGame" "edit" "" '"$INSTDIR\Char Editor.exe" "%1"' + !insertmacro APP_ASSOCIATE "boes" "BladesofExile.Scenario" "Blades of Exile scenario" "$INSTDIR\Blades of Exile.exe,2" "" '"$INSTDIR\Scen Editor.exe" "%1"' + !insertmacro APP_ASSOCIATE "exs" "BladesofExile.OldScenario" "Blades of Exile scenario" "$INSTDIR\Blades of Exile.exe,2" "" '"$INSTDIR\Scen Editor.exe" "%1"' !insertmacro UPDATEFILEASSOC ; WriteRegStr HKCR ".exg" "" "BladesOfExile.SaveGame"