I'm using the Diagnostics.Pro cess approach to shelling out run the
following:
C:\Windows\Syst em32\MSIEXEC.EX E /x {73F1BDB7-11E1-11D5-9DC6-00C04F2FC33B} /q
..FileName = "C:\Windows\Sys tem32\MSIEXEC.E XE"
..Arguments = "/x {73F1BDB7-11E1-11D5-9DC6-00C04F2FC33B} /q"
..Start()
I do a WaitForExit and get an error code back from MSIEXEC of 1605 -- this
means product not installed. So I go into the registry to locate the
produce code and verify that it does indeed exist. Since I'm baffled as to
why shell ot MSIEXEC would return this error when the product IS installed,
I decide to try Start | Run and enter the exact same:
C:\Windows\Syst em32\MSIEXEC.EX E /x {73F1BDB7-11E1-11D5-9DC6-00C04F2FC33B} /q
and it works!!? So now, I'm really baffled.
So why is does this NOT work using Diagnostics.Pro cess approach? Obviously
the product does indeed exists.
Rob.
P.S. - this is basically uninstalling a product (
following:
C:\Windows\Syst em32\MSIEXEC.EX E /x {73F1BDB7-11E1-11D5-9DC6-00C04F2FC33B} /q
..FileName = "C:\Windows\Sys tem32\MSIEXEC.E XE"
..Arguments = "/x {73F1BDB7-11E1-11D5-9DC6-00C04F2FC33B} /q"
..Start()
I do a WaitForExit and get an error code back from MSIEXEC of 1605 -- this
means product not installed. So I go into the registry to locate the
produce code and verify that it does indeed exist. Since I'm baffled as to
why shell ot MSIEXEC would return this error when the product IS installed,
I decide to try Start | Run and enter the exact same:
C:\Windows\Syst em32\MSIEXEC.EX E /x {73F1BDB7-11E1-11D5-9DC6-00C04F2FC33B} /q
and it works!!? So now, I'm really baffled.
So why is does this NOT work using Diagnostics.Pro cess approach? Obviously
the product does indeed exists.
Rob.
P.S. - this is basically uninstalling a product (
Comment