Import own toolbar (panel) from external installer

How can I import toolbar with macros from external install script in Windows (cmd, vbs, js, etc…)? I used to open temporary document during installation; this document contained CreateSimpleToolBar call. Is there a best way?