(imported topic written by jpeppers91)
I have the following task that will execute everything but the last step, it says completed but it does not set the regsitry value. If I run the value in a separate task it works fine. Any ideas of what I’m doing wrong? Here is the line I can’t get to work.
regset "
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
" “GinaDLL”=“MSGina.dll”
extract VPN.tmp
action uses wow64 redirection false
delete __appendfile
delete wizardedit.reg
appendfile REGEDIT4
appendfile
//Stop the Service
waithidden cmd /C net stop “tmlisten”
waithidden cmd /C net stop “ntrtscan”
appendfile
HKEY_LOCAL_MACHINE\SOFTWARE\TrendMicro\PC-cillinNTCorp\CurrentVersion
appendfile “ServerPort”=dword:00001f90
appendfile “Server”=“ATL1OSCEWRK1.CORP.ETRADEGRP.COM”
appendfile “DatabasePath”="\\ATL1OSCEWRK1\ofcscan\FileDB"
appendfile “LocalServerPort”=dword:0000dd4e
appendfile “Domain”=“Laptop - vpn”
move __appendfile wizardedit.reg
waithidden regedit /s “wizardedit.reg”
//Start the Service:
waithidden cmd /C net start “tmlisten”
waithidden cmd /C net start “ntrtscan”
waithidden “{pathname of system folder & “\msiexec.exe”}” /i “{(pathname of client folder of current site) & “__Download\Agent-Windows.i386.msi”}” /qn /norestart
waithidden “{pathname of system folder & “\msiexec.exe”}” /i “{(pathname of client folder of current site) & “__Download\anyconnect-win-2.4.1012-pre-deploy-k9.msi”}” /qn /norestart
dos copy “__download\rogue.xml” “c:\Documents and Settings\All Users\Application Data\Cisco\Cisco AnyConnect VPN Client\Profile\Rogue.xml”
runhidden “{pathname of system folder & “\msiexec.exe”}” /i “{(pathname of client folder of current site) & “__Download\anyconnect-gina-win-2.4.1012-pre-deploy-k9.msi”}” /qn /norestart
regset "
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
" “GinaDLL”=“MSGina.dll”