install SqlLocalDB by inno.

207 views
Skip to first unread message

Ali AlAli

unread,
Jan 3, 2022, 10:37:45 AM1/3/22
to innosetup
Hello everyone,
The following command works to install SqlLocalDB silent:

E:\NewFolder1>msiexec /i SqlLocalDB.msi /qn IACCEPTSQLLOCALDBLICENSETERMS=YES

How can I do that with inno code?
Thanks all,  Ali.

Laurent Combémorel

unread,
Jan 3, 2022, 1:46:24 PM1/3/22
to innosetup

Check the help for temporary files extraction, execution of programs, global installation cinematics to find the step on which to execute the command...

Ali AlAli

unread,
Jan 5, 2022, 5:17:25 AM1/5/22
to innosetup
Thanks, I solved it, the following code worked fine with me:
[Run]
Filename: {cmd}; Parameters: " /c msiexec /i SqlLocalDB.msi /qn IACCEPTSQLLOCALDBLICENSETERMS=YES";  WorkingDir: "{app}";   StatusMsg: "Creating SqlLocalDB Database ... ";  Flags:  runhidden waituntilterminated    ;

Ali AlAli

unread,
Jan 5, 2022, 5:18:07 AM1/5/22
to innosetup
Thanks a lot.

On Monday, January 3, 2022 at 9:46:24 PM UTC+3 Laurent Combémorel wrote:
Reply all
Reply to author
Forward
0 new messages