我已經在這個探測器上工作了一天左右,但未能弄明白。.net安裝項目強制修復
所以我有引導的setup.exe一個.NET安裝項目,我想從命令行「重裝武力」我在命令行參數看,有應該是一個開關:
Windows ® Installer. V 5.0.7601.17514
msiexec /Option <Required Parameter> [Optional Parameter]
Repair Options
/f[p|e|c|m|s|o|d|a|u|v] <Product.msi | ProductCode>
Repairs a product
p - only if file is missing
o - if file is missing or an older version is installed (default)
e - if file is missing or an equal or older version is installed
d - if file is missing or a different version is installed
c - if file is missing or checksum does not match the calculated value
a - forces all files to be reinstalled
u - all required user-specific registry entries (default)
m - all required computer-specific registry entries (default)
s - all existing shortcuts (default)
v - runs from source and recaches local package
現在如果我運行setup.exe爲:
SETUP.EXE/FA setupdll.msi它不whant工作或/ F樹
下的任何其他subswicth是否有任何人能幫助您?
EDIT1: 如果我在命令行中運行它,這是工作:
%windir%\system32\msiexec /fa setupdll.msi
問題是,它多內斯這樣做完全一樣的,如果我跑了GUI安裝
桂修復執行以下操作:
- 替換所有文件
- 註冊新的文件
的條命令行的形式給出了執行以下操作:
- 替換所有文件 ,但不註冊新的DLL到GAC
任何想法,爲什麼?