Skip to content
Snippets Groups Projects
Commit 1c6c0a57 authored by Lais Frigério's avatar Lais Frigério
Browse files

SCRUM#147 - Replace Start_agent by default

parent 28bfeb70
No related branches found
No related tags found
2 merge requests!112Versão 1.0.1,!106SCRUM#147 - Replace Start_agent by default
Pipeline #
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment