Ok, that’s what I’m trying to achieve.
I have done a simple test. Created a batch file continuing UninstallString from HKLM\...\uninstall:
MsiExec.exe /I{3248F0A8-6813-11D6-A77B-00B0D0150040}
This will generate the uninstall process for J2SE Runtime, which is installed on target machine.
I pushed the batch file to target machine C:\Winnt\Temp
Then I used remotexec to run the batch file remotely on that target machine. If I understood your point, it won’t work because it wants to interact with user desktop on target. But it may work if it’s run silently using run MsiExec.exe "/q" or "/qb".
Or is it the batch file which must run under different circumstances? How would you do to make it run on remote machine? Any samples?
|