I'm writing custom module and I need to insert some records to DB during installation proccess. How to set up this in built-transport files (or maybe somewhere else) ? Thanks in advanced.
That would normally go in a PHP resolver, using the standard xPDO db methods.
You might look at MyComponent. It will create a resolver for you that will run after all your other objects are installed.