mercredi 20 avril 2016

Unable to install website msi using command line in Window10

Overview : Installing a MVC3 Website using C# command line. The application installed correctly in Win7, win8, server 2008 & 2013. The same installer not working in window10 after configure IIS correctly.

Error Message : Product: Web Client -- This setup requires Internet Information Server 5.1 or higher and Windows XP or higher. This setup cannot be installed on Windows 2000. Please install Internet Information Server or a newer operating system and run this setup again.

Error Message in Event log(MsiInstaller) : Windows Installer installed the product. Product Name: Web Client. Product Version: 3.x.xx. Product Language: 1033. Manufacturer: xxxx. Installation success or error status: 1603.

Installer code :

 Process p = new Process();
            p.StartInfo.FileName = msiexec.exe;
            p.StartInfo.Arguments ="/qn /i \"" + Settings.InstallationDirectory + "Website\\WebClient.msi\"";
            p.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;

unable to see installed website in IIS.

Aucun commentaire:

Enregistrer un commentaire