Commit 1c6c0a57 authored by Lais Frigério's avatar Lais Frigério

SCRUM#147 - Replace Start_agent by default

Signed-off-by: 's avatarLais Frigério <laaisfrigerio@gmail.com>
parent 28bfeb70
Pipeline #12980 passed with stages
in 32 minutes and 57 seconds
......@@ -88,7 +88,7 @@ Name: "{app}\tmp"
[Run]
; After install agent on windows machine, schedule a task to run every login
Filename: "schtasks.exe"; \
Parameters : "/Create /SC ONLOGON /TN Start_agent /TR ""'{app}\bin\agent-v0.0.exe'"""; \
Parameters : "/Create /Query /SC ONLOGON /TN Start_agent /TR ""'{app}\bin\agent-v0.0.exe'"" /F"; \
Flags: runascurrentuser nowait;
; Rename uninstall .exe file
Filename: {cmd}; Parameters: "/C Move ""{app}\unins000.exe"" ""{app}\uninstall_agent.exe"""; Flags: RunHidden WaitUntilTerminated;
......@@ -171,4 +171,4 @@ procedure change_proxy_file();
key := '{#pch},{#pcp},{#pcu},{#pcpasswd}';
value := '%s,%d,%s,%s';
read_file(WizardDirValue() + '\conf\proxy-conf.json', key, value);
end;
end;
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment