Inno Setup script - Calling SQLite query
That's a big question! You can call into native functions, and you can even call into .NET dlls, from Inno Setup's Pascal. It's going to be a case of a lot of careful marshalling though, so it'll probably take a little while to get right