Install WordPress on Windows Server 2012 R2 offline

Posted on 2016-08-01
Medium Priority
Last Modified: 2016-09-13
Hi All,

I'm looking to replace our Intranet with a WordPress blog.  My company doesn't allow the servers to have internet access, so I need to perform this all offline.

After a little investigation, it seems the Web platform installer now has an offline mode.


So far I've enabled the IIS role on the server and installed Web Platform installer on the Server and my Laptop and can see the web platform command line utility in

C:\Program Files\Microsoft\Web Platform Installer>WebPICMD.exe

Open in new window

C:\Program Files\Microsoft\Web Platform Installer>WebpiCmd-x64.exe

Open in new window

Can someone run me through the commands I need to run next?

Many thanks
Question by:detox1978
  • 2
  • 2
LVL 12

Expert Comment

by:William Nettmann
ID: 41738535
Is IIS running now? Can you go to http://localhost from the browser on the server?

If memory serves, you can install PHP and probably MySQL from the Web Platform Installer as well.

The final step would be WordPress itself, which you will need to download from  a PC with web access, and then copy over to the server.

If the server in question is only going to host WordPress, there are better solutions than a Windows server, though.
LVL 29

Accepted Solution

Dan McFadden earned 2000 total points (awarded by participants)
ID: 41744293
The second link you posted, has a run down of the commands to use.

This: https://terrid.me/2012/08/17/using-web-platform-install-command-line-tool-to-perform-offline-installs

Just search the page for "command to create an offline cache" and you will find the commands and the process the author used to accomplish this.

You need the WebPIcmd installed on a device with Internet access in order to create a local cache of the objects you want to install.  The move that cache directory to a USB device, copy it over to the destination server, and run the install command on the offline server.

LVL 29

Expert Comment

by:Dan McFadden
ID: 41769894
Were you able to get the WebPI offline mode to work?

LVL 12

Expert Comment

by:William Nettmann
ID: 41795656
Question answered

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Ecommerce has truly become one of the most prosperous ways of monetizing your brand on the Internet. However, when it comes to it, auditing is undoubtedly the lifeblood of this type of business.  This article will help you to conduct your ecommerce …
I’m willing to make a bet that your organization stores sensitive data in your Windows File Servers; files and folders that you really don’t want making it into the wrong hands.
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question