0

I am doing a silent mode SQL Server installation by running my code, This is my code:

string fileName, commandLine = "";

fileName = string.Format(@"{0}\SQLServer\sql64\setup.exe", setupFolder);
commandLine = string.Format(@"PCUSOURCE={0}\SQLServer\sql64 /MEDIALAYOUT=Core /CONFIGURATIONFILE={0}\SQLServer\ConfigurationFile64.ini /ACTION=Install", setupFolder);
Process.Start(fileName, commandLine);

It runs fine and every file is extracted from the installer, after that it pops up an error message

enter image description here

As you notice, I added /ACTION in the command line

/ACTION=Install

Also I checked the configuration file and I found it.

Please help me .. this error killing me :(

Thanks in advance

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
Abdulsalam Elsharif
  • 4,773
  • 7
  • 32
  • 66

0 Answers0