Hello everyone, this is mye first time on the forum so please correct me if I posted this in the wrong place.
This is the plot:
I'm going to start the instal a program of a regkey isn't written.
This is the code:
Wscript.sleep 20000
msgbox "Install starts now "
If RegRead("HKEY_CURRENT_USER\Software\Installert", "programmer") <> ("Installert") Then
set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.run "C:\antivirus.exe"
RegWrite "HKEY_CURRENT_USER\Software\Installert", "programmer", "REG_SZ", "200611"
If not wscript.exit Then wscript.exit
end if
I get this error: Line 14, sign 1 - 800A000D
What is wrong?
Thanks a lot.
Marius Bekk
Norway
This is the plot:
I'm going to start the instal a program of a regkey isn't written.
This is the code:
Wscript.sleep 20000
msgbox "Install starts now "
If RegRead("HKEY_CURRENT_USER\Software\Installert", "programmer") <> ("Installert") Then
set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.run "C:\antivirus.exe"
RegWrite "HKEY_CURRENT_USER\Software\Installert", "programmer", "REG_SZ", "200611"
If not wscript.exit Then wscript.exit
end if
I get this error: Line 14, sign 1 - 800A000D
What is wrong?
Thanks a lot.
Marius Bekk
Norway