How do I read 64-bit Registry values from VBScript running as a an msi post-installation task?

前端 未结 4 1611
庸人自扰
庸人自扰 2020-12-29 14:39

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

4条回答
  •  伪装坚强ぢ
    2020-12-29 15:06

    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

提交回复
热议问题