Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
win-installer
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
win-installer
Commits
d7acdfce
Commit
d7acdfce
authored
Aug 21, 2012
by
Justin Karneges
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Affinix -> psi-im.org
parent
e176be4c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
psi.nsi
src/psi.nsi
+10
-10
No files found.
src/psi.nsi
View file @
d7acdfce
...
...
@@ -114,7 +114,7 @@ Name "${APPNAMEANDVERSION}"
!endif
!endif
InstallDirRegKey HKLM "Software\
Affinix
\${APPNAME}" ""
InstallDirRegKey HKLM "Software\
psi-im.org
\${APPNAME}" ""
; Modern interface settings
!include "MUI.nsh"
...
...
@@ -148,7 +148,7 @@ InstallDirRegKey HKLM "Software\Affinix\${APPNAME}" ""
;Remember the installer language
!define MUI_LANGDLL_REGISTRY_ROOT "HKLM"
!define MUI_LANGDLL_REGISTRY_KEY "Software\
Affinix
\${APPNAME}"
!define MUI_LANGDLL_REGISTRY_KEY "Software\
psi-im.org
\${APPNAME}"
!define MUI_LANGDLL_REGISTRY_VALUENAME "Installer Language"
PAGE custom InitRoutines
...
...
@@ -250,14 +250,14 @@ SectionEnd
Section -FinishSection
StrCmp $RUN_BY_ADMIN "true" lastsettings_is_admin
WriteRegStr HKCU "Software\
Affinix
\${APPNAME}" "" "$INSTDIR"
WriteRegStr HKCU "Software\
Affinix
\${APPNAME}" "Version" "${APPFULLVERSION}"
WriteRegStr HKCU "Software\
psi-im.org
\${APPNAME}" "" "$INSTDIR"
WriteRegStr HKCU "Software\
psi-im.org
\${APPNAME}" "Version" "${APPFULLVERSION}"
WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "DisplayName" "${APPNAME} (remove only)"
WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "UninstallString" "$INSTDIR\uninstall.exe"
Goto lastsettings_done
lastsettings_is_admin:
WriteRegStr HKLM "Software\
Affinix
\${APPNAME}" "" "$INSTDIR"
WriteRegStr HKLM "Software\
Affinix
\${APPNAME}" "Version" "${APPFULLVERSION}"
WriteRegStr HKLM "Software\
psi-im.org
\${APPNAME}" "" "$INSTDIR"
WriteRegStr HKLM "Software\
psi-im.org
\${APPNAME}" "Version" "${APPFULLVERSION}"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "DisplayName" "${APPNAME} (remove only)"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "UninstallString" "$INSTDIR\uninstall.exe"
...
...
@@ -431,11 +431,11 @@ Section Uninstall
Pop $R0
StrCmp $R0 "true" uninstall_is_admin
DeleteRegKey HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}"
DeleteRegKey HKCU "Software\
Affinix
\${APPNAME}"
DeleteRegKey HKCU "Software\
psi-im.org
\${APPNAME}"
Goto uninstall_done
uninstall_is_admin:
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}"
DeleteRegKey HKLM "Software\
Affinix
\${APPNAME}"
DeleteRegKey HKLM "Software\
psi-im.org
\${APPNAME}"
uninstall_done:
; Delete self
...
...
@@ -492,11 +492,11 @@ Function UninstallPreviousPsi
StrCpy $RUN_BY_ADMIN $R0 ; saving information
StrCmp $R0 "true" unppsi_is_admin
ReadRegStr $R0 HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "UninstallString"
ReadRegStr $R1 HKCU "Software\
Affinix
\${APPNAME}" ""
ReadRegStr $R1 HKCU "Software\
psi-im.org
\${APPNAME}" ""
goto unppsi_done
unppsi_is_admin:
ReadRegStr $R0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "UninstallString"
ReadRegStr $R1 HKLM "Software\
Affinix
\${APPNAME}" ""
ReadRegStr $R1 HKLM "Software\
psi-im.org
\${APPNAME}" ""
unppsi_done:
; $R0 holds the path to the uninstaller
; $R1 holds the install dir
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment