This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: BasicMSI: How to find out if a specific application is already installed?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 23, 2013
05:25 AM
BasicMSI: How to find out if a specific application is already installed?
Hi,
Before starting my BasicMSI setup I'd like to check if another software of my company was already installed on the target machine. I was planning to use a System Search but noticed that I cannot search for a file as the install path for the product is flexible (user could have installed the first product to a different location than the default location). I also cannot check for a registry entry as there is no entry done by the first software manually.
I was wondering if I could search for one of the entries in
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\
but I'm under the impression that the GUIDs that are used for the installed products there are generated and I also cannot simply search for a specific product that is installed.
Any ideas on how to solve this issue?
By the way: I'd also like to check for the installed version of the product.
Regards
Ralf
Before starting my BasicMSI setup I'd like to check if another software of my company was already installed on the target machine. I was planning to use a System Search but noticed that I cannot search for a file as the install path for the product is flexible (user could have installed the first product to a different location than the default location). I also cannot check for a registry entry as there is no entry done by the first software manually.
I was wondering if I could search for one of the entries in
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\
but I'm under the impression that the GUIDs that are used for the installed products there are generated and I also cannot simply search for a specific product that is installed.
Any ideas on how to solve this issue?
By the way: I'd also like to check for the installed version of the product.
Regards
Ralf
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 24, 2013
08:49 AM
can't you check for the uninstall string for the other software? you can find it under the registry "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\"
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 30, 2013
01:06 AM
You can also use the inbuilt function "MsiGetProductInfo()" with the proper arguments.
--Amit
--Amit
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 03, 2013
02:46 PM
I think that you could use a System Search of type "File path, by searching folder".
You can then search for a specific file name and determine where to start the search and how many folders deep you want to dive. There's even a "Search all drives" option.
Hope this helps.
-Mark B.
You can then search for a specific file name and determine where to start the search and how many folders deep you want to dive. There's even a "Search all drives" option.
Hope this helps.
-Mark B.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 07, 2013
04:34 AM
Hi,
just wanted to close this thread. I ended up using the solution that was provided by mano.n.s75:
Checking the registry for the Uninstall entry of the searched product worked out for me...
Thanks!!!
just wanted to close this thread. I ended up using the solution that was provided by mano.n.s75:
Checking the registry for the Uninstall entry of the searched product worked out for me...
Thanks!!!