| 106 | } |
| 107 | |
| 108 | STDAPI 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 | |
| 126 | STDAPI MediaInfo_SparsePackage::Installer::Uninstall() |
| 127 | { |
nothing calls this directly
no test coverage detected