if you are not using a windows unfortunately u can't directly build msi executable .
but there is some workarounds like using github actions to build it on a windows machine but it could take some time to implement or you can also use a virtual windows machine to build the app.