Commit 8cc26d7f authored by Diego Giovane Pasqualin's avatar Diego Giovane Pasqualin
Browse files

Merge branch 'issue/128' into 'development'

Issue SCRUM#128: Add new option to windows installer

See merge request !100
parents 9c16afae 352875a4
Pipeline #12506 passed with stages
in 23 minutes and 28 seconds
...@@ -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
......
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