calling a cmd with parameter from inno setup or directly do the same thing as a msdos script

151 views
Skip to first unread message

flu...@gmail.com

unread,
Jan 4, 2020, 5:43:53 AM1/4/20
to innosetup
Hello,

I would like to do this :

Filename: \\{#server_name}\{#share_folder_name}\Install\Client\Bin\myscript.cmd; parameters: "myinterneparameter define in the programme innosetup"; Flags: shellexec waituntilterminated

and it doesn't work...

or how to do the same thing as this following script directly in InnoSetup :
CMD /c "DEL %assemblies_share%\Ngen%client_hostname%.lis"
CMD /c "DEL %assemblies_share%\Ngen%client_hostname%.txt"

CMD /c "DIR %assemblies_share%\*.dll /b > %assemblies_share%\Ngen%client_hostname%.lis"
CMD /c "FOR /F %%i IN (%assemblies_share%\Ngen%client_hostname%.lis) DO "%ngen_dir%\ngen install %assemblies_share%\%%i >> %assemblies_share%\Ngen%client_hostname%.txt"
ECHO Assemblies loaded




Thanks

Best regards


Reply all
Reply to author
Forward
0 new messages