![]() Where "" is a predefined property which stores the value "C:\" and "SomeFolder" is the folder which contains your configuration file. On the install command line : /q /ConfigurationFile=\SQL Server Express 2014\ConfigurationFile.iniĭuring the extraction, the setup files will be at C:\prerequisites\SQL Server Express 2014\SQLEXPRWT_圆4_ENU\setup.exeĬode: Select all /ConfigurationFile=SomeFolder\YourConfigurationFile On the main setup file tab, Folder: SQL Server Express 2014 My predefined extraction folder: C:\prerequisites From this point, the configuration file will be extracted into my predefined extraction folder only but it will not be inside the folder where the installation files are. Getting back to my project on Advanced Installer, the SQL msi will extract the setup files into my predefined extraction folder and will create another folder called "SQLEXPRWT_圆4_ENU" then will put its installation files. Why I am saying that? because when I've tried to install the sql server silently via command line (Not with Advanced Installer) I figured out that the configuration file must be inside the folder where the sql setup.exe is, otherwise it will not read it. I tried to find the solution but I think the problem with the path of SQL configuration file. The error says that the prerequisites was not installed correctly. I still have an error when installing SQL as prerequisites. 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: : 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.Ĥ) Now we have to access the configuration file through a command line. We have to add it as an "Additional file" in the prerequisite "Setup Files" tab. Since "Pre-Install" prerequisites are packages that are installed before the MSI is launched, we can't add it in "Files and Folders" page. ![]() 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.Ģ.1) I would suggest that you use our predefined prerqeuisites since they are already tested and well configured.ģ) Now that we have added the prerequisite, we have to add the configuration file as well. In order to achieve this, right click on "Pre-Install" -> "New Package Prerequisite" -> select your SQL Express 2014 package. First thing you have to do is to go to "Prerequisites" page from the "Requirements" group.Ģ) Now add your prerequisite as a "Pre-Install" prerequisite. This is a step-by-step explaination on how you can achieve that:ġ) Presuming that you have added all the other files, we can continue with configuring the SQL Express 2014 as a prerequisite. ![]() What you are trying to do here is to actually add SQL Express 2014 as a prerequisite for your vb.net application.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |