Conditioning a nested installation
Posted 28 November 2001 - 09:10
I would like to do certain things only if the msi runs not as a nested. Any Ideas?
Posted 28 November 2001 - 13:58
For example whenever calling it internally (assuming you use a custom action base 7), add to your Target field (or command line) "NESTED=True", then inside the MSI you can use the condition NESTED=True to proove that it is nested.
Posted 29 November 2001 - 09:13
Posted 29 November 2001 - 12:50
I can't think of a possible reason why this wouldn't work. Can you give any more information?
It's probably worth noting (which I forgot to do yesterday) that the property must be entirely UPPER CASE.
Posted 29 November 2001 - 15:15
thanks for your help!!. what i am trying to do is the following - i am running a nested installation, and i would like that the nested installation would be installed where the "parent" is. Currently, when i'm running a nested, and i choose to install the "parent" on, let's say, c:\xxxx, the nested installation is being installed on the defult path, i.e., c:\program files\yyy
so i would like to prevent having them on 2 different places on tree.
i could not find a solution for that. i took your suggestion, and in custom action 23 as the target i set a property NESTED=TRUE
and on the nested i used the condition NOT NESTED=TRUE
nothing happened :-)
do you have a better soultion for that?, i mean for finding the place that the parent would be installed, and install there the nested installation/.
Thanks.