Hi all. I've developed a system and i'm using the Setup Wizard on deploying my developed program.

I have however came across a problem whereby when i tried to install a newer version of my program, the OS will prompt that an existing older version of the probram is present and requested that the older version be uninstalled before installing the newer version.

Now the question, how do i programmatically checked if an older version of the current installing program is present? If so, how do i programmatically uninstall the previous version before proceeding installing a new one?

Thanks