Unable to install website msi using command line in Window10 - asp.net-mvc

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;
p.Start();
p.WaitForExit();
unable to see installed website in IIS.

I discovered there was some configuration problems with the Conditions Editor (Requirements on Target Machine)
Walkthrough:
Go to the setup project setup and Launch the Conditions Editor.
Right click on the IIS Condition and view the properties
Check Condition Formula; it should as the following:
(IISMAJORVERSION >= "#5" AND IISMINORVERSION >= "#1") OR IISMAJORVERSION >= "#6"
If you want to install on IIS Version 7.5 and above then use the below condition formula:
(IISMAJORVERSION >= "#6" AND IISMINORVERSION >= "#1") OR IISMAJORVERSION >= "#10"
In Windows 10 Default IISMINORVERSION value = 0 (but my code is 1 and i have modified my setup accordingly).
How to fine MIN and MAX Value :
Open system registry
Move to following location "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters"
Left side panel find the MIN and MAX default values (refer below the screen)
Above the changes working for me and let me know if any

Change the Search Target Machine condition properties
IISMAJORVERSION, IISMINORVERSION Root Value to vsdrrHKLM

Remove the <> from Launch condition of build and again build the project, this is how I solved my problem.

I needed to install IIS 6 Management Compatibility (more exactly IIS Metabase and IIS 6 configuration compatibility) feature within Internet Information Services -> Web Management Tools to make it work on IIS 10.

Related

Neo4J windows installation

Downloaded Neo4j community version, the file named "neo4j-desktop-offline-1.1.13-setup.exe". Running the binary successfully installed. Launching the application takes me to configuration of database location "Please choose path where you want to store application data" and regardless of what path i choose, clicking "Confirm" does not do anything at all and it remains on the same screen.
Am using Windows 10.
I also got the same problem. I fixed it by adding a new PATH in environmental variables,
Advanced System Settings > Environment Variable > system variable > path > new: C:\Windows\System32\wbem
After setting, reopen the Neo4j application and it will allow you a select the path where you want to save application data.
REASON
In the developer console, you will see the following error
Uncaught (in promise) Error: Command failed: wmic logicaldisk get
size,freespace,caption 'wmic' is not recognized as an internal or
external command, operable program or batch file.
The actual WMIC binary is located at C:\Windows\System32\wbem\WMIC.exe you need to set the path if it is not yet defined.
try opening http://127.0.0.1:7477 or http://localhost:7474 in your browser
I had the same problem using Windows 7, and after trying the solutions others have suggested around fixing the Path environment variable to no avail, I found upgrading PowerShell solved the problem. To do this, I upgraded my Windows Management Framework (to 5.1 at the time of this writing) by following the appropriate link for my version of Windows from here:
https://learn.microsoft.com/en-us/powershell/scripting/windows-powershell/install/installing-windows-powershell
For Windows 7, I retrieved Win7AndW2K8R2-KB3191566-x64.zip from the Download link found here: https://www.microsoft.com/en-us/download/details.aspx?id=54616.
I unzipped and installed it, and after a reboot it worked (for Neo4j Desktop 1.4.15). Upgrades to WMF for other versions of Windows are on the same page.

Build Windows CE apps in Rhostudio

