Issue SCRUM#128: Add new option to windows installer

Signed-off-by: Lucas Fernandes de Oliveira's avatarLucas Fernandes de Oliveira <lfo14@inf.ufpr.br>
parent 9c16afae
Pipeline #12495 passed with stages
in 112 minutes and 21 seconds
......@@ -59,6 +59,10 @@
#define prj 'simmc-agent'
#endif
#ifndef outputName
#define outputName 'agent-1234'
#endif
[Setup]
AppName=simmc-agent
AppVersion=0.0.0
......@@ -67,7 +71,7 @@ DefaultDirName=C:\agentC3SL
ArchitecturesInstallIn64BitMode=x64
; OutputDir = local where agent-1234.exe will be saved
OutputDir={#dest}
OutputBaseFilename=agent-1234
OutputBaseFilename={#outputName}
PrivilegesRequired=admin
[Files]
......@@ -167,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;
\ No newline at end of file
end;
......@@ -90,7 +90,7 @@ done
mkdir $idPoint
mkdir $idPoint/agentC3SL
mkdir $idPoint/agentC3SL/tmp
cp bin/agent* $idPoint/agentC3SL/
cp bin/agent-v0.0 $idPoint/agentC3SL/
mkdir $idPoint/agentC3SL/conf
cd $idPoint/agentC3SL/conf
touch datasid-conf.json
......
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