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.
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
Post a Comment