Hi!
I have check that also, as i am using installshield Express 10.0, there is already custom action for setting ARPINSTALLLOCATION to installdir,
Even during maintenance mode value of INSTALLDIR is also available but after passing INSTALLDIR to sdfeaturetree it is still showing feature size as 0.00MB,
Value of INSTALLDIR and INSTALLLOCATION obtained is same, i have tested by changing INSTALLDIR to a differenct location other than default one.
I have tried to get feature size in Maintenance mode through
nResult = FeatureTotalSize ( MEDIA , "" , TRUE , TRUE );
nResult = NumToStr(sData,nResult);
MessageBox(sData,INFORMATION);
It is giving me size but when i call sdFeatureTree then it is showing as 0.0MB.
nResult = SdFeatureTree(szTitle, szMsg, INSTALLDIR, "", 2);
One more thing if i upgrade the setup then the value of INSTALLLOCATION string in registry \\Uninstall\ProductCode becomes blank, No idea why it is happening
Any Idea!