[英]Save properties of windows service (Wix Installer)
您可以將這些設置為安裝服務的一部分。
對於登錄,請參閱 ServiceInstall 元素上的帳戶屬性。 如果您使用的是非內置用戶帳戶並使用密碼,它還有一個 Password 屬性。 如果您使用的是 NT AUTHORITY\\LocalSystem 之類的,則不需要。 http://wixtoolset.org/documentation/manual/v3/xsd/wix/serviceinstall.html
要設置恢復選項,請查看 WixUtilExtension 中的 ServiceConfig 元素: http ://wixtoolset.org/documentation/manual/v3/xsd/util/serviceconfig.html
您可以在 exe.config 中存儲您的服務設置
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.