Enterprise Vault 2007 Pre-requsites installation script

NOTE: You can copy and paste the code below to a text file, just change the extension to ".vbs" .
About This Script:This was developed to complete the prerquisites required by Enterprise Vault 7.x. This will work for 8.0.x as well. This will complete the MSMQ and other registry changes needed.
'Enterprise Vault 2007 Pre-requsites installation script.
'This will set up the MSMQ parameters as well as install the following software:
' *.NET 1.1
' *.NET 2.0 (Based on OS 32 or 64 bit)
Const HKEY_LOCAL_MACHINE = &H80000002
strValue = "E:\msmq" 'enter the new storage location for MSMQ files here
strComputer = "."
Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & _
strComputer & "\root\default:StdRegProv")
'*** Memory settings for MSMQ ***
strKeyPath = "SOFTWARE\Microsoft\MSMQ\Parameters"
strKeyPathA = "System\CurrentControlSet\Control\Session Manager\Memory Management"
strValueName = "KernelMemThreshold"
dwValue = "80"
oReg.SetDWordValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue
strValueName = "PoolUsageMaximum"
dwValue = "60"
oReg.SetDWordValue HKEY_LOCAL_MACHINE,strKeyPathA,strValueName,dwValue
strValueName = "PagedPoolSize"
dwValue = "4294967295"
oReg.SetDWordValue HKEY_LOCAL_MACHINE,strKeyPathA,strValueName,dwValue
'*** Storage locations for MSMQ ***
strValueName = "StoreReliablePath"
oReg.SetStringValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,strValue
strValueName = "StorePersistentPath"
oReg.SetStringValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,strValue
strValueName = "StoreJournalPath"
oReg.SetStringValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,strValue
strValueName = "StoreLogPath"
oReg.SetStringValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,strValue
strValueName = "StoreXactLogPath"
oReg.SetStringValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,strValue