Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Clean install of Episerver 7 (server environment )

Vote:
 

Question; When installing Episerver 7, using the Episerver setup application, on a new server one of the prerequisites are MVC 4*. From what I can tell this cannot be installed without visual studio or visual web developer**. For obvious reasons we do not want to have this on our production servers. How would you go about solving this?

* http://world.episerver.com/Documentation/Items/System-Requirements/EPiServer-CMS/Version-7/System-Requirements---EPiServer-7-CMS/

** http://www.asp.net/mvc/mvc4 (same prerequisites using the web platform installer).

#63506
Nov 21, 2012 10:01
Vote:
 

What about standalone installer for ASP.NET MVC 4? Does it require VS installed on server?

#63511
Edited, Nov 21, 2012 10:48
Vote:
 

As an alternative you could install ASP.NET MVC 4 on your development environment using Web Platform installer or as NuGet packages and then just include all required assemblies when you publish your site to production server.

#63512
Nov 21, 2012 10:52
Vote:
 

Yes, adding deployable assemblies (in vs.) would solve any problem I have with missing dlls, but what about the references to local paths in EpiserFramework.config (C:\Program Files (x86)\EPiServer\CMS\7.0.586.1\...)? Do I have to manually copy these files to server to get the edit/admin ui to be shown correctly? I mean, without running the installer these folder and files aren't created.

#63516
Nov 21, 2012 12:02
Vote:
 

There doesn't seem to be an installer for MVC 4 that doesn't require VS no. Normally, for any MVC website, this isn't a problem as you would add these using the "build deployable assemblies" option is VS, but since the Episerver installer requires it I am unsure how to correctly install the CMS, Framework files ect. on the server.

#63517
Nov 21, 2012 12:13
Vote:
 

Right, but what about this installer: http://www.microsoft.com/en-us/download/details.aspx?id=30683

I managed to install ASP.NET MVC 4 on server where VS 2010/2012 is not istalled.

#63518
Nov 21, 2012 12:21
Vote:
 

Sure? 

System requirements

Supported operating systems: Windows 7, Windows Server 2003 R2 (32-Bit x86), Windows Server 2003 R2 x64 editions, Windows Server 2003 Service Pack 2, Windows Server 2008, Windows Server 2008 R2, Windows Vista Service Pack 2, Windows XP Service Pack 3

PowerShell 2.0, .NET 4, ASP.NET 4, and Visual Studio 2010 SP1 or Visual Web Developer 2010 SP1 are required to use this feature

#63519
Nov 21, 2012 12:23
Vote:
 

Doesn't work, setup failes with this message: "This product requires VWD 2010 SP1".

#63520
Nov 21, 2012 12:26
Vote:
 

I tried on virtual machine, it has Windows SDK 7, VS 2008, web platform installer, but VS 2010 is not installed.

#63521
Nov 21, 2012 12:29
Vote:
 

Well that's hardly a production server type of machine. Do you have something more similar to the spec. described in http://world.episerver.com/Documentation/Items/System-Requirements/EPiServer-CMS/Version-7/System-Requirements---EPiServer-7-CMS/ that you could test it on? This is quite the show stopper.

#63522
Nov 21, 2012 12:36
Vote:
 

FYI: Our webserver environment is Microsoft Windows Server 2008 R2 SP1 with IIS 7,5 and Microsoft .NET Framework 4.0 installed.

#63523
Nov 21, 2012 12:43
Vote:
 
#63524
Edited, Nov 21, 2012 13:01
Vote:
 

Second try:

Maybe you can install WebPI on the server and use that to install mvc4?

#63525
Nov 21, 2012 13:04
Vote:
 

Tried that as well. A search for "MVC 4" yields one relevant result; "ASP.NET MVC 4 with Langauge Packs (August 2012)". This too has a visual studio dependency.

#63526
Nov 21, 2012 13:09
Vote:
 

The full MVC4 installation (http://www.microsoft.com/en-us/download/details.aspx?id=30683) appears to install just fine without Visual Studio present. I tested this on a 2008 Server with no trace of anything before the installation of the prerequisites: .NET4, Powershell2. (I have not verified what happens with the web platform installer.)

 

I believe the mention of Visual Studio in the system requirements refers to some specific feature(s) for development use.

 

#63540
Nov 21, 2012 18:03
Vote:
 

@Erik it was definitely not a production type of server. nevertheless, standalone installation of ASP.NET MVC 4 was successfully completed when there was no VS 2010/1012 installed.

#63545
Nov 21, 2012 18:51
Vote:
 

Ok, so this is how I «solved» this problem. I uninstalled any old remnants of previous failed attempts to install MVC 4, downloaded all windows updates and ran the MVC 4 installer again, using Web platform installer. Installed Episerver then uninstalled all references to Visual Studio that was installed with MVC 4.

#63657
Nov 23, 2012 12:04
Vote:
 

Easiest would be to use the Full installer that Håkan and Dimitri linked to that doesn't install anything with visual studio when installing MVC 4.

#63661
Nov 23, 2012 13:28
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.