MSI installation through web page

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Jul 2009
Posts: 1
Reputation: rajani_sp is an unknown quantity at this point 
Solved Threads: 0
rajani_sp rajani_sp is offline Offline
Newbie Poster

MSI installation through web page

 
0
  #1
Jul 10th, 2009
I have developed a aspx page to upload msi file to server ( by using fileupload control ) and install msi in the server. When i acess the web page in the server itself the msi installation takeplace. But when i access from a different machine installation will not start. i have the following code ( c#) to start installation.

  1. msiFilePath = Server.MapPath("MSIFileFolder") + "\\" + filename;
  2. fileUploadMSI.PostedFile.SaveAs(msiFilePath);
  3. installProcess = new Process();
  4. installProcess.StartInfo.FileName = msiFilePath;
  5. installProcess.Start();
  6. installProcess.WaitForExit()
Last edited by peter_budo; Jul 10th, 2009 at 6:31 am. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 2,562
Reputation: adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of 
Solved Threads: 454
Moderator
adatapost's Avatar
adatapost adatapost is offline Offline
Posting Maven

Re: MSI installation through web page

 
0
  #2
Jul 10th, 2009
rajani_sp,
It's a security issue. Use bb code tags. Source code must be wrap with bb code tags.

Read: How to use code tags?
Failure is not fatal, but failure to change might be. - John Wooden
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the ASP.NET Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC