ReactOS 0.4.15-dev-6656-gbbb33a6
|
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "winreg.h"
#include "winnls.h"
#include "winternl.h"
#include "shlwapi.h"
#include "wingdi.h"
#include "msi.h"
#include "msiquery.h"
#include "objidl.h"
#include "wincrypt.h"
#include "winuser.h"
#include "wininet.h"
#include "winver.h"
#include "urlmon.h"
#include "shlobj.h"
#include "objbase.h"
#include "msidefs.h"
#include "sddl.h"
#include "wine/debug.h"
#include "wine/exception.h"
#include "msipriv.h"
#include "winemsi_s.h"
#include "resource.h"
Go to the source code of this file.
Classes | |
struct | tagLANGANDCODEPAGE |
Macros | |
#define | NONAMELESSUNION |
#define | NONAMELESSSTRUCT |
#define | COBJMACROS |
Typedefs | |
typedef struct tagLANGANDCODEPAGE | LANGANDCODEPAGE |
Variables | |
struct { | |
int id | |
const WCHAR * text | |
} | internal_errors [] |
typedef struct tagLANGANDCODEPAGE LANGANDCODEPAGE |
|
static |
Definition at line 366 of file package.c.
Referenced by MSI_CreatePackage().
|
static |
Definition at line 127 of file package.c.
Referenced by free_package_structures().
|
static |
Definition at line 107 of file package.c.
Referenced by free_package_structures().
|
static |
Definition at line 62 of file package.c.
Referenced by free_package_structures().
Definition at line 87 of file package.c.
Referenced by free_package_structures().
|
static |
Definition at line 149 of file package.c.
Referenced by MSI_FreePackage().
|
static |
Definition at line 522 of file package.c.
Referenced by set_msi_assembly_prop().
Definition at line 1807 of file package.c.
Referenced by MSI_ProcessMessage().
|
static |
Definition at line 1299 of file package.c.
Referenced by MSI_OpenPackageW().
|
static |
Definition at line 1243 of file package.c.
Referenced by get_local_package(), and MSI_OpenPackageW().
|
static |
Definition at line 1248 of file package.c.
Referenced by MSI_OpenPackageW().
|
static |
Definition at line 1215 of file package.c.
Referenced by get_product_code(), and get_product_version().
Definition at line 1253 of file package.c.
Referenced by get_local_package().
|
static |
Definition at line 1705 of file package.c.
Referenced by MSI_ProcessMessageVerbatim().
void msi_adjust_privilege_properties | ( | MSIPACKAGE * | package | ) |
Definition at line 965 of file package.c.
Referenced by MSI_CreatePackage(), MSI_InstallPackage(), and MSI_OpenPackageW().
|
static |
Definition at line 919 of file package.c.
UINT msi_clone_properties | ( | MSIDATABASE * | db | ) |
Definition at line 382 of file package.c.
Referenced by MSI_CreatePackage(), and msi_table_apply_transform().
Definition at line 1063 of file package.c.
Referenced by msi_apply_patch_package(), and MSI_OpenPackageW().
MSIPACKAGE * MSI_CreatePackage | ( | MSIDATABASE * | db | ) |
Definition at line 978 of file package.c.
Definition at line 1027 of file package.c.
Referenced by MSI_OpenPackageW(), and ready_media().
LPWSTR msi_dup_property | ( | MSIDATABASE * | db, |
LPCWSTR | prop | ||
) |
Definition at line 2283 of file package.c.
Referenced by ACTION_CostFinalize(), ACTION_CustomAction(), ACTION_ExecuteAction(), ACTION_RegisterProduct(), ACTION_RegisterUser(), append_productcode(), check_transform_applicable(), defer_custom_action(), event_set_target_path(), get_base_url(), get_duplicate_filename(), get_ini_file_name(), get_source_root(), HANDLE_CustomType23(), HANDLE_CustomType50(), HANDLE_CustomType53_54(), ITERATE_MoveFiles(), ITERATE_RemoveExistingProducts(), ITERATE_RemoveFiles(), MSI_ApplicablePatchXML(), msi_apply_patches(), msi_apply_transforms(), msi_build_icon_path(), msi_change_media(), msi_check_patch_applicable(), MSI_CreatePackage(), msi_dialog_combobox_update(), msi_dialog_dup_property(), msi_dialog_edit_control(), msi_dialog_maskedit_control(), msi_dialog_oncreate(), msi_dialog_radiogroup_control(), msi_get_checkbox_value(), msi_get_property_int(), MSI_InstallPackage(), msi_load_media_info(), MSI_OpenPackageW(), msi_publish_install_properties(), msi_publish_product_properties(), msi_publish_upgrade_code(), msi_resolve_target_folder(), msi_set_sourcedir_props(), msi_validate_product_id(), MsiSetFeatureAttributesW(), patch_set_media_source_prop(), process_state_property(), ready_media(), remove_product_upgrade_code(), and set_installer_properties().
void msi_free_action_script | ( | MSIPACKAGE * | package, |
UINT | script | ||
) |
Definition at line 138 of file package.c.
Referenced by execute_script(), and free_package_structures().
|
static |
Definition at line 340 of file package.c.
LPWSTR msi_get_error_message | ( | MSIDATABASE * | db, |
int | error | ||
) |
Definition at line 1823 of file package.c.
Referenced by ACTION_ExecuteAction(), MSI_OpenPackageW(), MSI_ProcessMessage(), and ui_actioninfo().
WCHAR * msi_get_package_code | ( | MSIDATABASE * | db | ) |
Definition at line 1278 of file package.c.
Referenced by ACTION_PublishProduct(), and msi_publish_product_properties().
UINT msi_get_property | ( | MSIDATABASE * | db, |
LPCWSTR | szName, | ||
LPWSTR | szValueBuf, | ||
LPDWORD | pchValueBuf | ||
) |
Definition at line 2250 of file package.c.
Referenced by create_temp_dir(), deformat_property(), msi_create_temp_file(), msi_dialog_get_checkbox_state(), msi_dup_property(), MSI_InstallPackage(), and msi_set_property().
int msi_get_property_int | ( | MSIDATABASE * | db, |
LPCWSTR | prop, | ||
int | def | ||
) |
Definition at line 2305 of file package.c.
Referenced by ACTION_AllocateRegistrySpace(), ACTION_CostFinalize(), ACTION_FindRelatedProducts(), ACTION_InstallFiles(), ACTION_MigrateFeatureStates(), ACTION_RegisterProduct(), get_root_key(), is_obsoleted_by_patch(), msi_adjust_privilege_properties(), msi_dialog_adjust_dialog_pos(), MSI_InstallPackage(), msi_publish_install_properties(), msi_publish_product_properties(), msi_set_context(), MSI_SetFeatureStates(), MsiEnumComponentCostsW(), MsiGetLanguage(), and MsiGetMode().
|
static |
Definition at line 2183 of file package.c.
Referenced by msi_get_property(), MsiGetPropertyA(), and MsiGetPropertyW().
|
static |
Definition at line 950 of file package.c.
Referenced by MSI_CreatePackage().
UINT MSI_OpenPackageW | ( | LPCWSTR | szPackage, |
DWORD | dwOptions, | ||
MSIPACKAGE ** | pPackage | ||
) |
Definition at line 1385 of file package.c.
Referenced by MSI_OpenProductW(), MsiDetermineApplicablePatchesW(), MsiInstallProductW(), MsiOpenPackageExW(), MsiReinstallFeatureW(), and open_package().
UINT msi_package_add_info | ( | MSIPACKAGE * | package, |
DWORD | context, | ||
DWORD | options, | ||
LPCWSTR | property, | ||
LPWSTR | value | ||
) |
Definition at line 2625 of file package.c.
Referenced by msi_load_media_info().
UINT msi_package_add_media_disk | ( | MSIPACKAGE * | package, |
DWORD | context, | ||
DWORD | options, | ||
DWORD | disk_id, | ||
LPWSTR | volume_label, | ||
LPWSTR | disk_prompt | ||
) |
Definition at line 2648 of file package.c.
Referenced by msi_load_media_info().
INT MSI_ProcessMessage | ( | MSIPACKAGE * | package, |
INSTALLMESSAGE | eMessageType, | ||
MSIRECORD * | record | ||
) |
Definition at line 1914 of file package.c.
Referenced by ACTION_AllocateRegistrySpace(), ACTION_ExecuteAction(), ACTION_MsiPublishAssemblies(), ACTION_MsiUnpublishAssemblies(), ACTION_ProcessComponents(), ACTION_PublishFeatures(), ACTION_PublishProduct(), ACTION_RegisterClassInfo(), ACTION_RegisterExtensionInfo(), ACTION_RegisterMIMEInfo(), ACTION_RegisterProduct(), ACTION_RegisterProgIdInfo(), ACTION_RegisterUser(), ACTION_RemoveFiles(), ACTION_ResolveSource(), ACTION_ShowDialog(), ACTION_UnregisterClassInfo(), ACTION_UnregisterExtensionInfo(), ACTION_UnregisterMIMEInfo(), ACTION_UnregisterProgIdInfo(), dialog_create(), ITERATE_AppSearch(), ITERATE_CreateFolders(), ITERATE_CreateShortcuts(), ITERATE_DeleteService(), ITERATE_DuplicateFiles(), ITERATE_FindRelatedProducts(), ITERATE_InstallODBCDataSource(), ITERATE_InstallODBCDriver(), ITERATE_InstallODBCTranslator(), ITERATE_MoveFiles(), iterate_properties(), ITERATE_PublishComponent(), ITERATE_RegisterFonts(), ITERATE_RegisterTypeLibraries(), ITERATE_RemoveDuplicateFiles(), ITERATE_RemoveEnvironmentString(), ITERATE_RemoveFiles(), ITERATE_RemoveFolders(), ITERATE_RemoveIniValuesOnInstall(), ITERATE_RemoveIniValuesOnUninstall(), ITERATE_RemoveODBCDataSource(), ITERATE_RemoveODBCDriver(), ITERATE_RemoveODBCTranslator(), ITERATE_RemoveRegistryValuesOnInstall(), ITERATE_RemoveRegistryValuesOnUninstall(), ITERATE_RemoveShortcuts(), ITERATE_SelfRegModules(), ITERATE_SelfUnregModules(), ITERATE_StartService(), ITERATE_StopService(), ITERATE_UnpublishComponent(), ITERATE_UnregisterFonts(), ITERATE_UnregisterTypeLibraries(), ITERATE_WriteEnvironmentString(), ITERATE_WriteIniValues(), ITERATE_WriteRegistryValues(), msi_change_media(), msi_file_update_ui(), MSI_FreePackage(), MSI_OpenPackageW(), msi_ui_progress(), msi_unpublish_feature(), MsiOpenPackageExW(), MsiProcessMessage(), ui_actioninfo(), and ui_actionstart().
INT MSI_ProcessMessageVerbatim | ( | MSIPACKAGE * | package, |
INSTALLMESSAGE | eMessageType, | ||
MSIRECORD * | record | ||
) |
Definition at line 1848 of file package.c.
Referenced by ACTION_ExecuteAction(), MSI_OpenPackageW(), and MSI_ProcessMessage().
void msi_reset_source_folders | ( | MSIPACKAGE * | package | ) |
Definition at line 2089 of file package.c.
Referenced by ACTION_CustomAction(), append_productcode(), ITERATE_AppSearch(), msi_dialog_set_property(), msi_parse_command_line(), msi_set_sourcedir_props(), and MsiSetPropertyW().
UINT msi_set_original_database_property | ( | MSIDATABASE * | db, |
const WCHAR * | package | ||
) |
Definition at line 1311 of file package.c.
Referenced by MSI_InstallPackage(), and MSI_OpenPackageW().
Definition at line 2100 of file package.c.
Referenced by ACTION_CostFinalize(), ACTION_CostInitialize(), ACTION_CustomAction(), ACTION_DisableRollback(), ACTION_INSTALL(), ACTION_ProcessExecSequence(), append_productcode(), event_add_local(), event_add_source(), event_reinstall(), event_reinstall_mode(), event_remove(), ITERATE_AppSearch(), ITERATE_CCPSearch(), msi_adjust_privilege_properties(), MSI_CreatePackage(), msi_dialog_set_property(), MSI_InstallPackage(), msi_load_suminfo_properties(), MSI_OpenPackageW(), msi_parse_command_line(), msi_resolve_target_folder(), msi_set_original_database_property(), msi_set_sourcedir_props(), MSI_SetInstallLevel(), msi_validate_product_id(), MsiSetPropertyW(), patch_set_media_source_prop(), process_overrides(), set_deferred_action_props(), set_installed_prop(), set_installer_properties(), set_msi_assembly_prop(), set_target_path(), and set_user_sid_prop().
Definition at line 1674 of file package.c.
Referenced by s_remote_GetActiveDatabase(), session_invoke(), test_db(), test_emptypackage(), test_invalid_functions(), test_MsiSetProperty(), test_property_table(), test_simple_patch(), test_system_tables(), and test_view_get_error().
Definition at line 2313 of file package.c.
Referenced by check_prop(), da_deferred(), da_immediate(), test_appsearch(), test_appsearch_complocator(), test_appsearch_drlocator(), test_appsearch_inilocator(), test_appsearch_reglocator(), test_ccpsearch(), test_complocator(), test_dbtopackage(), test_formatrecord_tables(), test_installprops(), test_MsiDatabaseCommit(), test_MsiGetSourcePath(), test_MsiOpenProduct(), test_MsiSetProperty(), test_property_table(), test_props(), test_retval(), test_settargetpath(), test_simple_patch(), test_sourcedir(), test_states(), and test_try_transform().
Definition at line 2385 of file package.c.
Referenced by s_remote_GetProperty(), session_invoke(), and test_props().
Definition at line 1669 of file package.c.
Referenced by package_from_db(), test_costs(), test_dbtopackage(), test_emptypackage(), test_externalui_message(), test_invalid_functions(), test_MsiDatabaseCommit(), test_MsiGetFeatureInfo(), test_msipackage(), test_MsiSetComponentState(), test_MsiSetFeatureAttributes(), test_property_table(), test_simple_patch(), test_sourcedir(), and test_top_level_action().
Definition at line 1650 of file package.c.
Referenced by init_functionpointers(), and MsiOpenPackageA().
Definition at line 1612 of file package.c.
Referenced by init_functionpointers(), InstallerImpl_OpenPackage(), MsiOpenPackageExA(), and MsiOpenPackageW().
INT WINAPI MsiProcessMessage | ( | MSIHANDLE | hInstall, |
INSTALLMESSAGE | eMessageType, | ||
MSIHANDLE | hRecord | ||
) |
Definition at line 2017 of file package.c.
Referenced by ok_(), s_remote_ProcessMessage(), session_invoke(), test_externalui(), test_externalui_message(), and test_processmessage().
Definition at line 2067 of file package.c.
Referenced by nested(), test_appsearch_complocator(), test_condition(), test_format_record(), test_formatrecord2(), test_formatrecord_package(), test_formatrecord_tables(), test_launchconditions(), test_misc(), test_MsiDatabaseCommit(), test_MsiGetProductProperty(), test_MsiGetSourcePath(), test_MsiSetProperty(), test_property_table(), test_props(), test_removefiles(), and test_top_level_action().
Definition at line 2149 of file package.c.
Referenced by MsiSetPropertyA(), s_remote_SetProperty(), and session_invoke().
|
static |
Definition at line 1103 of file package.c.
Referenced by MSI_OpenPackageW().
UINT __cdecl s_remote_EnumComponentCosts | ( | MSIHANDLE | hinst, |
LPCWSTR | component, | ||
DWORD | index, | ||
INSTALLSTATE | state, | ||
LPWSTR | drive, | ||
INT * | cost, | ||
INT * | temp | ||
) |
Definition at line 2618 of file package.c.
MSICONDITION __cdecl s_remote_EvaluateCondition | ( | MSIHANDLE | hinst, |
LPCWSTR | condition | ||
) |
UINT __cdecl s_remote_FormatRecord | ( | MSIHANDLE | hinst, |
struct wire_record * | remote_rec, | ||
LPWSTR * | value | ||
) |
Definition at line 2581 of file package.c.
UINT __cdecl s_remote_GetComponentState | ( | MSIHANDLE | hinst, |
LPCWSTR | component, | ||
INSTALLSTATE * | installed, | ||
INSTALLSTATE * | action | ||
) |
Definition at line 2560 of file package.c.
UINT __cdecl s_remote_GetFeatureCost | ( | MSIHANDLE | hinst, |
LPCWSTR | feature, | ||
MSICOSTTREE | cost_tree, | ||
INSTALLSTATE | state, | ||
INT * | cost | ||
) |
Definition at line 2612 of file package.c.
UINT __cdecl s_remote_GetFeatureState | ( | MSIHANDLE | hinst, |
LPCWSTR | feature, | ||
INSTALLSTATE * | installed, | ||
INSTALLSTATE * | action | ||
) |
Definition at line 2549 of file package.c.
BOOL __cdecl s_remote_GetMode | ( | MSIHANDLE | hinst, |
MSIRUNMODE | mode | ||
) |
UINT __cdecl s_remote_GetProperty | ( | MSIHANDLE | hinst, |
LPCWSTR | property, | ||
LPWSTR * | value, | ||
DWORD * | size | ||
) |
Definition at line 2452 of file package.c.
Definition at line 2522 of file package.c.
Definition at line 2500 of file package.c.
int __cdecl s_remote_ProcessMessage | ( | MSIHANDLE | hinst, |
INSTALLMESSAGE | message, | ||
struct wire_record * | remote_rec | ||
) |
Definition at line 2475 of file package.c.
Definition at line 2495 of file package.c.
UINT __cdecl s_remote_SetComponentState | ( | MSIHANDLE | hinst, |
LPCWSTR | component, | ||
INSTALLSTATE | state | ||
) |
Definition at line 2566 of file package.c.
UINT __cdecl s_remote_SetFeatureState | ( | MSIHANDLE | hinst, |
LPCWSTR | feature, | ||
INSTALLSTATE | state | ||
) |
Definition at line 2555 of file package.c.
Definition at line 2576 of file package.c.
UINT __cdecl s_remote_SetMode | ( | MSIHANDLE | hinst, |
MSIRUNMODE | mode, | ||
BOOL | state | ||
) |
Definition at line 2544 of file package.c.
Definition at line 2517 of file package.c.
|
static |
Definition at line 458 of file package.c.
Referenced by MSI_OpenPackageW().
|
static |
Definition at line 632 of file package.c.
Referenced by MSI_CreatePackage().
|
static |
Definition at line 589 of file package.c.
Referenced by set_installer_properties().
|
static |
Definition at line 474 of file package.c.