Visual Studio 2005安裝程序項目安裝在終端服務器上崩潰 (Visual Studio 2005 Setup project install crashes over Terminal Server)


問題描述

Visual Studio 2005 安裝項目安裝在終端服務器上崩潰 (Visual Studio 2005 Setup project install crashes over Terminal Server)

我有一個由 Visual Studio 2005 創建的安裝項目,由 C# .NET 2.0 項目和 C++ MFC 項目以及 C++ 運行時組成。從主控制台運行時它可以正常工作,但在 Windows XP 目標上的終端服務器會話上運行時,安裝會以下列方式失敗 ‑ 調用 Setup.exe 時,它會在顯示第一個歡迎屏幕之前立即崩潰. 通過物理控制台調用時,設置運行正常。

我想我可以回到實驗室機器進行調試,但它在終端服務器上的實驗室機器上運行良好。

我看到其他關於終端服務器會話設置問題的描述,但我沒有看到明確的解決方案。


參考解法

方法 1:

I had LOTS of issues with developing installers (and software in general) for terminal server. I hate that damn thing.

Anyway, VS Setup Projects are just .msi files, and run using the Windows installer framework.

This will drop a log file when it errors out, they're called MSIc183.LOG (swap the c183 for some random numbers and letters), and they go in your logged‑in‑user account's temp directory.

The easiest way to find that is to type %TEMP% into the windows explorer address bar ‑ once you're there have a look for these log files, they might give you a clue.

  • Note ‑ Under terminal server, sometimes the logs don't go directly into %TEMP%, but under numbered subdirectories. If you can't find any MSIXYZ.LOG files in there, look for directories called 1, 2, and so on, and look in those.

If you find a log file, but can't get any clues from it, post it here. I've looked at more than I care to thing about, so I may be able to help

方法 2:

Before installing, drop to a command prompt and type

CHANGE USER /INSTALL

Then install your software. Once the install has completed, drop back to the command prompt and type:

CHANGE USER /EXECUTE

Alternatively, don't start the installation by a double click but instead go to Add/Remove Programs and select "install software" from there.

Good luck!

(by MikeOrion Edwardssaschabeaumont)

參考文件

  1. Visual Studio 2005 Setup project install crashes over Terminal Server (CC BY‑SA 2.5/3.0/4.0)

#installation #projects #visual-studio






相關問題

Instal versi Firebird yang benar (32bit atau 64bit) dengan Inno Setup (Install correct version of Firebird (32bit or 64bit) with Inno Setup)

在 Ubuntu 中與 EPD python 一起安裝 NLTK (Installing NLTK alongside EPD python in Ubuntu)

INSTAL_PARSE_FAILED_NO_CERTIFICATES - 試圖在 robotsium 上測試不是我的 .apk 文件 (INSTAL_PARSE_FAILED_NO_CERTIFICATES - trying to test not my .apk file on robotium)

直截了當的回答:安裝 py2app (Straight and simple answer: installing py2app)

Sql 2008 排序規則 (Sql 2008 Collation)

Apache Ant Build 命令“拒絕訪問” (Apache Ant Build command "Access Denied")

如何在 C# 部署中包含文件? (How can I include files in a C# deployment?)

使用一個安裝程序安裝多個軟件(安裝包裝器?) (Install multiple softwares with one installer (install wrapper?))

如何獲取 Eclipse 安裝目錄的絕對路徑? (How can I get the absolute path to the Eclipse install directory?)

iPhone,如何使用objective-c為iphone安裝新字體? (Iphone,how to install new font to iphone by using objective-c?)

create-react-app 命令卡在使用 cra-template 安裝 react react-dom react-scripts (create-react-app command stuck on installing react react-dom react-scripts with cra-template)

tensorflow安裝報錯(ERROR:找不到滿足tensorflow要求的版本) (Tensorflow installation error (ERROR: Could not find a version that satisfies the requirement tensorflow))







留言討論