I am allready working a day or so on this probem and fail to figure it out.
So I have a .Net setup project with bootstrap setup.exe that I would like to "force reinstall" from command line I see in the command line parameters that there is a switch for that:
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
now if I run the setup.exe as:
setup.exe /fa setupdll.msi it does not whant to work or any other subswicth under the /f tree
Is there anyone that can help with this?
EDIT1: This is working if I run it from the command line:
%windir%\system32\msiexec /fa setupdll.msi
The problem is it dones not do exactly the same as if I run the setup with the gui
The gui repair does the following:
- Replace all files
- REgisters the new files
The commmand line aproach does the following:
- Replace all files But does not register the new dll into gac
Any idea why?