|
ReactOS 0.4.17-dev-966-gf06eace
|
#include "defines.h"#include <shlobj.h>#include <shlwapi.h>#include <setupapi.h>#include <commctrl.h>#include "resource.h"#include "appdb.h"#include "appinfo.h"#include "misc.h"#include "configparser.h"#include "unattended.h"#include "minizip/ioapi.h"#include "minizip/iowin32.h"#include "minizip/unzip.h"
Go to the source code of this file.
Classes | |
| struct | CommonInfo |
| struct | InstallInfo |
| struct | UninstallInfo |
Macros | |
| #define | REGPATH_UNINSTALL L"Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall" |
| #define | DB_NONE L"!" |
| #define | DB_GENINST_FILES L"Files" |
| #define | DB_GENINST_DIR L"Dir" |
| #define | DB_GENINST_ICON L"Icon" |
| #define | DB_GENINST_LNK L"Lnk" |
| #define | DB_GENINST_LNKARGS L"LnkParameters" |
| #define | DB_GENINST_DELFILE L"DelFile" |
| #define | DB_GENINST_DELDIR L"DelDir" |
| #define | DB_GENINST_DELDIREMPTY L"DelDirEmpty" |
| #define | DB_GENINST_DELREG L"DelReg" |
| #define | DB_GENINST_DELREGEMPTY L"DelRegEmpty" |
Enumerations | |
| enum | { UNOP_FILE = 'F' , UNOP_DIR = 'D' , UNOP_EMPTYDIR = 'd' , UNOP_REGKEY = 'K' , UNOP_EMPTYREGKEY = 'k' } |
| enum | { IM_STARTPROGRESS = WM_APP , IM_PROGRESS , IM_END } |
| enum | UninstallStage { US_ITEMS , US_CONTAINERS , UINSTALLSTAGECOUNT } |
Variables | |
| static struct CommonInfo * | g_pInfo |
| #define DB_GENINST_DELDIR L"DelDir" |
Definition at line 33 of file geninst.cpp.
| #define DB_GENINST_DELDIREMPTY L"DelDirEmpty" |
Definition at line 34 of file geninst.cpp.
| #define DB_GENINST_DELFILE L"DelFile" |
Definition at line 32 of file geninst.cpp.
| #define DB_GENINST_DELREG L"DelReg" |
Definition at line 35 of file geninst.cpp.
| #define DB_GENINST_DELREGEMPTY L"DelRegEmpty" |
Definition at line 36 of file geninst.cpp.
| #define DB_GENINST_DIR L"Dir" |
Definition at line 28 of file geninst.cpp.
| #define DB_GENINST_FILES L"Files" |
Definition at line 27 of file geninst.cpp.
| #define DB_GENINST_ICON L"Icon" |
Definition at line 29 of file geninst.cpp.
| #define DB_GENINST_LNK L"Lnk" |
Definition at line 30 of file geninst.cpp.
| #define DB_GENINST_LNKARGS L"LnkParameters" |
Definition at line 31 of file geninst.cpp.
| #define DB_NONE L"!" |
Definition at line 26 of file geninst.cpp.
| #define REGPATH_UNINSTALL L"Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall" |
Definition at line 24 of file geninst.cpp.
| anonymous enum |
| Enumerator | |
|---|---|
| UNOP_FILE | |
| UNOP_DIR | |
| UNOP_EMPTYDIR | |
| UNOP_REGKEY | |
| UNOP_EMPTYREGKEY | |
Definition at line 38 of file geninst.cpp.
| anonymous enum |
| Enumerator | |
|---|---|
| US_ITEMS | |
| US_CONTAINERS | |
| UINSTALLSTAGECOUNT | |
Definition at line 694 of file geninst.cpp.
Definition at line 227 of file geninst.cpp.
Referenced by AddUninstallOperationsFromDB(), CreateMainShortcut(), DECLARE_INTERFACE_(), ExtractAndInstallThread(), and InstallFiles().
|
static |
Definition at line 425 of file geninst.cpp.
Referenced by ExtractAndInstallThread().
Definition at line 284 of file geninst.cpp.
Referenced by ExtractAndInstallThread().
|
static |
Definition at line 645 of file geninst.cpp.
Referenced by ExtractAndRunGeneratedInstaller(), and UninstallGenerated().
|
inlinestatic |
Definition at line 193 of file geninst.cpp.
Referenced by AddEntry(), CreateMainShortcut(), CreateUI(), ErrorBox(), ExtractAndInstallThread(), ExtractFilesCallback(), InstallFiles(), anonymous_namespace{settingsdlg.cpp}::SettingsDlgProc(), UIDlgProc(), UninstallThread(), and WriteArpEntry().
Definition at line 449 of file geninst.cpp.
Referenced by ExtractAndRunGeneratedInstaller().
| BOOL ExtractAndRunGeneratedInstaller | ( | const CAvailableApplicationInfo & | AppInfo, |
| LPCWSTR | Archive, | ||
| bool | Silent | ||
| ) |
Definition at line 676 of file geninst.cpp.
Referenced by HandleGenerateInstallerCommand().
|
static |
Definition at line 153 of file geninst.cpp.
Referenced by ExtractAndInstallThread(), and ExtractArchiveForExecution().
| HRESULT ExtractArchiveForExecution | ( | PCWSTR | pszArchive, |
| const CStringW & | PackageName, | ||
| CStringW & | TempDir, | ||
| CStringW & | App | ||
| ) |
Definition at line 845 of file geninst.cpp.
Referenced by CDownloadManager::PerformDownloadAndInstall().
|
static |
Definition at line 142 of file geninst.cpp.
Referenced by ExtractArchive().
|
static |
|
static |
Definition at line 58 of file geninst.cpp.
Referenced by ExtractZip().
|
static |
Definition at line 134 of file geninst.cpp.
Referenced by ExtractArchive().
Definition at line 199 of file geninst.cpp.
Referenced by ExtractAndInstallThread().
|
static |
Definition at line 239 of file geninst.cpp.
Referenced by CreateMainShortcut(), and ExtractAndInstallThread().
Definition at line 207 of file geninst.cpp.
Referenced by AddUninstallOperationsFromDB(), CreateMainShortcut(), ExtractAndInstallThread(), and GetCustomIconPath().
|
static |
Definition at line 259 of file geninst.cpp.
Referenced by CreateMainShortcut().
|
static |
Definition at line 356 of file geninst.cpp.
Referenced by ExtractAndInstallThread(), and InstallFiles().
Definition at line 46 of file geninst.cpp.
Referenced by ClassifyFile().
Definition at line 604 of file geninst.cpp.
Referenced by CreateUI().
| BOOL UninstallGenerated | ( | CInstalledApplicationInfo & | AppInfo, |
| UninstallCommandFlags | Flags | ||
| ) |
Definition at line 837 of file geninst.cpp.
Referenced by CInstalledApplicationInfo::UninstallApplication().
Definition at line 702 of file geninst.cpp.
Referenced by UninstallGenerated().
Definition at line 215 of file geninst.cpp.
Referenced by ExtractAndInstallThread().
|
static |
Referenced by AddEntry(), CreateMainShortcut(), ErrorBox(), ExtractAndInstallThread(), ExtractAndRunGeneratedInstaller(), GetCommonString(), GetGenerateString(), InstallFiles(), NT5_DrawBaseBackground(), NT5_DrawLogoffCaptionText(), NT5_DrawLogoffIcon(), UIDlgProc(), UninstallGenerated(), UninstallThread(), WorkerThread(), and WriteArpEntry().