main/setup_native/source/win32/customactions/reg4msdoc/register.cxx
//-----------------------------------------
// restores lost settings formerly made
// with Register4MsDoc
//-----------------------------------------
restores lost settings formerly made
with Register4MsDoc
restores lost settings formerly made with Register4MsDoc
void RepairRegister4MsDocSettings(MSIHANDLE handle)
{
    try
    {
        RegistrationContextInformation RegContext(handle, GetOfficeExecutablePath(handle));
        RegistrarPtr CurrentRegistrar = CreateRegistrar(IsAllUserInstallation(handle), RegContext);
        CurrentRegistrar->RepairRegistrationState();
    }
    catch(RegistryException&)
    {
        assert(false);
    }
}
void RepairRegister4MsDocSettings ( MSIHANDLE handle ) { try { RegistrationContextInformation RegContext ( handle , GetOfficeExecutablePath ( handle ) ) ; RegistrarPtr CurrentRegistrar = CreateRegistrar ( IsAllUserInstallation ( handle ) , RegContext ) ; CurrentRegistrar -> RepairRegistrationState ( ) ; } catch ( RegistryException & ) { assert ( false ) ; } }
restores lost settings formerly made
with Register4MsDoc
restores lost settings formerly made with Register4MsDoc