Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs
uninstall.h File Reference
#include <windows.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
#include <direct.h>
#include <tchar.h>
#include <commctrl.h>
#include "resource.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  dlgUninstall
struct  uninstallStruct
struct  sInfoLine

Defines

#define PR_BEGIN_EXTERN_C
#define PR_END_EXTERN_C
#define PR_EXTERN(type)   type
#define CLASS_NAME   "Uninstall"
#define CLASS_NAME_UNINSTALL_DLG   "MozillaSetupDlg"
#define FILE_INI_UNINSTALL   "uninstall.ini"
#define FILE_LOG_INSTALL   "install_wizard.log"
#define WIZ_TEMP_DIR   "ns_temp"
#define MAX_KILL_PROCESS_RETRIES   10
#define WTD_ASK   0
#define WTD_CANCEL   1
#define WTD_NO   2
#define WTD_NO_TO_ALL   3
#define WTD_YES   4
#define WTD_YES_TO_ALL   5
#define WS_DO_NOT_WAIT   FALSE
#define WS_WAIT   TRUE
#define CI_FORCE_QUIT_PROCESS   TRUE
#define CI_CLOSE_PROCESS   FALSE
#define PP_FILENAME_ONLY   1
#define PP_PATH_ONLY   2
#define PP_ROOT_ONLY   3
#define MAX_BUF   4096
#define MAX_BUF_TINY   256
#define ERROR_CODE_HIDE   0
#define ERROR_CODE_SHOW   1
#define CX_CHECKBOX   13
#define CY_CHECKBOX   13
#define WIZ_OK   0
#define WIZ_ERROR_UNDEFINED   1024
#define WIZ_MEMORY_ALLOC_FAILED   1025
#define WIZ_OUT_OF_MEMORY   WIZ_MEMORY_ALLOC_FAILED
#define WIZ_ARCHIVES_MISSING   1026
#define WIZ_CRC_PASS   WIZ_OK
#define WIZ_CRC_FAIL   1028
#define WIZ_SETUP_ALREADY_RUNNING   1029
#define WIZ_TOO_MANY_NETWORK_ERRORS   1030
#define WIZ_ERROR_PARSING_INTERNAL_STR   1031
#define WIZ_ERROR_REGKEY   1032
#define WIZ_ERROR_INIT   1033
#define WIZ_ERROR_LOADING_RESOURCE_LIB   1034
#define WIZ_FILE_NOT_FOUND   1035
#define WIZ_ERROR_PARSING_UNINST_STRS   1036
#define CMI_OK   0
#define CMI_APP_PATHNAME_NOT_FOUND   1
#define FO_OK   0
#define FO_SUCCESS   0
#define FO_ERROR_FILE_NOT_FOUND   1
#define FO_ERROR_DESTINATION_CONFLICT   2
#define FO_ERROR_CHANGE_DIR   3
#define NOT_SET   -1
#define NORMAL   0
#define SILENT   1
#define AUTO   2
#define SHOWICONS   3
#define HIDEICONS   4
#define SETDEFAULT   5
#define OS_WIN9x   0x00000001
#define OS_WIN95_DEBUTE   0x00000002
#define OS_WIN95   0x00000004
#define OS_WIN98   0x00000008
#define OS_NT   0x00000010
#define OS_NT3   0x00000020
#define OS_NT4   0x00000040
#define OS_NT5   0x00000080
#define OS_NT50   0x00000100
#define OS_NT51   0x00000200

Typedefs

typedef unsigned int PRUint32
typedef int PRInt32
typedef struct dlgUninstall diU
typedef struct uninstallStruct uninstallGen
typedef struct sInfoLine

Class Documentation

struct dlgUninstall

Definition at line 158 of file uninstall.h.

Class Members
BOOL bShowDialog
PSZ szMessage0
LPSTR szMessage0
PSZ szTitle
LPSTR szTitle
struct uninstallStruct

Definition at line 165 of file uninstall.h.

Collaboration diagram for uninstallStruct:
Class Members
BOOL bSharedInst
BOOL bUninstallFiles
BOOL bVerbose
HFONT definedFont
HKEY hWrMainRoot
HKEY hWrRoot
int mode
PSZ szAppID
PSZ szAppPath
LPSTR szAppPath
LPSTR szClientAppID
LPSTR szClientAppPath
PSZ szCompanyName
LPSTR szCompanyName
PSZ szDefaultComponent
LPSTR szDefaultComponent
PSZ szDefinedFont
PSZ szDescription
LPSTR szDescription
char szInstallPath
PSZ szLogFilename
LPSTR szLogFilename
PSZ szLogPath
LPSTR szLogPath
PSZ szOIKey
PSZ szOIMainApp
PSZ szProductName
LPSTR szProductName
PSZ szUninstallFilename
LPSTR szUninstallFilename
PSZ szUninstallKeyDescription
LPSTR szUninstallKeyDescription
PSZ szUserAgent
LPSTR szUserAgent
LPSTR szWrKey
LPSTR szWrMainKey
ULONG ulMode
struct sInfoLine

