Create a registry item that contains this, case-sensitive:
[TARGETDIR]
TARGETDIR is the property name, and the brackets cause it it to resolve to
the actual path.

Signature
Phil Wilson
[Microsoft MVP-Windows Installer]
> HI
>
[quoted text clipped - 7 lines]
> Regards
> Ahmed
Ahmed Saeed - 28 Apr 2007 17:31 GMT
Thank you Phil
This worked for me, I created a registry item as you said and I read it
using the RegRead method of the wscript.shell class,
Dim WshShell
Set WshShell = CreateObject("WScript.Shell")
msgbox WshShell.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\TWS\MYDIR")
But is their a way to read the [TARGETDIR] property directly in session
class.
thank you
Ahmed
> Create a registry item that contains this, case-sensitive:
> [TARGETDIR]
[quoted text clipped - 11 lines]
>> Regards
>> Ahmed