forked from microsoft/BotFramework-Composer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Script registration for Windows (microsoft#2848)
* Added nsis script Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com> * Adding nsis registration for windows Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com> * Removing unused macros Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com> * Fixed production base URL. * Adding Tony to codeowners Signed-off-by: Srinaath Ravichandran <srravich@microsoft.com> Co-authored-by: Srinaath Ravichandran <srravich@microsoft.com> Co-authored-by: Tony Anziano <tonyanziano5@gmail.com>
- Loading branch information
1 parent
928873a
commit 9a540ac
Showing
4 changed files
with
22 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
!macro customInstall | ||
DetailPrint "Register bfcomposer URI Handler" | ||
DeleteRegKey HKCU "SOFTWARE\Classes\bfcomposer" | ||
WriteRegStr HKCU "SOFTWARE\Classes\bfcomposer" "" "URL:Bot Framework Composer" | ||
WriteRegStr HKCU "SOFTWARE\Classes\bfcomposer" "URL Protocol" "" | ||
WriteRegStr HKCU "SOFTWARE\Classes\bfcomposer\DefaultIcon" "" "$INSTDIR\${APP_EXECUTABLE_FILENAME},1" | ||
WriteRegStr HKCU "SOFTWARE\Classes\bfcomposer\shell" "" "" | ||
WriteRegStr HKCU "SOFTWARE\Classes\bfcomposer\shell\open" "" "" | ||
WriteRegStr HKCU "SOFTWARE\Classes\bfcomposer\shell\open\command" "" `"$INSTDIR\${APP_EXECUTABLE_FILENAME}" "%1"` | ||
!macroend | ||
|
||
!macro customUninstall | ||
DetailPrint "Unregister bfcomposer URI Handler" | ||
DeleteRegKey HKCU "SOFTWARE\Classes\bfcomposer" | ||
!macroend |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters