I need to read the location of the Temporary ASP.NET Files folder from VBScript as part of a post-installation task in an installer created using a Visual Studio 2008 deploy
Please Check this:
Set oShell = CreateObject("Wscript.Shell") strPath = oShell.RegRead("HKLM64\SOFTWARE\Microsoft\ASP.NET\2.0.50727.0\Path")
https://www.autoitscript.com/autoit3/docs/functions/RegRead.htm