aboutsummaryrefslogtreecommitdiff
path: root/src/windows/installer/nsis/kfw-fixed.nsi
diff options
context:
space:
mode:
Diffstat (limited to 'src/windows/installer/nsis/kfw-fixed.nsi')
-rw-r--r--src/windows/installer/nsis/kfw-fixed.nsi40
1 files changed, 11 insertions, 29 deletions
diff --git a/src/windows/installer/nsis/kfw-fixed.nsi b/src/windows/installer/nsis/kfw-fixed.nsi
index c61f5a1..df80187 100644
--- a/src/windows/installer/nsis/kfw-fixed.nsi
+++ b/src/windows/installer/nsis/kfw-fixed.nsi
@@ -1,7 +1,7 @@
;-----------------------------------------------------------------
; KfW defines and functionality
-; Copyright (c) 2004 Massachusetts Institute of Technology
-; Copyright (c) 2006 Secure Endpoints Inc.
+; Copyright (c) 2004,2005,2006,2007 Massachusetts Institute of Technology
+; Copyright (c) 2006,2007 Secure Endpoints Inc.
!define KFW_VERSION "${KFW_MAJORVERSION}.${KFW_MINORVERSION}.${KFW_PATCHLEVEL}"
@@ -30,10 +30,10 @@ Name "MIT ${PROGRAM_NAME} ${KFW_VERSION} ${__DATE__} ${__TIME__} Checked/Debug"
VIProductVersion "${KFW_MAJORVERSION}.${KFW_MINORVERSION}.${KFW_PATCHLEVEL}.00"
VIAddVersionKey "ProductName" "${PROGRAM_NAME}"
VIAddVersionKey "CompanyName" "Massachusetts Institute of Technology"
-VIAddVersionKey "ProductVersion" ${VIProductVersion}
-VIAddVersionKey "FileVersion" ${VIProductVersion}
+VIAddVersionKey "FileVersion" ${VIProductVersion}
+VIAddVersionKey "ProductVersion" "${KFW_MAJORVERSION}.${KFW_MINORVERSION}.${KFW_PATCHLEVEL}.0"
VIAddVersionKey "FileDescription" "MIT Kerberos for Windows Installer"
-VIAddVersionKey "LegalCopyright" "(C)2004,2005,2006"
+VIAddVersionKey "LegalCopyright" "(C)2004,2005,2006,2007"
!ifdef DEBUG
VIAddVersionKey "PrivateBuild" "Checked/Debug"
!endif ; End DEBUG
@@ -146,9 +146,9 @@ VIAddVersionKey "PrivateBuild" "Checked/Debug"
LangString REINSTALL_DOCS ${LANG_ENGLISH} "Re-install Kerberos Documentation"
LangString DOWNGRADE_DOCS ${LANG_ENGLISH} "Downgrade Kerberos Documentation"
- ReserveFile "${KFW_CONFIG_DIR}\krb.con"
- ReserveFile "${KFW_CONFIG_DIR}\krbrealm.con"
- ReserveFile "${KFW_CONFIG_DIR}\krb5.ini"
+ ReserveFile "${KFW_CONFIG_DIR}\sample\krb.con"
+ ReserveFile "${KFW_CONFIG_DIR}\sample\krbrealm.con"
+ ReserveFile "${KFW_CONFIG_DIR}\sample\krb5.ini"
!insertmacro MUI_RESERVEFILE_INSTALLOPTIONS ;InstallOptions plug-in
!insertmacro MUI_RESERVEFILE_LANGDLL ;Language selection dialog
@@ -188,9 +188,6 @@ Section "KfW Client" secClient
; Do client components
SetOutPath "$INSTDIR\bin"
-!ifdef AKLOG
- !insertmacro ReplaceDLL "${KFW_BIN_DIR}\aklog.exe" "$INSTDIR\bin\aklog.exe" "$INSTDIR"
-!endif
!insertmacro ReplaceDLL "${KFW_BIN_DIR}\comerr32.dll" "$INSTDIR\bin\comerr32.dll" "$INSTDIR"
!insertmacro ReplaceDLL "${KFW_BIN_DIR}\gss.exe" "$INSTDIR\bin\gss.exe" "$INSTDIR"
!insertmacro ReplaceDLL "${KFW_BIN_DIR}\gss-client.exe" "$INSTDIR\bin\gss-client.exe" "$INSTDIR"
@@ -447,9 +444,6 @@ skipAllowTgtKey:
WriteRegDWORD HKLM "Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\kinit" "Flags" 0x408
WriteRegDWORD HKLM "Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\klist" "Flags" 0x408
WriteRegDWORD HKLM "Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\kdestroy" "Flags" 0x408
-!ifdef AKLOG
- WriteRegDWORD HKLM "Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\aklog" "Flags" 0x408
-!endif
WriteRegDWORD HKLM "Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\gss" "Flags" 0x408
WriteRegDWORD HKLM "Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\gss-client" "Flags" 0x408
WriteRegDWORD HKLM "Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\gss-server" "Flags" 0x408
@@ -469,9 +463,6 @@ SectionEnd
Section "Debug Symbols" secDebug
SetOutPath "$INSTDIR\bin"
-!ifdef AKLOG
- File "${KFW_BIN_DIR}\aklog.pdb"
-!endif
File "${KFW_BIN_DIR}\comerr32.pdb"
File "${KFW_BIN_DIR}\gss.pdb"
File "${KFW_BIN_DIR}\gss-client.pdb"
@@ -1147,9 +1138,6 @@ StartRemove:
Delete "$INSTDIR\doc\netidmgr_userdoc.pdf"
Delete "$INSTDIR\doc\netiddev.chm"
-!ifdef AKLOG
- Delete /REBOOTOK "$INSTDIR\bin\aklog.exe"
-!endif
Delete /REBOOTOK "$INSTDIR\bin\comerr32.dll"
Delete /REBOOTOK "$INSTDIR\bin\gss.exe"
Delete /REBOOTOK "$INSTDIR\bin\gss-client.exe"
@@ -1185,9 +1173,6 @@ StartRemove:
Delete /REBOOTOK "$SYSDIR\bin\kfwlogon.dll"
Delete /REBOOTOK "$SYSDIR\bin\kfwcpcc.exe"
-!ifdef AKLOG
- Delete /REBOOTOK "$INSTDIR\bin\aklog.pdb"
-!endif
Delete /REBOOTOK "$INSTDIR\bin\comerr32.pdb"
Delete /REBOOTOK "$INSTDIR\bin\gss.pdb"
Delete /REBOOTOK "$INSTDIR\bin\gss-client.pdb"
@@ -1344,9 +1329,6 @@ StartRemove:
DeleteRegKey HKLM "Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\kinit"
DeleteRegKey HKLM "Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\klist"
DeleteRegKey HKLM "Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\kdestroy"
-!ifdef AKLOG
- DeleteRegKey HKLM "Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\aklog"
-!endif
DeleteRegKey HKLM "Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\gss"
DeleteRegKey HKLM "Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\gss-client"
DeleteRegKey HKLM "Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\gss-server"
@@ -1424,9 +1406,9 @@ DoDownload:
UsePackaged:
SetOutPath "$WINDIR"
- File "${KFW_CONFIG_DIR}\krb5.ini"
- File "${KFW_CONFIG_DIR}\krb.con"
- File "${KFW_CONFIG_DIR}\krbrealm.con"
+ File "${KFW_CONFIG_DIR}\sample\krb5.ini"
+ File "${KFW_CONFIG_DIR}\sample\krb.con"
+ File "${KFW_CONFIG_DIR}\sample\krbrealm.con"
goto done
CheckOther: