why can't I un-install or re-install applications using Web Platform Installer? - web-platform-installer

I am having problems with IIS Express so I have decided to try and un-install or re-install the application in web platform installer. The only problem is there doesn't seem to be a way of un-installing or installing the application again. Does anyone know how to achieve this?

You can find those installation file in %LocalAppData%\Microsoft\Web Platform Installer\installers, I un-install them manually. IIS Express you can un-install in control panel, it is in the list...

Related

We are sorry. The following products have failed to install. IIS Manager (Web platform installer)

Hi!
I used IIS Manager to deploy my project. I'm trying to install WebDeploy with the web platform installer, but I keep getting this error. Anyone have an idea for a solution?
I tried the solution of a similar problem in the attached link, but it did not work.
https://social.msdn.microsoft.com/Forums/en-US/1be93ea1-2825-4cc6-849e-fd0f9476a120/we-are-sorry-the-following-products-have-failed-to-install?forum=iiswebplatforminstaller

Administration and website url not not reachable a after system reboot

I am trying to learn kentico so i install kentico in my laptop. when I install it, it is working fine like MedioClinic, Dancing Goat example. But when I restart my system the below link no longer reachable. If I uninstall and install then it works again. Is there any service need to run after reboot system?
http://localhost:56624/Kentico12_1_Admin/
http://localhost:56624/Kentico12_1_DancingGoatMvc
I am a new to Kentico. Please help me to understand.
Best regards,
Shekhar
Most likely what is happening is the port number is being reassigned so those instances are not running. OR it's dependent on a Visual Studio instance to be running with starts IIS Express in the background.
My suggestion would be to register them in your local version of IIS to avoid any complications you might run into with Visual Studio and IIS Express.

IIS Web Platform Installer Error: 'doctype' is an unexpected token. The expected token is 'DOCTYPE'. Line 1, position 3

I've just created a new IIS website on a Windows Server 2008 in order to use it to deploy a new website.
The website is still empty.
If I try to open IIS Web Platform Installer under Management Tools, I get stuck on the error:
'doctype' is an unexpected token. The expected token is 'DOCTYPE'.
Line 1, position 3.
After closing the error, the Web platform Installer closes.
Do anyone know how to solve it?
Let me know in the comments if you need any other info or technical data, I have really no idea on how can I troubleshoot this
I had the same issue. However, I cannot uninstall IIS completely as I have many sites on my IIS running.
What I did was, I tried to install an IIS module which was not there. for eg, I chose CORS module.
You can get it from here https://www.iis.net/downloads/microsoft/iis-cors-module
Once I tried installing, WPI automatically uninstalled and reinstalled during the process and it resolved the issue.
Hope it helps!
As mentioned by #qbik Simply updating the Web platform installer fixed the issue. You can download the latest at this time from here.
Done, here's how I solved.
This issue seems to be strictly related to an old configuration of this server, so I had to manually reset it. If you face this issue, these following steps should work fine:
First of all, I had to remove the IIS role functionality from
Control Panel > Programs and Features > Turn Window Features on or
off > Roles.
Then, I restarted the server and added again the IIS role
functionality (make sure to check all of the asp net
functionalities).
After that, I restarted the server (again) and I have reinstalled: 1) DotNetCore.2.0.7-WindowsHosting (you've got to find the installer online, make sure to download the last version. 2.0.7 was the last when I made this question so on 25/05/2018) 2) Web platform Installer from here.
Executing web platform installer from all program inside start menu worked fine.
Hope it will be helpful
(See Also:
How to Install Web Platform Installer and Web Deployment)

IIS Web Deploy's "Import/Export Application" Action Missing?

I had a working IIS 7.5 with Web Deploy 3.5 configuration such that the "Import/Export Application" feature in the right hand action pane showed up and functioned properly. Unfortunately I had to remove and reinstall IIS, and now the Import/Export functionality does not show up in the Actions pane, as if Web Deploy was not installed.
I tried to reinstall using the automated installer at http://www.iis.net/downloads/microsoft/web-deploy, but when I run it, the installer seems to think that Web Deploy is already installed and does not offer me any reinstall/uninstall option.
How can I force a reinstall of WebDeploy or force IIS to recognize that Web Deploy is still installed?
Go to http://www.iis.net/downloads/microsoft/web-deploy
Scroll to the bottom of the page to the "Download Web Deploy" header
Click the x86 or x64 link next to your language of choice. Do not click the WebPI link.
Once downloaded, click on the installer to open it.
Click Next
Click the Remove button
Now you can reinstall it using the Web Platform Installer, or just use the standalone.
On a side note...
If you don't see the Deploy options in IIS once you've reinstalled Web Deploy, try running IIS as Administrator. Hope this helps.
I am running IIS on my development machine on Windows 7. Web Deploy 3.6 seem to break something as the Import / Export Application options are not available. Had to uninstall 3.6 via control panel add/remove programs and then install 3.5 via Web PI.
I've installed Web Deployment Tool 2.1 then restart IIS Manager and the Import/Export Application appeared.
I was running a 'gallery template' Windows Server 2012 VM on Azure. Web Platform Installer said Web Deploy 3.5 was already installed. At first I thought this neat feature had been removed/moved.
In Add/Remove Programs, saw that Web Deploy 3.6 Beta was installed. Removed it and reinstalled 3.5 (without SQL stuff) via Web PI.
Ran IIS Manager as admin and all works fine.
Update - A new Azure VM also had this problem, but had 3.6 Beta3 installed. Again, removed and reinstalled 3.5 via WebPI.
None of the other answers here fixed this for me with Visual Studio 17 on Windows 10. The fix was here: https://developercommunity.visualstudio.com/content/problem/230372/web-deply-40-msi-location.html
Web Deploy 4 has moved to be distributed with Visual Studio 2017. This is nuts because the Web Deploy service and the Import/Export tools are for server administrators and not devs. The discussion in the link says they are working on adding Web Deploy 4 to the Web Platform Installer, but have encountered a few issues (read: we didn't create a proper deployment for it the first place.)
The fix for me was to uninstall Web Deploy 4 from Control Panel-Apps & features, then reinstall from the MSI provided with Studio. Look in C:\ProgramData\Microsoft\VisualStudio\Packages for a folder like Microsoft.VisualStudio.WebDeploy.Msi,version=...,chip=x64. The MSI file is within that. More detail in the link I mentioned.
My guess is if the IIS Manager is not turned on at the time Studio (and therefore Web Deploy) is installed, the hook for Import/Export can't be created.
My situation is slightly different as I never had the import/export menus. For what it's worth:
I tried to install the Web Deploy installer. It said that a newer version was installed. I tried repairing Web Platform Installer. Nothing changed. I tried changing but was told there were individual components. I tried uninstall/reinstalling WebPlatformInstaller.
After that, the IIS Manager showed a Web Platform Installer icon under the Management section after restarting, but still no Deploy menu on the right click.
Double-clicking that icon started the installer where I could then search for web deploy. There was a Web Deployment Tool 2.1 that was not installed. Clicking Add then Install and restarting IIS Manager (not run As Administrator) was all that was needed to get the Deploy menu:
According to this Microsoft document, the Web Platform Installer should have started automatically. Never did. But it is in the start menu. The steps are the same weather you start it from IIS Manager or standalone.

Windows Platform Installer fails during Orchard installation

I'm attempting to install Orchard 1.0 on a Windows 7 box. It has only just been released. I downloaded and installed the Windows Platform Installer and attempted to install Orchard. The error message is that the application has stopped working and asks if I want to debug or close the application.
The event log contains a single error:
The event logging service encountered an error while processing an incoming event published from Microsoft-Windows-Security-Auditing.
I tried installing MVC3 and it worked without any issues.
Has anyone experienced a similar problem?
I have exactly the same problem on a Windows 7 and a Windows Vista SP2 system.
MVC3 installs without problems and works just fine. Orchard CMS crashes WPI.
Get the Orchard ZIP file from their site, extract it and open the solution in Visual Studio 2010 or WebMatrix or VS Express and try to run it. You can also run it directly from the folder you extracted it to by using IIS Express.
The installation through Web Platform Installer is broken and it won't work.
I believe I have located the answer on the Orchard CMS Discussion tab on Codeplex.
http://orchard.codeplex.com/Thread/View.aspx?ThreadId=241684
The installation script was missing a reference to a library. They have now rectified this and have advised that you need to delete the AppData folder.
C:\Users\YourUserName\AppData\Local\Microsoft\Web Platform Installer
Once I did this the WPI orchard cms installation worked.

Resources