FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Add parameter (https://fileforums.com/showthread.php?t=99483)

lupetto77 24-08-2017 08:24

Add parameter
 
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:
Code:

[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

Quote:

Originally Posted by lupetto77 (Post 461933)
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:
Code:

[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"

KaktoR 24-08-2017 10:21

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.


All times are GMT -7. The time now is 17:07.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com