Inok
14 years agoOccasional Contributor
Best Practice checking if List Entry does not exist
I recorded a deinstalling procedure which basically works fine. I will use this for a clean up before installing and testing a setup, thus I deinstall a previous installation. But the first time, or if the user removed the application manually, the application does not exist and the test fails, but this should not result in an error.
What I am looking for is a solution eighter to ignore just some steps if they failed or use an “if then” path. Using the "if then" concept I ran into troubles that I don't get access to the installed application name. I only get access to the listbox of the Win7 Program Deinstall Dialog.
PS: I don’t want a global ignore of errors.
What is the recomended way to solve this?