ENTERPRISE
13
Update Script for Deep Freeze Server Enterprise Console
Download
DSE_UpdateScript.vbs
file from
http://www.faronics.com/Faronics/Documents/DSE_
UpdateScript.zip
. Steps to run the update script is explained in the next section.
Download the update script directly from the link provided above. The contents of the
update script displayed below is just for information. Do not use the contents of the
script show below for updating Deep Freeze Server Enterprise.
’——————-SCRIPT START———————————
Set Shell= CreateObject(“WScript.Shell”)
Set FSO = CreateObject(“scripting.FileSystemObject”)
TmpFolder= Shell.ExpandEnvironmentStrings(“%temp%”)
key32bit = “HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Deep Freeze
Server Enterprise\UninstallString”
key64bit = “HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\
Deep Freeze Server Enterprise\UninstallString”
WinTitle = “Deep Freeze Server 6.3 Console uninstall script”
if CStr(CheckRegKey(key32bit)) then
InstallPath = Shell.RegRead (key32bit)
RemoteAdminKey=”HKEY_LOCAL_MACHINE\SOFTWARE\Faronics\
DeepFreezeRemoteAdministrator”
else if CStr(CheckRegKey(key64bit)) then
InstallPath = Shell.RegRead (key64bit)
RemoteAdminKey=”HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Faronics\
DeepFreezeRemoteAdministrator”
else
BtnCode = Shell.Popup(“Deep Freeze Server 6.3 Console is not installed on this
machine.”, 0, WinTitle, 16)
wscript.quit
end if
end if
InstallPathAdmin=Replace(InstallPath,” /uninstall”,””)
InstallPathServ = Replace(InstallPath,”Deep Freeze Server Enterprise\dfadmin6.exe /
uninstall”, “Deep Freeze Enterprise Server”)
InstallPath = Replace(InstallPath,”\Deep Freeze Server Enterprise\dfadmin6.exe /
uninstall”, “”)
if FSO.FolderExists(InstallPathServ) then
FSO.CopyFolder InstallPathServ, TmpFolder & “\Deep Freeze Enterprise Server”
Shell.Run “Regedit /e “ & TmpFolder & “\_$dfreg.reg “ & RemoteAdminKey, 2, true
else
BtnCode = Shell.Popup(“Unable to locate “”Deep Freeze Enterprise Server””
folder”, 0, WinTitle, 16)
wscript.quit
end if