PDA

View Full Version : Change IFX_PRODUCT_NAME at runtime



Marcus.Ackerman
05-21-2004, 08:18 AM
Hi,

I assign a new value to IFX_PRODUCT_NAME within OnFirstUIBefore(). Unfortunately, this new value is not available in an InstallScript object used by my setup.

As an example: MySetup uses MyObject.

MySetup::OnFirstUIBefore() calls

IFX_PRODUCT_NAME = "AnotherSetup";

MySetup::OnMoved

IFX_PRODUCT_NAME equals "AnotherSetup"

MyObject::OnMoved

IFX_PRODUCT_NAME equals "MySetup"

The system variable IFX_PRODUCT_NAME now has two different values, one for the setup and one for the object. How can I change IFX_PRODUCT_NAME at runtime so that the new value is available to all objects? Otherwise changing doesn't make sense to me.

Thanks a lot
Marcus