Q:
The company's project uses the MSDE database, everything is ready, you can install the MSDE version of the installation program on the machine where the user did not uninstall the original MSDE (only delete data), although it can detect that the MSDE has been installed, how to solve The "The instance name specified is invalid" Problem
A:
Setup preqs launch installseperatly so your MSI won't know that it's setup.exe installed MSDE. So when you uninstall your app it wont automatically uninstall MSDE.
However when you define your. PRQ file you shoshould give it a condition that tells it whether MSDE is installed or not. That way when you run your app again it will skip over the MSDE install.
If you want your install to automatically uninstall MSDE (not reccomended since it might have already been installed and there might be other databases using it) then you will have to make a custom action in the UI sequence that callmsiexec to uninstall it. you can't put it in the execute sequence because there is a mutex that only allows 1 execute sequence at a time.
We hope we can use orac and other tools to solve the problem, but the corresponding parameters are not found...