I extract out the msi from the framepkg.exe files using winrar and then recache the msi on the pc locally using the following commands (then you can uninstall using frminst.exe /forceuninstall again or forceinstall another version over the top) :
MsiExec.exe /I c:\MFEagent.msi REINSTALLMODE=voums REINSTALL=ALL
*****THATS THE MSI OF THE VERSION THAT WAS PREVIOUSLY INSTALLED AND IS NOW FAULTY NOT THE ONE YOU WANT TO INSTALL NOW.
can i use this above command using PStools because remote desktop is not allowed in my company.
psexec \\computer name MsiExec.exe /I c:\MFEagent.msi REINSTALLMODE=voums REINSTALL=ALL
will it work.
and how to run this command silently on remote pc
Yes we do that.....
just use that string to create a batch called recache.bat and copy the batch and the relevant msi version to the root of the remote pc, then run psexec batch file with the host names of the targets in the txt file in the same folder. The MSI should already be without interaction.
psexec @pcs.txt c:\recache.bat
you can add credentials in the standard psexec form after the text file entry eg
so you get
psexec @pcs.txt -u %domain%\%username% c:\recache.bat