Search code examples
vbaregistrypowerpointadd-in

adding Powerpoint Add-in from registry throws " Powerpoint couldn't load the file" error


I created Powerpoint Add-in using VBA. I added it manually to Powerpoint and it works fine, When I start Powerpoint, I can see it's loaded and working as expected. I want this add-in to load through registry. Below is my registry file detail. But it throws error "For some reason Powerpoint couldn't load the file"

#
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\PowerPoint\Addins\MyNewAddIn]
"AutoLoad"=dword:ffffffff 
"Path"="file:///C:/MyAddinFolder/MyNewAddIn.ppam"

Solution

  • FWIW, here's the registry entry for one of my installed add-ins:

    [HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\PowerPoint\AddIns\RESIZE]
    "Path"="C:\\Users\\steve\\AppData\\Roaming\\Microsoft\\AddIns\\RESIZE.PPA"
    "AutoLoad"=dword:ffffffff
    

    Yours:

    [HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\PowerPoint\Addins\MyNewAddIn]
    "AutoLoad"=dword:ffffffff 
    "Path"="file:///C:/MyAddinFolder/MyNewAddIn.ppam"
    

    Note the differences in the Path entry.