PDA

View Full Version : Storing a varible in the vpd for use by other products



rmackay
04-11-2006, 04:34 PM
Hello,

Is it possible to store a variable in the vpd registry that is not bound to any particular product? We have multiple products using the same installer framework and we want the first one that is installed to set a global "HOME" variable in the registry for use by other products that may be installed afterwards.

Thanks in advance.

rmackay
05-01-2006, 04:43 PM
Hello,

Is it possible to store a variable in the vpd registry that is not bound to any particular product? We have multiple products using the same installer framework and we want the first one that is installed to set a global "HOME" variable in the registry for use by other products that may be installed afterwards.

Thanks in advance.

Global persisted variable setting.

I guess they want to encourage people to figure things out on their own.

This must be the crappiest user forum ever. Most at least have support guys answering the easy questions.

aruizf
05-08-2006, 05:17 AM
The problem with Global Persistent variables is that they get uninstalled alongside the product they are associated with... so you cannot rely on the variable staying there forever (if you uninstall the first product then the others will no longer have access to the variable).

rmackay
05-08-2006, 09:13 AM
from what I have seen, the global persistant variable, if defined across all the products that use it, will stick around until the last of those products have been removed.

aruizf
05-09-2006, 05:04 AM
But if you defined it in all the products, when you launch the installer the variable would be updated with the value defined in that product installer, or wouldn't it?

rmackay
05-09-2006, 01:14 PM
In our case, we do not update the variable with every installation. The first installation creates it when it is not there and the other installations access it.