Move msi build logic