Definition at line 191 of file uninstall.h.

Class Members
sil * Next
sil * Prev
PSZ szLine
LPSTR szLine
unsigned long long ullLineNumber
ULONGLONG ullLineNumber

Define Documentation

#define AUTO   2

Definition at line 134 of file uninstall.h.

Definition at line 88 of file uninstall.h.

Definition at line 87 of file uninstall.h.

#define CLASS_NAME   "Uninstall"

Definition at line 66 of file uninstall.h.

#define CLASS_NAME_UNINSTALL_DLG   "MozillaSetupDlg"

Definition at line 67 of file uninstall.h.

Definition at line 121 of file uninstall.h.

#define CMI_OK   0

Definition at line 120 of file uninstall.h.

#define CX_CHECKBOX   13

Definition at line 99 of file uninstall.h.

#define CY_CHECKBOX   13

Definition at line 100 of file uninstall.h.

Definition at line 97 of file uninstall.h.

Definition at line 98 of file uninstall.h.

#define FILE_INI_UNINSTALL   "uninstall.ini"

Definition at line 68 of file uninstall.h.

#define FILE_LOG_INSTALL   "install_wizard.log"

Definition at line 69 of file uninstall.h.

Definition at line 128 of file uninstall.h.

Definition at line 127 of file uninstall.h.

Definition at line 126 of file uninstall.h.

#define FO_OK   0

Definition at line 124 of file uninstall.h.

#define FO_SUCCESS   0

Definition at line 125 of file uninstall.h.

#define HIDEICONS   4

Definition at line 136 of file uninstall.h.

#define MAX_BUF   4096

Definition at line 95 of file uninstall.h.

#define MAX_BUF_TINY   256

Definition at line 96 of file uninstall.h.

Definition at line 72 of file uninstall.h.

#define NORMAL   0

Definition at line 132 of file uninstall.h.

#define NOT_SET   -1

Definition at line 131 of file uninstall.h.

#define OS_NT   0x00000010

Definition at line 144 of file uninstall.h.

#define OS_NT3   0x00000020

Definition at line 145 of file uninstall.h.

#define OS_NT4   0x00000040

Definition at line 146 of file uninstall.h.

#define OS_NT5   0x00000080

Definition at line 147 of file uninstall.h.

#define OS_NT50   0x00000100

Definition at line 148 of file uninstall.h.

#define OS_NT51   0x00000200

Definition at line 149 of file uninstall.h.

#define OS_WIN95   0x00000004

Definition at line 142 of file uninstall.h.

#define OS_WIN95_DEBUTE   0x00000002

Definition at line 141 of file uninstall.h.

#define OS_WIN98   0x00000008

Definition at line 143 of file uninstall.h.

#define OS_WIN9x   0x00000001

Definition at line 140 of file uninstall.h.

Definition at line 91 of file uninstall.h.

Definition at line 92 of file uninstall.h.

Definition at line 93 of file uninstall.h.

Definition at line 47 of file uninstall.h.

Definition at line 48 of file uninstall.h.

#define PR_EXTERN (   type)    type

Definition at line 51 of file uninstall.h.

#define SETDEFAULT   5

Definition at line 137 of file uninstall.h.

#define SHOWICONS   3

Definition at line 135 of file uninstall.h.

#define SILENT   1

Definition at line 133 of file uninstall.h.

Definition at line 107 of file uninstall.h.

#define WIZ_CRC_FAIL   1028

Definition at line 109 of file uninstall.h.

Definition at line 108 of file uninstall.h.

#define WIZ_ERROR_INIT   1033

Definition at line 114 of file uninstall.h.

Definition at line 115 of file uninstall.h.

Definition at line 112 of file uninstall.h.

Definition at line 117 of file uninstall.h.

Definition at line 113 of file uninstall.h.

Definition at line 104 of file uninstall.h.

Definition at line 116 of file uninstall.h.

Definition at line 105 of file uninstall.h.

#define WIZ_OK   0

Definition at line 103 of file uninstall.h.

Definition at line 106 of file uninstall.h.

Definition at line 110 of file uninstall.h.

#define WIZ_TEMP_DIR   "ns_temp"

Definition at line 70 of file uninstall.h.

Definition at line 111 of file uninstall.h.

Definition at line 83 of file uninstall.h.

Definition at line 84 of file uninstall.h.

#define WTD_ASK   0

Definition at line 75 of file uninstall.h.

#define WTD_CANCEL   1

Definition at line 76 of file uninstall.h.

#define WTD_NO   2

Definition at line 77 of file uninstall.h.

Definition at line 78 of file uninstall.h.

#define WTD_YES   4

Definition at line 79 of file uninstall.h.

Definition at line 80 of file uninstall.h.


Typedef Documentation

typedef struct dlgUninstall diU
typedef int PRInt32

Definition at line 54 of file uninstall.h.

typedef unsigned int PRUint32

Definition at line 53 of file uninstall.h.

typedef struct sInfoLine

Definition at line 184 of file uninstall.h.

typedef struct uninstallStruct uninstallGen