Due to my need to make portable software, I need to detect whether a certain version of a program is installed. For example, if I want to install the green version of ACCESS 2003, I must know whether Office has been previously installed on the system, and if so, which version it is. Then, handle it according to different situations: if it hasn't been installed, I can directly set up the portable software; if it has been installed, setting it up will cause a conflict, so I need to back up the relevant items in the registry first.
Here comes a problem? How to use batch processing to detect whether a certain program is installed according to the registry. Detection? Here it is still a bit difficult, so it is suggested that everyone discuss it (I used to use a foreign tool called CHECKV to detect whether a specified program is installed, but it is not the command-line version, so it is very troublesome to use, and I need to extract the information from the generated HTML by myself.)
Here comes a problem? How to use batch processing to detect whether a certain program is installed according to the registry. Detection? Here it is still a bit difficult, so it is suggested that everyone discuss it (I used to use a foreign tool called CHECKV to detect whether a specified program is installed, but it is not the command-line version, so it is very troublesome to use, and I need to extract the information from the generated HTML by myself.)
