this worked for me:

WriteValue("HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Outlook\Security\","name","value","REG_MULTI_SZ")