windows-nsis-20050926

Install a Documentation Shortcut as part of the client install.
It is independent of the Supplemental Documentation which is not
required for the release notes.
This commit is contained in:
Jeffrey Altman 2005-09-27 05:37:37 +00:00
parent f2674a3d45
commit 69a5db9fda

View File

@ -1062,11 +1062,6 @@ DoneLanguage:
WriteRegDWORD HKLM "${AFS_REGKEY_ROOT}\AFS Supplemental Documentation\${AFS_VERSION}" "MinorVersion" ${AFS_MINORVERSION}
WriteRegDWORD HKLM "${AFS_REGKEY_ROOT}\AFS Supplemental Documentation\${AFS_VERSION}" "PatchLevel" ${AFS_PATCHLEVEL}
; Write start menu shortcut
SetOutPath "$SMPROGRAMS\OpenAFS"
CreateShortCut "$SMPROGRAMS\OpenAFS\Documentation.lnk" "$INSTDIR\Documentation\html\index.htm"
WriteUninstaller "$INSTDIR\Uninstall.exe"
WriteRegStr HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\OpenAFS" "DisplayIcon" "$INSTDIR\Uninstall.exe,0"
CreateShortCut "$SMPROGRAMS\OpenAFS\Uninstall OpenAFS.lnk" "$INSTDIR\Uninstall.exe"
@ -3297,6 +3292,12 @@ DoTradChinese:
goto done
done:
; Write start menu shortcut
SetOutPath "$SMPROGRAMS\OpenAFS"
CreateShortCut "$SMPROGRAMS\OpenAFS\Documentation.lnk" "$INSTDIR\Documentation\html\index.htm"
FunctionEnd