I’m currently evaluating AdvancedInstaller, but I’ve run into an issue trying to install an ASP.net application using Web Deploy. The installer has IIS, .Net and Web Deploy as a prerequisite but it fails when doing a Test-Publish. Here is a small portion of the log:
IIS Web Deploy Publish execution log:
IIS Web Deploy publish Error log:
Restore-WDPackage : Site 'DoranScales' does not exist. Learn more at: http://go.microsoft.com/fwlink/?LinkId= ... _NOT_EXIST.
At C:\Users\randyh\AppData\Local\Temp\pss6809.ps1:81 char:3
+ Restore-WDPackage @testParams
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) , Deplo ymentDetailedException
+ FullyQualifiedErrorId : ERROR_SITE_DOES_NOT_EXIST,Microsoft.Web.Deployme nt.PowerShell.SyncPackage
Non-Invasive Test-Publish failed!
MSI (s) (68!94) [17:29:08:159]: Product: Doran Scales Selecta Software -- Error 4033. An error has occurred during the IIS Web Deploy configuration process for package "DSInventory".
Do you want to skip this package and continue the installation ?
Trying to get 'name' property of 'site' element.
Found property name; has VT=8 and Value='Default Web Site'.
MSI (s) (68!94) [17:29:10:158]: Product: Doran Scales Selecta Software -- Error 4020. There was an error during the IIS configuration process.
Your original IIS configuration will be restored.
The target is a VM running 32 bit Windows 8.1. Importing the Web Deploy package inside of IIS successfully creates the web site.
Thanks
randy