WiX: How to detect URL Rewrite is installed on IIS - iis

I am using WiX 3.10 to create an MSI for installing an IIS (7.5 or higher) website. The website requires the URL Rewrite extension in IIS.
Is there a way of detecting whether the URL Rewrite extension is installed in IIS in the launch conditions of the WiX project?

You can perform a Registry search to this key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\IIS Extensions\URL Rewrite
or a file shearch to this file:
%SystemRoot%\system32\inetsrv\rewrite.dll

Related

Do I have IIS URL_Rewrite module 2.1 installed or is it just 2.0?

I was told to install URL Rewrite module 2.1 onto my IIS.
I found that I already had URL Rewrite module installed but I am not sure if it is version 2.1 or 2.0 (see below image).
Can someone be kind enough to point it out to me please?
Thanks
I try to download the URL Rewrite 2.1 and install it.
When I check it under Control Panel\All Control Panel Items\Programs and Features it shows same version as yours.
Only difference I notice is the size of the installation.
As the version is same, it looks like you are having the latest version of the URL Rewrite module.
In doubt, you could download it from the link I share here and install it.

ColdFusion 11 on Windows 10 with IIS is not working

I installed CF 11 on Windows 10 Professional using IIS option as shown below. But when I go to IIS I don't see CFIDE folder there:
I thought the CF installation process would have created a CFIDE folder in IIS with its subfolder Administrator that points to the Administrator URL. But IIS did have any such folder. If I remember in Windows 7, installing CF 11 with IIS option automatically configure Administrator website in IIS - at least that what I recall I had done in Win7.
So I manually added a virtual directory in IIS and named it CFIDE with physical path as C:\ColdFusion11\cfusion\wwwroot\CFIDE that is a correct path on my system. But when I go to http://localhost/CFIDE/administrator/ or go to All Programs-->Adobe-->Administrator in Windows, I get the following error. Please help:
CF11 was initially not supported for windows 10. One of the recent update of CF11 started supporting Windows 10. You would need to install ColdFusion and Select Built in Web server while installing ColdFusion. Once its installed, apply the latest update from CF admin and re-configure the IIS connector using Web server Configuration tool.
OR
Apply the latest update manually:
http://coldfusionx.blogspot.in/2017/07/how-to-install-coldfusion-updates.html
And re-configure the IIS connector.

How can I enable "URL Rewrite" Module in IIS 8.5 in Server 2012?

I have windows server 2012 and I have installed the IIS 8.5 but I could not see the URL rewrite module. How can I enable or install?
Download it from here:
http://www.iis.net/downloads/microsoft/url-rewrite
or if you already have Web Platform Installer on your machine you can install it from there.
Worth mentioning: you should download the x64 version!
From the main download page (https://www.iis.net/downloads/microsoft/url-rewrite) click "additional downloads" (under the main download button) and download the x64 version (because for some reason - the default download version is x86)
First, install the URL Rewrite from a download or from the Web Platform Installer. Second, restart IIS. And, finally, close IIS and open again. The last step worked for me.
Thought I'd give a full answer combining some of the possible intricacies required for completeness.
Check if you have 32-bit or 64-bit IIS installed:
Go to IIS Manager → Application Pools, choose the appropriate app pool then Advanced Settings.
Check the setting "Enable 32-bit Applications". If that's true, that means the worker process is forced to run in 32-bit. If the
setting is false, then the app pool is running in 64-bit mode.
You can also open up Task Manager and check w3wp.exe. If it's showing as w3wp*32.exe then it's 32-bit.
Download the appropriate version here: https://www.iis.net/downloads/microsoft/url-rewrite#additionalDownloads.
Install it.
Close and reopen IIS Manager to ensure the URL Rewrite module appears.

Unable to download packages from a self hosted nuget server (404 error)

I installed a self hosted Nuget server as described here.
I am using Windows 2008 R2, IIS 7.5 and Nuget 1.7.
From within VS I am able to see my self hosted packages in the package manager window, but when I try to install any of them, I am getting an error "The remote server returned an error: (404) Not Found".
Help anyone?
please make sure in IIS to set the .nupkg extention mime type to application/zip.
See also these discussion for more info: Issue #707, Discussion #246387
Assuming you use IIS:
Allow directory browsing for the virtual directory where you have your nuget packages
Set the mime type for the .nupkg extension to application/x-msdownload
That should fix your problem.
I hade to perform 3 actions in order to get this to work finally
1) Some of my packages has the extension ".symbols.nupkg" and I found out that the Nuget server cannot serve those packages only. If I change the extension of the package file from "".symbols.nupkg" to ".nupkg" everything works fine.
2) All the packages has to be placed flat under the packages folder (no sub-folders).
3) The packages folder has to be placed below the website (original location is fine, "~/Packages"). I tried to put it in absolute path "C:\NugetPackages" and it did not work.

Installing joomla on Microsoft IIS

i tried to install joomla using the microsoft web platform installer. I was able to install joomla, php and mysql successfully.
However when i browse the website from the IIS, it says page cannot be found..
What am i missing..please let me know
Its been more than 2 days i am trying this...
Try to install it using this tool Microsoft Web Platform Installer 2.0, it will help you setup everything. Because may be there is something you missed such as setup the iis to handle php files.

Resources