oleg-shilo / wixsharp

Framework for building a complete MSI or WiX source code by using script files written with C# syntax.
MIT License
1.12k stars 175 forks source link

Does Wixsharp support dacpac deployment in SQL server? #1556

Closed abskulkarni closed 5 months ago

abskulkarni commented 5 months ago

Hi @oleg-shilo Does Wixsharp support dacpac deployment in SQL server? If yes, can you please provide any sample code? Standard samples solution does not dacpac approach. It runs a sql script there.

oleg-shilo commented 5 months ago

Sorry, no. WixSharp is not an installer as such. It is a tool (an orchestrator of WiX build process) to build MSI setup files. Thus since MSI and dacpac have nothing in common, I do not see a direct use case for WixSharp in your scenario.

Though, of course, you can build msi distributing dacpac file and at the end of the installation you can deploy it using sqlpackage.

But I am not sure it is what you need.

abskulkarni commented 5 months ago

Thanks @oleg-shilo . I will go by route where I will put dacpac file on disk through MSI and then run it later.