|
|
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
1.1.1.11! root 8: by the TrueCrypt License 2.7 the full text of which is contained in the
1.1.1.6 root 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.1.9 root 46: void localcleanup (void);
1.1 root 47: BOOL StatDeleteFile ( char *lpszFile );
48: BOOL StatRemoveDirectory ( char *lpszDir );
49: HRESULT CreateLink ( char *lpszPathObj , char *lpszArguments , char *lpszPathLink );
50: void GetProgramPath ( HWND hwndDlg , char *path );
1.1.1.6 root 51: void StatusMessage (HWND hwndDlg, char *stringId);
52: void StatusMessageParam (HWND hwndDlg, char *stringId, char *param);
53: void ClearLogWindow (HWND hwndDlg);
1.1.1.3 root 54: void StatusMessage ( HWND hwndDlg , char *stringId );
55: void StatusMessageParam ( HWND hwndDlg , char *stringId , char *param );
1.1 root 56: void RegMessage ( HWND hwndDlg , char *txt );
57: void RegRemoveMessage (HWND hwndDlg, char *txt);
58: void CopyMessage ( HWND hwndDlg , char *txt );
59: void RemoveMessage ( HWND hwndDlg , char *txt );
60: void IconMessage ( HWND hwndDlg , char *txt );
61: int CALLBACK BrowseCallbackProc ( HWND hwnd , UINT uMsg , LPARAM lp , LPARAM pData );
62: void LoadLicense ( HWND hwndDlg );
1.1.1.4 root 63: BOOL DoFilesInstall ( HWND hwndDlg , char *szDestDir );
64: BOOL DoRegInstall ( HWND hwndDlg , char *szDestDir , BOOL bInstallType );
1.1.1.3 root 65: BOOL DoRegUninstall (HWND hwndDlg, BOOL bRemoveDeprecated);
1.1 root 66: BOOL DoServiceUninstall ( HWND hwndDlg , char *lpszService );
67: BOOL DoDriverUnload ( 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.7 root 74: BOOL UpgradeBootLoader (HWND hwndDlg);
1.1.1.5 root 75: BOOL CALLBACK InstallDlgProc ( HWND hwndDlg , UINT msg , WPARAM wParam , LPARAM lParam );
1.1 root 76: int WINAPI WINMAIN ( HINSTANCE hInstance , HINSTANCE hPrevInstance , char *lpszCommandLine , int nCmdShow );
1.1.1.6 root 77:
78: extern BOOL bDevm;
79: extern BOOL Rollback;
80: extern BOOL bRepairMode;
81: extern BOOL bSystemRestore;
1.1.1.9 root 82: extern BOOL bDisableSwapFiles;
1.1.1.6 root 83: extern BOOL bForAllUsers;
84: extern BOOL bRegisterFileExt;
85: extern BOOL bAddToStartMenu;
86: extern BOOL bDesktopIcon;
1.1.1.8 root 87: extern BOOL SystemEncryptionUpgrade;
1.1.1.9 root 88: extern BOOL bRestartRequired;
1.1.1.6 root 89: extern HMODULE volatile SystemRestoreDll;
90: extern char InstallationPath[TC_MAX_PATH];
91: extern char SetupFilesDir[TC_MAX_PATH];
92:
93: #ifdef __cplusplus
94: }
95: #endif
96:
97: #endif // #ifndef SETUP_H
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.