View Full Version : Add parameter
lupetto77
24-08-2017, 08:24
Hi, as a title I would like to create the icon on the desktop with the possibility to add parameters with hymn setup.
In use horn:
[Icons]
Name: {group} \ Uninstall {#AppName}; Filename: {app} \ unins000.exe; WorkingDir: {app}; Check: CheckError
Name: {group} \ {# AppName}; Filename: {app} \ {# AppExec}; WorkingDir: {app}; Check: CheckError
Name: {commondesktop} \ {# AppName}; Filename: {app} \ {# AppExec}; WorkingDir: {app}; Check: CheckError
But I do not know how to add parameters, somebody can help me.
mausschieber
24-08-2017, 08:36
Hi, as a title I would like to create the icon on the desktop with the possibility to add parameters with hymn setup.
In use horn:
[Icons]
Name: {group} \ Uninstall {#AppName}; Filename: {app} \ unins000.exe; WorkingDir: {app}; Check: CheckError
Name: {group} \ {# AppName}; Filename: {app} \ {# AppExec}; WorkingDir: {app}; Check: CheckError
Name: {commondesktop} \ {# AppName}; Filename: {app} \ {# AppExec}; WorkingDir: {app}; Check: CheckError
But I do not know how to add parameters, somebody can help me.
Name: "{group}\{cm:UninstallProgram,Shuyan Saga}"; Filename: "{uninstallexe}"; Check: "Unnin and Start and CheckError"; MinVersion: 0.0,5.0;
Name: "{userdesktop}\Shuyan Saga"; Filename: "{app}\Shuyan.exe"; Check: "Icon and CheckError"; MinVersion: 0.0,5.0;
Name: "{group}\Shuyan Saga"; Filename: "{app}\Shuyan.exe"; Check: "Start and CheckError"; MinVersion: 0.0,5.0;
lupetto77
24-08-2017, 08:41
Thank you for the reply.
Sorry but I'm not practical, but to understand the Check command for what?
Check: "Unnin and Start and CheckError"
It serves for the parameters so i should do the following:
Check: "here my parameter"
So in my case I just have to change this line:
That's right?
Name: {commondesktop} \ {# AppName}; Filename: {app} \ {# AppExec}; WorkingDir: {app}; Check: "MyParameter"
Example:
Name: {commondesktop} \ {# AppName}; Filename: {app} \ {# AppExec}; WorkingDir: {app}; Check: CheckError; Parameters: "-nointro"
lupetto77
24-08-2017, 10:34
Hi KaktoR, thank you so much for help
Kobi Blade
24-08-2017, 11:41
You mean an argument? This should work,
Name: {group}\{#AppName}; Filename: {app}\{#AppExec}; Parameters:"-nointro"; WorkingDir: {app}; Check: CheckError
KaktoR was there too, I wouldn't put it after the Check though.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.