Hello and welcome to our forums,
What you are trying to do here is to actually add SQL Express 2014 as a prerequisite for your vb.net application.
This is a step-by-step explaination on how you can achieve that:
1) Presuming that you have added all the other files, we can continue with configuring the SQL Express 2014 as a prerequisite. First thing you have to do is to go to
"Prerequisites" page from the
"Requirements" group.
2) Now add your prerequisite as a
"Pre-Install" prerequisite. In order to achieve this, right click on
"Pre-Install" ->
"New Package Prerequisite" -> select your SQL Express 2014 package. Please keep in mind that
"Pre-Install" prerequisites are handled by our
EXE boostraper, so the build will automatically convert to "Single EXE setup (resources inside)" package type.
2.1) I would suggest that you use our predefined prerqeuisites since they are already tested and well configured.
3) Now that we have added the prerequisite, we have to add the configuration file as well. Since
"Pre-Install" prerequisites are packages that are installed before the MSI is launched, we can't add it in
"Files and Folders" page. We have to add it as an
"Additional file" in the prerequisite
"Setup Files" tab. In order to achieve this, you can go to
"Prerequisites" page -> click on your prerequisite -> click on
"Setup Files" tab -> click on
"Add files..." button and add your configuration file.
4) Now we have to access the configuration file through a command line. To do this, we have to go to
"Setup Files" tab, and in
"Install Command Lines", we have to add the command line like as in the example below: :
Code: Select all
/ConfigurationFile=[WindowsVolume]SomeFolder\YourConfigurationFile
where
"[WindowsVolume]" is a predefined property which stores the value
"C:\" and
"SomeFolder" is the folder which contains your configuration file. You have to configure this path so it will be the path to your configuration file. For more
information about this, you can check our
"Paths of the folders in the "Files and Folders" Page" article.
5) For more information about prerequisites
"Setup Files" tab, you can check our
"Prerequisites Setup FIles Tab" article.
Hope this helps!
If you have any further questions or doubts, don't hesitate to contact me and I'll gladly assist.
Regards,
Catalin