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: Using RegistryService for another project than the current one
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Oct 25, 2007
09:51 AM
Using RegistryService for another project than the current one
Hi all,
I would like to use the RegistryService to check if an assembly have been already installed. The trick is that the assembly is not installed by the current project. The information is in another vpd file.
How can I tell ISMP to look in the other project?
Xavier.
I would like to use the RegistryService to check if an assembly have been already installed. The trick is that the assembly is not installed by the current project. The information is in another vpd file.
How can I tell ISMP to look in the other project?
Xavier.
(2) Replies
‎Nov 01, 2007
05:15 PM
If you have two different projects but one vpd, you can use the getSoftwareObject method in the RegistryService. It doesn't matter what project the assembly is in. They all get written to the same vpd.
But if you have two vpds for the two projects, then it's a lot tougher. I'm not exactly sure what you need to do in that case.
But if you have two vpds for the two projects, then it's a lot tougher. I'm not exactly sure what you need to do in that case.
‎Nov 02, 2007
03:41 AM
I'm in the second case unfortunately.
The first case would be perfect, I already use it!
I still have the solution to open and parse the vpd "manually" but it's not a very satisfactory solution.
Thanks for your reply,
Xavier.
The first case would be perfect, I already use it!
I still have the solution to open and parse the vpd "manually" but it's not a very satisfactory solution.
Thanks for your reply,
Xavier.