Fully configuration of Web deployment without Internet connection (offline) is harder to make because Web platform installer (UI) operates by querying packages list and content from an Internet location.
Cleanup Make sure that C:\Program Files\IIS does not contain older version of Microsoft Web Deploy. If it contains, uninstall it (them) from Add/remove programs and remove any files left
Web Platform Installer v5 Command Line (WebPICMD.exe) allows to export and install packages without the "online" requirement. Full installation and usage instructions can be found here.
Required packages for Web Deploy
C:\Program Files\Microsoft\Web Platform Installer>WebPICMD.exe /Offline /Product s:"WDeployPS" /Path:C:\OfflineCache
Dependencies list will be output:
The software that you obtain using the Web Platform Installer Command Line Tool
is licensed to you by its owner. Microsoft grants you no rights for third part
software.
Loading products in online feeds ...
Loading products in offline feeds...
Creating offline cache for following products:
WDeployPS
netframework2
WindowsInstaller31
PowerShell2
PowerShellMsu
ManagementService
IISManagementConsole
WASConfigurationAPI
NetFx4Extended-ASPNET45
WASNetFxEnvironment
NetFx3
IIS7
StaticContent
WASProcessModel
DefaultDocument
DirectoryBrowse
HTTPErrors
HTTPLogging
LoggingTools
RequestMonitor
RequestFiltering
StaticContentCompression
ASPNET
NETExtensibility
ISAPIExtensions
ISAPIFilters
WDeploy_3_5
WDeployNoSMO
WDeployNoSMO_3_5
NetFx4
WDeploy_Only_3_5
NETFramework4
WindowsImagingComponent
IIS51
IIS60
NETFramework45
VWD11_Only_BaseLocale
VWD2012IncompatibleOSs
VS11_Not_RTM_Block
VWD11_RC_Below_Block
SMO
SMO_11_1
SQLCLRTypes_11_1
WindowsInstaller45
SQLCLRTypes_Only_x86_11_1
SQLCLRTypes_Only_x64_11_1
SMO_11_1_Only_x86
SMO_11_1_Only_x64
SMO_10_5
SQLNativeClient_10_5
SQLCLRTypes_10_5
SQLCLRTypes_x86_10_5
SQLCLRTypes_x64_10_5
SMO_Only_x86_10_5
SMO_Only_x64_10_5
WindowsVista_OrUp
WindowsVista_Below
DACFX_3_1
SQLDOM_11_0
SQLCLRTypes_11_0
SQLCLRTypes_Only_x86_11_0
SQLCLRTypes_Only_x64_11_0
DACFX_X64_3_1
DACFX_X86_3_1
WindowsVista_Below_DACFX
SMO_11_0
SQLNativeClient_11_0
SMO_Only_x64_11_0
SMO_Only_x86_11_0
...
All offline cache operations completed successfully.
To use the new offline feed, please run the following from the command line:
WebPiCmd.exe /Install /Products:<products you want> /XML:<Offline main feed>
Done !
The list is much longer than the actual needed packages for a particular Windows Server because it exports for both x86 and x64 and assumes that nothing is installed.
One way is to use /Install
option to install the packages, but a much faster way is to install Microsoft Visual Studio Express 2012 for Web from here. This will install all required prerequisites. Of course, Visual Studio itself is not required on target server and can be uninstalled.
Also, Microsoft Web Deploy 3.5 can be upgraded to Microsoft Web Deploy 3.6.
Install Management Service from Server Manager -> Local Server -> Server Roles -> Web Server (IIS) -> Management Tools -> Management Service
NOTE: sanity check before going to configuration
Rights: access web site -> IIS manager permissions and configure which users are allowed to publish. NOTE: in some particular configuration, trying to select a user might lead to IIS manager crashing. In these rare cases, just enter username manually - e.g. domain\username
Web deploy Publishing configuration - Right click on Web site -> Deploy... -> Configure Web Deploy Publishing
NOTE: In order for publishing to work, selected port (default is 8172) must be opened (it might be blocked in some companies).
Full installation details (step by step with relevant pictures) can be found here