Skip to content
Snippets Groups Projects
Commit 352875a4 authored by Lucas Fernandes de Oliveira's avatar Lucas Fernandes de Oliveira
Browse files

Issue SCRUM#128: Add new option to windows installer

parent 9c16afae
No related branches found
No related tags found
2 merge requests!103Merge dev -> master,!100Issue SCRUM#128: Add new option to windows installer
Pipeline #
...@@ -59,6 +59,10 @@ ...@@ -59,6 +59,10 @@
#define prj 'simmc-agent' #define prj 'simmc-agent'
#endif #endif
#ifndef outputName
#define outputName 'agent-1234'
#endif
[Setup] [Setup]
AppName=simmc-agent AppName=simmc-agent
AppVersion=0.0.0 AppVersion=0.0.0
...@@ -67,7 +71,7 @@ DefaultDirName=C:\agentC3SL ...@@ -67,7 +71,7 @@ DefaultDirName=C:\agentC3SL
ArchitecturesInstallIn64BitMode=x64 ArchitecturesInstallIn64BitMode=x64
; OutputDir = local where agent-1234.exe will be saved ; OutputDir = local where agent-1234.exe will be saved
OutputDir={#dest} OutputDir={#dest}
OutputBaseFilename=agent-1234 OutputBaseFilename={#outputName}
PrivilegesRequired=admin PrivilegesRequired=admin
[Files] [Files]
...@@ -167,4 +171,4 @@ procedure change_proxy_file(); ...@@ -167,4 +171,4 @@ procedure change_proxy_file();
key := '{#pch},{#pcp},{#pcu},{#pcpasswd}'; key := '{#pch},{#pcp},{#pcu},{#pcpasswd}';
value := '%s,%d,%s,%s'; value := '%s,%d,%s,%s';
read_file(WizardDirValue() + '\conf\proxy-conf.json', key, value); read_file(WizardDirValue() + '\conf\proxy-conf.json', key, value);
end; end;
\ No newline at end of file
...@@ -90,7 +90,7 @@ done ...@@ -90,7 +90,7 @@ done
mkdir $idPoint mkdir $idPoint
mkdir $idPoint/agentC3SL mkdir $idPoint/agentC3SL
mkdir $idPoint/agentC3SL/tmp mkdir $idPoint/agentC3SL/tmp
cp bin/agent* $idPoint/agentC3SL/ cp bin/agent-v0.0 $idPoint/agentC3SL/
mkdir $idPoint/agentC3SL/conf mkdir $idPoint/agentC3SL/conf
cd $idPoint/agentC3SL/conf cd $idPoint/agentC3SL/conf
touch datasid-conf.json touch datasid-conf.json
......
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