I have a file which I want to use during install. It contains some SQL. This file is not used by the installed application itself, so I don’t want it to be installed to the client machine, I want it to be a part of the setup package like my custom action DLLs that I specify using Binary element. But how do I read that file if I embed it into the setup package? Are there any built-in WiX/DTF functions for that? Or maybe I should embed that file in another way?
Share
The best way I’ve discovered for myself – create a Properties file for the WiX custom actions library and add all SQL there. No additional actions should be done for the SQL to be available in the custom actions! 🙂