I installed the RhoMobileSuite 5.2.2. I've a regular account in rhomobile.com.
When I try to run apps with run configuration ( windows mobile / windows CE ) it doesn't work and I get this error:
PWD: C:\Users\Administrator\workspace\store
CMD: rake run:wm
rake aborted!
Exception: Could not build licensed features
Tasks: TOP => run:wm => config:wm => config:common
(See full trace by running task with --trace)
-$TIME$- message [ First timestamp ] time is { 2015-09-05T10:52:55Z } milliseconds from start (0)
Connecting to rhomobile.com
Starting rhodes build system using ruby version: 1.9.3
-$TIME$- message [ config:common ] time is { 2015-09-05T10:53:02Z } milliseconds from start (6820)
Connecting to rhomobile.com
**** NOTE: You use sdk parameter in build.yml ****************************************************************
To use latest Rhodes gem, run migrate-rhodes-app in application folder or comment sdk in build.yml.
**************************************************************************************************************
**** ERROR: Could not build licensed features. ***************************************************************
You have free subscription on rhomobile.com. RhoElements features are available only for paid accounts.
The following features are only available in RhoElements v2 and above:
- Barcode extension
- Indicators extension
- HardwareKeys extension
- CardReader extension
- Signature Capture
- Windows Mobile/Windows CE platform support
- Symbol device capabilities
- Symbol WebKit Browser
For more information go to rhomobile website
In order to upgrade your account please log in to https://rms.rhomobile.com
Select "change plan" menu item in your profile settings.
**************************************************************************************************************
I've Windows 7 ultimate edition & Visual studio 2013 ultimate edition
I can run apps with rhostudio on iphone, android and win 32 rhosimulator
any help ?
`
First of all, to build Windows CE/Windows Mobile applications you need Visual Studio 2008, that's the latest Visual Studio version that support those Operative Systems.
I've done a quick test and it works for me using RMS v5.2.2 and Visual Studio 2008 (plus the WM6.5.3 SDK and the Symbol MC3000 PSDK for Windows CE support, you can find the detailed setup on RMS documentation).
If you're moving a project from a previous RMS version to the latest available, always remember to do a rake clean:<your target platform> as a first step.
Edit: Forgot to mention the very important thing that, Windows Mobile/Windows CE support, requires a paid license. You can get more information on RhoMobile website and looking at the API list where, everything linked to Windows Mobile/Windows CE is marked as a paid feature.

WebView unable to load URL when application installed in program files on 64-bit Windows 7

C# code and .Net 4.0,
client:
new WebView("http://localhost:8091/index.html", new CefSharp.BrowserSettings());
Server:
server.Add(HttpListener.Create(System.Net.IPAddress.Any, 8091));
Giving exception Error 102.
I have created application for target platform x64, using vs2010, .vdproj.
When I installed it on c:\manufacturer\productname. It is working nicely by displaying page in Web Controls panel.
But if I install the application in Program Files\manufacturer\productname, it is giving error.
Thanks,
Ash.
I am updating a file in program files folder and it requires admin privileges. I changed that file location to temp or user accessible folder its all working fine everywhere with every user.

How to install and configure Hummingbird DM Server, DM Client

I want to install Hummingbird DM 5.1 for Record Management. For that I have installed DM Server, RM Server and RM Client. But it seems this is not completed.
Do I have to install DM Web Server and DM Admin Tool?
Thanks
Prakash
Prerequisite:
1. Net Framework 2.0 or above
2. Installer: \Server\DM Extensions Server Setup-English\Setup.exe
Run the \Server\DM Extensioins Server Setup installer
Leave the default installation media location (ie. \Server\DM Extension Server Setup-English)
Leave the default Installation Destination Folder (ie. C:\Program Files\Hummingbird\DM Extensions)
This part is where the integration happens.
DM Application Integration\Microsoft Application\Microsoft Excel\Microsoft Excel Active Integration\via ODMA > with Front-End Profiling.
DM Application Integration\Microsoft Application\Microsoft Word\Microsoft Excel Active Integration\via ODMA > with Front-End Profiling.
DM Application Integration\Microsoft Application\Microsoft Powerpoint\Microsoft Excel Active Integration\via ODMA > with Front-End Profiling.
DM Application Integration > Windows Explorer DM Extension.
DM Viewer
Then click Next to install.
Select the Server name. Then click Next.
A must to restart to apply installation.
Issues up to this moment:
This installation setup is using Office 2000 and theres a problem opening excel files, the rest are OK. (word, ppt and pdf)
Office 2007, it is reciprocal. There is no issue with Excel but problems opening word and ppt records.
In case you or someone is able to debug this integration problem. Do drop me a message.
Thanks and I hope this helps.

Can't Install Asp.net MVC 3

I tried with both the web install platform and manually but both don't work.
I am trying to first install AspNetMVC3ToolsUpdateSetup.exe yet it always fails with a fatal error
OS Version = 6.1.7601, Platform 2, Service Pack 1
OS Description = Windows 7 - x64 Enterprise Edition Service Pack 1
CommandLine = c:\temp\ext27692\setup.exe
TimeZone = Pacific Daylight Time
Initial LCID = 1033
Using Simultaneous Download and Install mechanism
Operation: Installing
Package Name = Microsoft ASP.NET MVC 3 Tools Update
Package Version = 3.0.20406.0
User Experience Data Collection Policy: AlwaysUploaded
Number of applicable items: 5
MSI (c:\temp\ext27692\AspNetWebPages.msi) Installation succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_AspNetWebPages.msi.txt
MSI (c:\temp\ext27692\AspNetWebPagesVS2010Tools.msi) Installation succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_AspNetWebPagesVS2010Tools.msi.txt
MSI (c:\temp\ext27692\AspNetMVC3.msi) Installation succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_AspNetMVC3.msi.txt
MSI (c:\temp\ext27692\AspNetMVC3VS2010Tools.msi) Installation succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_AspNetMVC3VS2010Tools.msi.txt
MSI (c:\temp\ext27692\NuGet.msi) Installation failed. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_NuGet.msi.txt
MSI (c:\temp\ext27692\AspNetMVC3VS2010Tools.msi) Uninstall succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_AspNetMVC3VS2010Tools.msi.txt
MSI (c:\temp\ext27692\AspNetMVC3.msi) Uninstall succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_AspNetMVC3.msi.txt
MSI (c:\temp\ext27692\AspNetWebPagesVS2010Tools.msi) Uninstall succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_AspNetWebPagesVS2010Tools.msi.txt
MSI (c:\temp\ext27692\AspNetWebPages.msi) Uninstall succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_AspNetWebPages.msi.txt
Final Result: Installation failed with error code: (0x80070643), "Fatal error during installation. " (Elapsed time: 0 00:14:10).
I tried to do the fix here but it is not working for me.
I get a bit further than what you see in the above screenshot as it seems to hit what I think is nuget and then instantly rollbacks. It happens so fast I can't get a good look.
I do have Visual Studios 2010 SP1 installed.
How I got mine to work:
Downloaded and ran the AspNetMVC3ToolsUpdateSetup.exe, let it extract the files but do not accept the license terms and click install
This created the folder C:\temp\ext27692 and within this folder are all the required installation files and configuration used in the installation. If you view the contents of the folder you'll notice there is a nuget.msi installation file. Note, VS on your computer already has the latest version so no need to install this.
Quickly make a copy of the folder C:\temp\ext27692, while execution in point 1 is still running and then click Cancel. This will rollback and delete what it created.
Within the copy of the C:\temp\ext27692 you made in point 3, locate the file parameterinfo.xml and open it using a text editor
Locate the following lines within the opened parameterinfo.xml file and delete them
<MSI CanonicalTargetName="NuGet"
DownloadSize="756736"
EstimatedInstallTime="849920"
HashValue="74F464AC4E7220775472D5DF08CE7842958BC53FB8B569E0917CEAEEFB82209C"
InstalledProductSize="838144"
Name="NuGet.msi"
ProductCode="{A5630CB0-6D3C-4C93-9A51-03BEB835A982}"
Rollback="true"
SystemDriveSize="100">
<IsPresent>
<Exists>
<MsiProductVersion ProductCode="Self" />
</Exists>
</IsPresent>
<ApplicableIf>
<Or>
<Or>
<Or>
<LessThanOrEqualTo LeftHandSide="30319.01" BoolWhenNonExistent="false">
<RegKeyValue Location="HKLM\Software\Microsoft\DevDiv\VS\Servicing\10.0\vstscore\Version"/>
</LessThanOrEqualTo>
<LessThanOrEqualTo LeftHandSide="30319.01" BoolWhenNonExistent="false">
<RegKeyValue Location="HKLM\Software\Microsoft\DevDiv\VS\Servicing\10.0\vstdcore\Version"/>
</LessThanOrEqualTo>
</Or>
<LessThanOrEqualTo LeftHandSide="30319.01" BoolWhenNonExistent="false">
<RegKeyValue Location="HKLM\Software\Microsoft\DevDiv\VS\Servicing\10.0\procore\Version"/>
</LessThanOrEqualTo>
</Or>
<LessThanOrEqualTo LeftHandSide="30319.01" BoolWhenNonExistent="false">
<RegKeyValue Location="HKLM\Software\Microsoft\DevDiv\vns\Servicing\10.0\xcor\Version"/>
</LessThanOrEqualTo>
</Or>
</ApplicableIf>
<ActionTable>
<InstallAction IfPresent="noop" IfAbsent="install" />
<UninstallAction IfPresent="uninstall" IfAbsent="noop" />
<RepairAction IfPresent="repair" IfAbsent="install" />
</ActionTable>
</MSI>
Save the parameterinfo.xml
Within the copy of the C:\temp\ext27692 you made, now locate the file setup.exe and execute it.
This will install MVC3 but not the old version of the NuGet.
You may need to check several options:
Check the control panel for installed versions of MVC framework
Follow the uninstall in descending order like 5-4-3
Try the following order when having nuget errors
Uninstall Nuget
Install MVC
Install latest nuget
NOTE: In addition to ASP.NET MVC3, if you have latest versions of MVC (4,5,6) you should remember to uninstall them by descending order.
Uninstall MVC 4 using Control Panel.
Install MVC 3 using stand-alone installer: http://www.microsoft.com/en-us/download/details.aspx?id=1491 (AspNetMVC3ToolsUpdateSetup.exe).
Install MVC 4 using Web Platform Installer.
It works for me. I did not touch NuGet.
IF you have also previously installed ASP.NET MVC4, I also had to uninstall Microsoft ASP.NET Web Pages from Control Panel -> Programs.
I then installed using web platform installer, and it all worked!

Resources