SQLexpess 2014 works from cmd not from AdvancedInstaller. - Advanced Installer Community
aykutcanturk
Posts: 5
Joined: Thu Jun 06, 2013 3:02 pm

SQLexpess 2014 works from cmd not from AdvancedInstaller.

well, like many people I have sqlexpress problem.

I created very simple test installer to see if its working. I test on 32bit platform. (tested x64 too). I can manually install sqlexpress with below command line:

SQLEXPR_x86_ENU.exe /Q /IACCEPTSQLSERVERLICENSETERMS /ACTION=Install /INSTANCENAME=SQLEXPRESS /FEATURES=SQLENGINE /SECURITYMODE=SQL /SAPWD=123 /TCPENABLED=1

it silently installs and it perfect. but then I put same arguments on advancedinstaller sql server setup's landing page appears as if advanced installer called setup.exe without any arguments.

I tried /QS instead of /Q, nothing changed. I tried to extract files from SQLEXPR_x86_ENU.exe to simple path like c:\t but again no change.

I removed FullUI, BasicUI parameters from advanced installer but nothing changed. I use Vmware windows7 32bit OS to test setup.

I also looked into sql log files, I see nothing. ir says :"Requested action: LandingPage". as I said like setup is calling without any arguments.

I attach the project file (except Prerequisites folder). I was very exited about this feature but...

can anyone help me please ?

best.
Attachments
test.rar
test project.
(20.6 KiB) Downloaded 458 times
aykutcanturk
Posts: 5
Joined: Thu Jun 06, 2013 3:02 pm

Re: SQLexpess 2014 works from cmd not from AdvancedInstaller

I found out that advanced installer really nt passing command line arguments. I checked with task manager. then I copied command line arguments all 3 fields:
Full UI, Basic UI and Silent (no UI) fields. as you can see from screenshots after that it passes right arguments and works fine.

maybe its my mistake but if this is the situation I believe this "install command line" section needs some more explanation. Maybe by default setting all these 3 textboxes to silent install defaults can explain more things.

consider this question as solved, thank you.

best.
Attachments
2.png
2.png (98.23 KiB) Viewed 4151 times
1.png
1.png (114.4 KiB) Viewed 4151 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: SQLexpess 2014 works from cmd not from AdvancedInstaller

Hello,

Please note that each command from the Setup Files tab is used by your prerequisite based on the UI level of the main package.

For example, if the main package runs with full UI the command from the Full UI field will be used to call the prerequisite, if the main package runs with Basic UI, the command line from the Basic UI will be used to call the prerequisite, the same for the rest. This way you can have different command lines for each UI level.
  • Full UI - command line parameters used for an installation with full user interface
  • Basic UI - command line parameters used for an installation which shows only a progress bar
  • Silent (no UI) - command line parameters for an installation with no user interface
You can use the attached image for your reference:
SetupFiles.png
SetupFiles.png (38.44 KiB) Viewed 4141 times
Please let me know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
aykutcanturk
Posts: 5
Joined: Thu Jun 06, 2013 3:02 pm

Re: SQLexpess 2014 works from cmd not from AdvancedInstaller

yeap, great. thanks...
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: SQLexpess 2014 works from cmd not from AdvancedInstaller

You're welcome,

If there is anything else I can help you with, please let me know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”