Can an msi be used to add a value to HKCU\Software\Microsoft\Office\15.0\Outlook\Resiliency\DoNotDisableAddinList?
Currently I'm getting an error
Could not write Addin_Name to Key \Software\Microsoft\Office\15.0\Outlook\Resiliency\DoNotDisableAddinList. Verify that you have sufficient access to that key, or contact your support personnel.
I'm an Administrator on the machine from which the MSI is being run.
What we eventually ended up doing was
1) Exporting the registry value to a .reg file
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\Resiliency\DoNotDisableAddinList] "Your.AddinName"=dword:00000001 [HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Resiliency\DoNotDisableAddinList] "Your.AdinName"=dword:00000001
2) Created Batch File
@echo off
reg ADD "HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Resiliency\DoNotDisableAddinList" /v "Your.AddinName" /t REG_DWORD /d 1 reg ADD "HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\Resiliency\DoNotDisableAddinList" /v "Your.AddinName" /t REG_DWORD /d 1
3) From Installer call Regedit.exe ("/s" option) on the .reg file created in step 1.
4) From Installer call batch file created in step 2.