c# - Include config file after publish with WiX -
scenario:
have 2 applications, windows forms app , windows service app. 2 applications work together, use same libralies (dll) , share same configuration file (this file not app.config custom file).
complications:
have website (webforms) user enter information configuring software, information saved in database , information generated configuration file. site should generate build project new configuration file , page responds client's request link download .msi.
problem:
how generate installer command line called web application after generating configuration file. researched , found windows installer xml (wix), seems necessary compile entire project every time downloads. it's possible leave program compiled , add configuration file after?
apretiate helps
light (the linker in wix toolset) has feature called "cab cache" re-use cabinet files embedded in resultant msi. use arguments -reusecab , -cc enable this.
you'll still have re-build msi when user submits form, build faster (cabinet generation longest part of build process).
Comments
Post a Comment