How did you "uninstall the programme" while the windows installer service was stopped? If you only deleted the directory containing the program files, that's not an uninstall, and it can really make a mess. It leaves a lot of things hanging in the registry.
If you can determine which install is actually "in progress", try re-starting the install (or uninstall) of that same program. When you run the installer for the same program that's "in progress", MSI should detect that an error occurred and give you an option to recover, repair the installation, cancel the install or something else. Once MSI completes "normally", whether the software is installed or not, the "in progress" error should be resolved.
Alternatively, your system may need registry repair, but I'd suggest taking it to a professional if the re-install doesn't fix the problem. Changing the registry arbitrarily can kill your system completely. Unless you're willing to risk losing everything on your computer, don't do it. If you do, you may end up needing a complete wipe-and-clean-reinstall.