MCPcopy Create free account
hub / github.com/MediaArea/MediaInfo / Install

Method Install

Source/WindowsPackageHelper/Installer.cpp:108–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108STDAPI MediaInfo_SparsePackage::Installer::Install()
109{
110 HRESULT result;
111
112 // remove any old existing versions first
113 result = UnregisterSparsePackage();
114 if (FAILED(result))
115 return result;
116
117 result = RegisterSparsePackage();
118 if (FAILED(result))
119 return result;
120
121 SHChangeNotify(SHCNE_ASSOCCHANGED, SHCNF_IDLIST, NULL, NULL);
122
123 return S_OK;
124}
125
126STDAPI MediaInfo_SparsePackage::Installer::Uninstall()
127{

Callers

nothing calls this directly

Calls 2

UnregisterSparsePackageFunction · 0.85
RegisterSparsePackageFunction · 0.85

Tested by

no test coverage detected