這一切首先是非常相似的問題解決Custom Action in C# used via WiX fails with error 1154 但是,我無法分辨具體的措施來解決在我的情況的問題。希望有人能指出我正確的方向。 在我的情況下,我使用Wise Installation Studio 7.0來執行我寫的C#自定義操作,以啓動Server 2008 R2及更新版本上的.Net Framework
我知道,當前登錄的Windows用戶可以通過WiseScript使用進行檢測: Get System Information, Retrieve: Windows Logon Name
但純粹WiseScript,有沒有辦法讓用戶名執行運行過程? 這裏有一個重要的區別,因爲你可以登錄爲'Bob',但是使用'Sally'在MyDBInterface.exe上運行,MyDBInterface.ex