We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

predatorxxx
Posts: 1
Joined: Fri Sep 12, 2014 11:32 pm

Need help with project

Hello! I need help with my project.
My project contains following items:
1) installing sql server 2008 , if user check it in dialog forms
2) installing .NET 4.0 , if it not exist on pc.
3) execution of SQL queries (database creation, login, create tables). Requests are processed on a specified server, or one that was created in claim 1.
4) unpacking required components by specified path
5) Replacing some of the values ​​in a pair of text documents (xml).

with claim 4 no problem - I have added all files with “Files and Folders”.

question: how to install sql server only if user click that he wants to install it. Or if he wants to use how own sql server - he must type it in appropriate dialog form. how to configure route. see scheme.png

question 2: how to check connection with sql server with button on dialog form? see scheme.png

Thank you for attention! Regards, Stanislav.
Attachments
scheme.png
scheme.png (74.86 KiB) Viewed 1804 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Need help with project

Hello and welcome to Advanced Installer forums,
question: how to install sql server only if user click that he wants to install it. Or if he wants to use how own sql server - he must type it in appropriate dialog form. how to configure route. see scheme.png
The sample project is attached to this thread, so if you are interested to take a look directly at my project, you are more than welcome to download the ZIP file.
question 2: how to check connection with sql server with button on dialog form? see scheme.png
Select the [ Check Connection ] button from this dialog and go to the Published Events tab and add a new "Set installer property value" Published Event with the parameters described in the How to test SQL connection parameters article.

Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.

Best regards,
Dan
Attachments
UI_SQL designSample.zip
(5.17 KiB) Downloaded 210 times
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”