Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jami-client-windows
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
savoirfairelinux
jami-client-windows
Commits
46fd3697
Commit
46fd3697
authored
6 years ago
by
Andreas Traczyk
Browse files
Options
Downloads
Patches
Plain Diff
nsis: add icon to installer
Change-Id: I9f39e4f1c2f940637724fc308261677f81e8995c
parent
89b81816
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
ring.nsi
+5
-10
5 additions, 10 deletions
ring.nsi
with
5 additions
and
10 deletions
ring.nsi
+
5
−
10
View file @
46fd3697
...
...
@@ -13,6 +13,7 @@
!include "MUI2.nsh"
!define MUI_ICON "jami.ico"
!define MUI_WELCOMEPAGE
!define MUI_LICENSEPAGE
!define MUI_DIRECTORYPAGE
...
...
@@ -196,17 +197,10 @@ section "install"
WriteRegStr HKCR "ring" "URL Protocol" "$\"$\""
WriteRegStr HKCR "ring\DefaultIcon" "" "$\"$INSTDIR\Jami.exe,1$\""
WriteRegStr HKCR "ring\shell\open\command" "" "$\"$INSTDIR\Jami.exe$\" $\"%1$\""
# vcredist install (this check may not work if the vc_redist is uninstalled by the user as
# uninstallation does not remove the REG key
${If} ${RunningX64}
ReadRegStr $1 HKLM "SOFTWARE\WOW6432Node\Microsoft\VisualStudio\14.0\VC\Runtimes\x64" "Bld"
StrCmp $1 27012 vcredist_installed
${Else}
ReadRegStr $1 HKLM "SOFTWARE\WOW6432Node\Microsoft\VisualStudio\14.0\VC\Runtimes\x86" "Bld"
StrCmp $1 27012 vcredist_installed
${EndIf}
# force vc_redist for now
ExecWait "vc_redist.x64.exe /install /norestart"
vcredist
_installed:
delete "
vc
_
redist
.x64.exe"
sectionEnd
# Uninstaller
...
...
@@ -246,6 +240,7 @@ section "uninstall"
rmDir "$SMPROGRAMS\${COMPANYNAME}"
# Remove files
delete $INSTDIR\vc_redist.x64.exe
delete $INSTDIR\Jami.exe
delete $INSTDIR\jami.ico
delete $INSTDIR\*.dll
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment