mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-29 19:10:42 +01:00
trans: Update name PAMHYR to Pamhyr2 and minor change.
This commit is contained in:
1 parent
694c84a526
commit
47bcf8a748
5 files changed
+58
-53
No files matched your search
+15
-15
@@ -3,7 +3,7 @@
|
||||
!define LIC_NAME "LICENSE"
|
||||
!define APP_NAME "PAMHYR"
|
||||
|
||||
Name "PAMHYR"
|
||||
Name "Pamhyr2"
|
||||
OutFile "pamhyr-windows.exe"
|
||||
LicenseData "pamhyr\pamhyr\LICENSE"
|
||||
LicenseText "I Agree"
|
||||
@@ -11,9 +11,9 @@ LicenseText "I Agree"
|
||||
RequestExecutionLevel admin
|
||||
|
||||
Unicode True
|
||||
InstallDir $PROGRAMFILES\PAMHYR
|
||||
InstallDir $PROGRAMFILES\Pamhyr2
|
||||
|
||||
InstallDirRegKey HKLM "Software\PAMHYR" "Install_Dir"
|
||||
InstallDirRegKey HKLM "Software\Pamhyr2" "Install_Dir"
|
||||
|
||||
Page license
|
||||
Page components
|
||||
@@ -23,35 +23,35 @@ Page instfiles
|
||||
UninstPage uninstConfirm
|
||||
UninstPage instfiles
|
||||
|
||||
Section "PAMHYR"
|
||||
Section "Pamhyr2"
|
||||
SectionIn RO
|
||||
|
||||
SetOutPath $INSTDIR
|
||||
|
||||
File /r "pamhyr\*"
|
||||
|
||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\PAMHYR" "DisplayName" "NSIS PAMHYR"
|
||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\PAMHYR" "UninstallString" "$INSTDIR\uninstall.exe"
|
||||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\PAMHYR" "NoModify" 1
|
||||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\PAMHYR" "NoRepair" 1
|
||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Pamhyr2" "DisplayName" "NSIS Pamhyr2"
|
||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Pamhyr2" "UninstallString" "$INSTDIR\uninstall.exe"
|
||||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Pamhyr2" "NoModify" 1
|
||||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Pamhyr2" "NoRepair" 1
|
||||
WriteUninstaller "$INSTDIR\uninstall.exe"
|
||||
|
||||
SectionEnd
|
||||
|
||||
Section "Start Menu Shortcuts"
|
||||
|
||||
CreateDirectory "$SMPROGRAMS\PAMHYR"
|
||||
CreateShortcut "$SMPROGRAMS\PAMHYR\Uninstall.lnk" "$INSTDIR\uninstall.exe"
|
||||
CreateShortcut "$SMPROGRAMS\PAMHYR\PAMHYR.lnk" "$INSTDIR\pamhyr\pamhyr.exe"
|
||||
CreateDirectory "$SMPROGRAMS\Pamhyr2"
|
||||
CreateShortcut "$SMPROGRAMS\Pamhyr2\Uninstall.lnk" "$INSTDIR\uninstall.exe"
|
||||
CreateShortcut "$SMPROGRAMS\Pamhyr2\Pamhyr2.lnk" "$INSTDIR\pamhyr\pamhyr.exe"
|
||||
|
||||
SectionEnd
|
||||
|
||||
Section "Uninstall"
|
||||
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\PAMHYR"
|
||||
DeleteRegKey HKLM SOFTWARE\NSIS_PAMHYR
|
||||
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Pamhyr2"
|
||||
DeleteRegKey HKLM SOFTWARE\NSIS_Pamhyr2
|
||||
|
||||
Delete "$SMPROGRAMS\PAMHYR\*.lnk"
|
||||
Delete "$SMPROGRAMS\Pamhyr2\*.lnk"
|
||||
|
||||
RMDir "$SMPROGRAMS\PAMHYR"
|
||||
RMDir "$SMPROGRAMS\Pamhyr2"
|
||||
RMDir /R "$INSTDIR"
|
||||
SectionEnd
|
||||
Reference in new issue
Block a user