localdb - Embedding SqlLocalDb in NSIS installer script -


i'm trying embed sqllocaldb installer script.

the installer far working. application gets installed. user should asked if wants install sqllocaldb. if yes installer throws sqllocaldb.msi installed dir , not execute it.

i followed script on nsis page but..

section "sqllocaldb"  setoutpath $instdir\prerequisites  messagebox mb_yesno "would use local db server?" /sd idyes idno endsqllocaldb     iffileexists 'c:\program files\microsoft sql server\110\tools\binn\sqllocaldb.exe' endsqllocaldb beginsqllocaldb     goto endsqllocaldb     beginsqllocaldb:     file "sqllocaldb.msi"     execwait '"sqllocaldb.msi" /i "$instdir\prerequisites\sqllocaldb.msi"'     endsqllocaldb: sectionend 

any ideas i'm missing out here?

this old but: execwait should be

execwait  'msiexec /i "$instdir\prerequisites\sqllocaldb.msi"' 

Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -