|
|
1.1.1.5 root 1: /* 1.1.1.6 ! root 2: Legal Notice: Some portions of the source code contained in this file were ! 3: derived from the source code of Encryption for the Masses 2.02a, which is ! 4: Copyright (c) 1998-2000 Paul Le Roux and which is governed by the 'License ! 5: Agreement for Encryption for the Masses'. Modifications and additions to ! 6: the original source code (contained in this file) and all other portions of ! 7: this file are Copyright (c) 2003-2008 TrueCrypt Foundation and are governed ! 8: by the TrueCrypt License 2.4 the full text of which is contained in the ! 9: file License.txt included in TrueCrypt binary and source code distribution 1.1.1.5 root 10: packages. */ 11: 1.1.1.6 ! root 12: #ifndef SETUP_H ! 13: #define SETUP_H ! 14: ! 15: #ifdef __cplusplus ! 16: extern "C" { ! 17: #endif ! 18: ! 19: // Specifies what files to install, where (determined by the prefix), and in what order ! 20: static char *szFiles[]= ! 21: { ! 22: "ATrueCrypt User Guide.pdf", ! 23: "ALicense.txt", ! 24: "ATrueCrypt.exe", ! 25: "ATrueCrypt Format.exe", ! 26: "Atruecrypt.sys", ! 27: "Atruecrypt-x64.sys", ! 28: "Dtruecrypt.sys", ! 29: "ATrueCrypt Setup.exe" ! 30: }; ! 31: ! 32: // Specifies what files are included in self-extracting packages (no other files will be packaged or extracted). ! 33: static char *szCompressedFiles[]= ! 34: { ! 35: "TrueCrypt User Guide.pdf", ! 36: "License.txt", ! 37: "TrueCrypt.exe", ! 38: "TrueCrypt Format.exe", ! 39: "truecrypt.sys", ! 40: "truecrypt-x64.sys" ! 41: }; ! 42: ! 43: #define FILENAME_64BIT_DRIVER "truecrypt-x64.sys" ! 44: #define NBR_COMPRESSED_FILES (sizeof(szCompressedFiles) / sizeof(szCompressedFiles[0])) ! 45: 1.1 root 46: BOOL StatDeleteFile ( char *lpszFile ); 47: BOOL StatRemoveDirectory ( char *lpszDir ); 48: HRESULT CreateLink ( char *lpszPathObj , char *lpszArguments , char *lpszPathLink ); 49: void GetProgramPath ( HWND hwndDlg , char *path ); 1.1.1.6 ! root 50: void StatusMessage (HWND hwndDlg, char *stringId); ! 51: void StatusMessageParam (HWND hwndDlg, char *stringId, char *param); ! 52: void ClearLogWindow (HWND hwndDlg); 1.1.1.3 root 53: void StatusMessage ( HWND hwndDlg , char *stringId ); 54: void StatusMessageParam ( HWND hwndDlg , char *stringId , char *param ); 1.1 root 55: void RegMessage ( HWND hwndDlg , char *txt ); 56: void RegRemoveMessage (HWND hwndDlg, char *txt); 57: void CopyMessage ( HWND hwndDlg , char *txt ); 58: void RemoveMessage ( HWND hwndDlg , char *txt ); 59: void IconMessage ( HWND hwndDlg , char *txt ); 60: int CALLBACK BrowseCallbackProc ( HWND hwnd , UINT uMsg , LPARAM lp , LPARAM pData ); 61: void LoadLicense ( HWND hwndDlg ); 1.1.1.4 root 62: BOOL DoFilesInstall ( HWND hwndDlg , char *szDestDir ); 63: BOOL DoRegInstall ( HWND hwndDlg , char *szDestDir , BOOL bInstallType ); 1.1.1.3 root 64: BOOL DoRegUninstall (HWND hwndDlg, BOOL bRemoveDeprecated); 1.1 root 65: BOOL DoServiceUninstall ( HWND hwndDlg , char *lpszService ); 66: BOOL DoDriverUnload ( HWND hwndDlg ); 67: BOOL DoDriverInstall ( HWND hwndDlg ); 68: BOOL DoShortcutsInstall ( HWND hwndDlg , char *szDestDir , BOOL bProgGroup, BOOL bDesktopIcon ); 69: BOOL DoShortcutsUninstall (HWND hwndDlg, char *szDestDir); 1.1.1.4 root 70: void OutcomePrompt ( HWND hwndDlg , BOOL bOK ); 1.1 root 71: void DoUninstall ( void *hwndDlg ); 72: void DoInstall ( void *hwndDlg ); 1.1.1.6 ! root 73: void SetInstallationPath (HWND hwndDlg); 1.1.1.5 root 74: BOOL CALLBACK InstallDlgProc ( HWND hwndDlg , UINT msg , WPARAM wParam , LPARAM lParam ); 1.1 root 75: int WINAPI WINMAIN ( HINSTANCE hInstance , HINSTANCE hPrevInstance , char *lpszCommandLine , int nCmdShow ); 1.1.1.6 ! root 76: ! 77: extern BOOL bDevm; ! 78: extern BOOL Rollback; ! 79: extern BOOL bRepairMode; ! 80: extern BOOL bSystemRestore; ! 81: extern BOOL bForAllUsers; ! 82: extern BOOL bRegisterFileExt; ! 83: extern BOOL bAddToStartMenu; ! 84: extern BOOL bDesktopIcon; ! 85: extern HMODULE volatile SystemRestoreDll; ! 86: extern char InstallationPath[TC_MAX_PATH]; ! 87: extern char SetupFilesDir[TC_MAX_PATH]; ! 88: ! 89: #ifdef __cplusplus ! 90: } ! 91: #endif ! 92: ! 93: #endif // #ifndef SETUP_H
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.