Click here to Skip to main content
15,886,963 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
here all values passing to command line its exepected Valuses passing to install.bat .then stopped cmd line but i need till install.bat completed then only stop the cmd line

but how to stay the cmd and how to handled innosetup scripts

What I have tried:

InnoSetup
[Run]
Filename: "{app}\Install.bat"; Parameters: {code:dir}"" ""{code:data}""
Posted
Updated 18-Dec-23 3:28am
v2

1 solution

Your question makes no sense at all.

I will say that every entry in the Run section is executed, one line at a time. InnoSetup will wait for each item to complete execution before moving to the next item and to the next dialog in your setup.

Looking a little closer, you seem to be missing double quotes. Your line should read:
[Run]
Filename: "{app}\Install.bat"; Parameters: ""{code:dir}"" ""{code:data}""
                                           ^
                                           |
                           Add these ------+
 
Share this answer
 
v2
Comments
nikshith siddartha 19-Dec-23 1:44am    
how to stay current command prompt after all the values passing to install.bat
after passing the all parameters current cmd its closing.but installation going on one more opening install.bat running
Dave Kreskowiak 19-Dec-23 9:17am    
I understand English is not your primary language, but what you typed still does not make any sense.

I think the CDM Prompt window is closing because the command line you're using is not correct. You seem to have mismatch quotes around one of the parameters you're passing to the Install.bat command.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900