Click here to Skip to main content
15,890,609 members
Home / Discussions / C#
   

C#

 
GeneralRe: dispose (always?) Pin
PIEBALDconsult11-Aug-12 12:05
mvePIEBALDconsult11-Aug-12 12:05 
QuestionC# setup and deployment projects Pin
Zeyad Jalil4-Aug-12 3:26
professionalZeyad Jalil4-Aug-12 3:26 
AnswerRe: C# setup and deployment projects Pin
jschell4-Aug-12 7:00
jschell4-Aug-12 7:00 
QuestionRe: C# setup and deployment projects Pin
Zeyad Jalil4-Aug-12 20:12
professionalZeyad Jalil4-Aug-12 20:12 
AnswerRe: C# setup and deployment projects Pin
jschell5-Aug-12 7:26
jschell5-Aug-12 7:26 
AnswerRe: C# setup and deployment projects Pin
Paul Conrad4-Aug-12 11:47
professionalPaul Conrad4-Aug-12 11:47 
AnswerRe: C# setup and deployment projects Pin
Bernhard Hiller5-Aug-12 22:26
Bernhard Hiller5-Aug-12 22:26 
GeneralRe: C# setup and deployment projects Pin
Zeyad Jalil7-Aug-12 20:52
professionalZeyad Jalil7-Aug-12 20:52 
Hi,
I did that using procss.start and i pass the arguments, this is the code:

Process myProcess = new Process();
string sqlExpressSetupFileLocation=@"C:\Users\Administrator\Desktop\SID.Installer.BootStrap\bin\Debug\SQLEXPR_x64_ENU.exe"

myProcess.StartInfo.FileName = sqlExpressSetupFileLocation;
string startupPath = sqlExpressSetupFileLocation.Substring(0, sqlExpressSetupFileLocation.LastIndexOf("\\"));
myProcess.StartInfo.Arguments = " [SQLSERVER2008] /INSTANCEID=\"" + instanceName + "\" /ACTION=Install " +
" //IAcceptSQLServerLicenseTerms=true /FEATURES=SQLENGINE,REPLICATION " +
" /INDICATEPROGRESS=True /QUIET=False /QUIETSIMPLE=True " +
" /INSTALLSHAREDWOWDIR=C:\\Program Files (x86)\\Microsoft SQL Server " +
" /INSTANCEDIR=C:\\Program Files\\Microsoft SQL Server\\ " +
" /INSTANCENAME=" + instanceName + " " +
" /MEDIASOURCE=" + startupPath + "\\" + " " + " /SAPWD=" + saPassword + " ";

myProcess.StartInfo.UseShellExecute = false;
myProcess.Start();
myProcess.WaitForExit();



the installation run but at the end not completed successfully
and i can't know what is the reason

thanks all;
AnswerRe: C# setup and deployment projects Pin
Vijay Selvaraj26-Aug-12 22:12
Vijay Selvaraj26-Aug-12 22:12 
QuestionC# window form Pin
yashdiljale4-Aug-12 1:19
yashdiljale4-Aug-12 1:19 
AnswerRe: C# window form Pin
Pete O'Hanlon4-Aug-12 2:41
mvePete O'Hanlon4-Aug-12 2:41 
AnswerRe: C# window form Pin
OriginalGriff4-Aug-12 3:45
mveOriginalGriff4-Aug-12 3:45 
AnswerRe: C# window form Pin
BillWoodruff4-Aug-12 4:40
professionalBillWoodruff4-Aug-12 4:40 
AnswerRe: C# window form Pin
Christian Amado6-Aug-12 10:29
professionalChristian Amado6-Aug-12 10:29 
AnswerRe: C# window form Pin
Vijay Selvaraj26-Aug-12 22:14
Vijay Selvaraj26-Aug-12 22:14 
QuestionC# change linq to sql Pin
dcof3-Aug-12 10:23
dcof3-Aug-12 10:23 
AnswerRe: C# change linq to sql Pin
Abhinav S3-Aug-12 18:02
Abhinav S3-Aug-12 18:02 
AnswerRe: C# change linq to sql Pin
AnnieCalvert3-Aug-12 19:01
AnnieCalvert3-Aug-12 19:01 
GeneralRe: C# change linq to sql Pin
jschell4-Aug-12 7:02
jschell4-Aug-12 7:02 
AnswerRe: C# change linq to sql Pin
BobJanova5-Aug-12 23:45
BobJanova5-Aug-12 23:45 
Questionc# Pin
Member 20501073-Aug-12 5:33
Member 20501073-Aug-12 5:33 
AnswerRe: c# Pin
fjdiewornncalwe3-Aug-12 5:42
professionalfjdiewornncalwe3-Aug-12 5:42 
AnswerRe: c# Pin
Wes Aday3-Aug-12 6:06
professionalWes Aday3-Aug-12 6:06 
AnswerRe: c# Pin
Abhinav S3-Aug-12 18:03
Abhinav S3-Aug-12 18:03 
AnswerRe: c# Pin
Karthik Harve3-Aug-12 20:20
professionalKarthik Harve3-Aug-12 20:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.