Lines Matching refs:handle

43 void DetermineWordPreselectionState(MSIHANDLE handle)  in DetermineWordPreselectionState()  argument
45 if (query_preselect_registration_for_ms_application(handle, MSWORD)) in DetermineWordPreselectionState()
46 SetMsiProp(handle, TEXT("SELECT_WORD")); in DetermineWordPreselectionState()
49 void DetermineExcelPreselectionState(MSIHANDLE handle) in DetermineExcelPreselectionState() argument
51 if (query_preselect_registration_for_ms_application(handle, MSEXCEL)) in DetermineExcelPreselectionState()
52 SetMsiProp(handle, TEXT("SELECT_EXCEL")); in DetermineExcelPreselectionState()
55 void DeterminePowerPointPreselectionState(MSIHANDLE handle) in DeterminePowerPointPreselectionState() argument
57 if (query_preselect_registration_for_ms_application(handle, MSPOWERPOINT)) in DeterminePowerPointPreselectionState()
58 SetMsiProp(handle, TEXT("SELECT_POWERPOINT")); in DeterminePowerPointPreselectionState()
61 extern "C" UINT __stdcall InstallUiSequenceEntry(MSIHANDLE handle) in InstallUiSequenceEntry() argument
65 if (IsModuleSelectedForInstallation(handle, TEXT("gm_p_Wrt_Bin"))) in InstallUiSequenceEntry()
67 DetermineWordPreselectionState(handle); in InstallUiSequenceEntry()
69 else if (IsModuleInstalled(handle, TEXT("gm_p_Wrt_Bin")) && in InstallUiSequenceEntry()
70 !IsModuleSelectedForDeinstallation(handle, TEXT("gm_p_Wrt_Bin")) && in InstallUiSequenceEntry()
71 IsRegisteredFor(handle, MSWORD)) in InstallUiSequenceEntry()
73 SetMsiProp(handle, TEXT("SELECT_WORD")); in InstallUiSequenceEntry()
77 UnsetMsiProp(handle, TEXT("SELECT_WORD")); in InstallUiSequenceEntry()
80 if (IsModuleSelectedForInstallation(handle, TEXT("gm_p_Calc_Bin"))) in InstallUiSequenceEntry()
82 DetermineExcelPreselectionState(handle); in InstallUiSequenceEntry()
84 else if (IsModuleInstalled(handle, TEXT("gm_p_Calc_Bin")) && in InstallUiSequenceEntry()
85 !IsModuleSelectedForDeinstallation(handle, TEXT("gm_p_Calc_Bin")) && in InstallUiSequenceEntry()
86 IsRegisteredFor(handle, MSEXCEL)) in InstallUiSequenceEntry()
88 SetMsiProp(handle, TEXT("SELECT_EXCEL")); in InstallUiSequenceEntry()
92 UnsetMsiProp(handle, TEXT("SELECT_EXCEL")); in InstallUiSequenceEntry()
95 if (IsModuleSelectedForInstallation(handle, TEXT("gm_p_Impress_Bin"))) in InstallUiSequenceEntry()
97 DeterminePowerPointPreselectionState(handle); in InstallUiSequenceEntry()
99 else if (IsModuleInstalled(handle, TEXT("gm_p_Impress_Bin")) && in InstallUiSequenceEntry()
100 !IsModuleSelectedForDeinstallation(handle, TEXT("gm_p_Impress_Bin")) && in InstallUiSequenceEntry()
101 IsRegisteredFor(handle, MSPOWERPOINT)) in InstallUiSequenceEntry()
103 SetMsiProp(handle, TEXT("SELECT_POWERPOINT")); in InstallUiSequenceEntry()
107 UnsetMsiProp(handle, TEXT("SELECT_POWERPOINT")); in InstallUiSequenceEntry()
110 SetMsiProp(handle, TEXT("UI_SEQUENCE_EXECUTED")); in InstallUiSequenceEntry()
115 extern "C" UINT __stdcall InstallExecSequenceEntry(MSIHANDLE handle) in InstallExecSequenceEntry() argument
122 …if ((!IsSetMsiProp(handle, TEXT("UI_SEQUENCE_EXECUTED"))) && (IsMsiPropNotEmpty(handle, TEXT("Inst… in InstallExecSequenceEntry()
129 if (IsModuleSelectedForInstallation(handle, TEXT("gm_p_Wrt_Bin"))) in InstallExecSequenceEntry()
132 if (IsSetMsiProp(handle, TEXT("SELECT_WORD")) && !IsRegisteredFor(handle, MSWORD)) in InstallExecSequenceEntry()
134 else if (!IsSetMsiProp(handle, TEXT("SELECT_WORD")) && IsRegisteredFor(handle, MSWORD)) in InstallExecSequenceEntry()
137 if (IsSetMsiProp(handle, TEXT("SELECT_EXCEL")) && !IsRegisteredFor(handle, MSEXCEL)) in InstallExecSequenceEntry()
139 else if (!IsSetMsiProp(handle, TEXT("SELECT_EXCEL")) && IsRegisteredFor(handle, MSEXCEL)) in InstallExecSequenceEntry()
142 if (IsSetMsiProp(handle, TEXT("SELECT_POWERPOINT")) && !IsRegisteredFor(handle, MSPOWERPOINT)) in InstallExecSequenceEntry()
144 …else if (!IsSetMsiProp(handle, TEXT("SELECT_POWERPOINT")) && IsRegisteredFor(handle, MSPOWERPOINT)) in InstallExecSequenceEntry()
149 Register4MsDoc(handle, reg4); in InstallExecSequenceEntry()
154 Unregister4MsDoc(handle, unreg4); in InstallExecSequenceEntry()
159 extern "C" UINT __stdcall DeinstallExecSequenceEntry(MSIHANDLE handle) in DeinstallExecSequenceEntry() argument
163 if (IsCompleteDeinstallation(handle)) in DeinstallExecSequenceEntry()
165 Unregister4MsDocAll(handle); in DeinstallExecSequenceEntry()
169 if (IsModuleSelectedForDeinstallation(handle, TEXT("gm_p_Wrt_Bin"))) in DeinstallExecSequenceEntry()
171 Unregister4MsDoc(handle, MSWORD | HTML_EDITOR); in DeinstallExecSequenceEntry()
174 if (IsModuleSelectedForDeinstallation(handle, TEXT("gm_p_Calc_Bin"))) in DeinstallExecSequenceEntry()
176 Unregister4MsDoc(handle, MSEXCEL); in DeinstallExecSequenceEntry()
179 if (IsModuleSelectedForDeinstallation(handle, TEXT("gm_p_Impress_Bin"))) in DeinstallExecSequenceEntry()
181 Unregister4MsDoc(handle, MSPOWERPOINT); in DeinstallExecSequenceEntry()