c# - (Programmatically, Silent mode)SQL Sever Setup failure, the configuration file 'xxx' does not exist -


i doing silent mode sql installation running code.

it runs fine , every file extracted installer, after pops error message. enter image description here

i opened folder , did not find file. have file in debug folder.(i manually created it.) looking @ folder name, seems randomly created name.

so question how can folder name sql installer going create?(so can copy configuration.ini it)

it problem in code.

//process p = process.start(resources.mssqlserver_local_path, resources.sqlserver_ini);   process p = process.start(resources.mssqlserver_local_path, "/configurationfile=" + system.io.path.combine(system.io.path.getdirectoryname(system.reflection.assembly.getexecutingassembly().location), "configurationfile.ini") + " /action=install"); 

now use second code, works fine me.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -