I installed URL Rewrite 2.1 by using rewrite_amd64_en-US.msi. Installation went smooth, but I am not able see the URL rewrite icon in IIS. My system is IIS 10 in Windows Server 2016.
I am installing using command msiexec /a rewrite_amd64_en-US.msi /qf /L*V re.log in admin command prompt
Also there is no entry for URL Rewrite in Control Panel, nor rewrite.dll file in C:\Windows\System32\inetsrv.
The last few lines of installation log is
MSI (c) (C8:90) [15:38:38:027]: Note: 1: 1707
MSI (c) (C8:90) [15:38:38:027]: Product: IIS URL Rewrite Module 2 -- Installation completed successfully.
MSI (c) (C8:90) [15:38:38:027]: Windows Installer installed the product. Product Name: IIS URL Rewrite Module 2. Product Version: 7.2.1993. Product Language: 1033. Manufacturer: Microsoft Corporation. Installation success or error status: 0.
MSI (c) (C8:90) [15:38:38:027]: Grabbed execution mutex.
MSI (c) (C8:90) [15:38:38:027]: Cleaning up uninstalled install packages, if any exist
MSI (c) (C8:90) [15:38:38:027]: MainEngineThread is returning 0
=== Verbose logging stopped: 8/20/2020 15:38:38 ===
Another point to note is my server doesn't have Web Platform Installer. When I try to install that, I am facing similar issue - no errors while installing, but icon not visible in IIS.
Please guide me in troubleshooting this issue. Thanks.
Make sure you are invoking msiexec.exe command using Elevated Privileges.
To do so, you need to:
Click Start or press Windows-Key;
In the search box, type CMD;
Right-click CMD and select Run as Administrator. For further details, check https://www.computerhope.com/jargon/e/elevated.htm or https://winaero.com/how-to-open-elevated-command-prompt-in-windows-10/;
On the new Command Console, run MSI package installation command
msiexec.exe /i rewrite_amd64_en-US.msi /l*v C:\msilog.txt /qf
or
msiexec.exe /i "rewrite_amd64_en-US.msi" /L*V "C:\package.log"
Related
I try to containerize a third party application running on IIS and Windows server. To do that, they supply to me a powershell script which is using Web deploy 3.
My problem is I can't install it, I always have this error code :
MSI install return value for product 'Web Deploy 3.6 ... is '1603'
The version 2 is installing though, but it's the version 3 which is required. I've also tried to install it with chocolatey, but I have the exact same error.
Here the part of the Dockerfile causing troubles :
FROM microsoft/windowsservercore-insider:10.0.17093.1000
[...]
# Register dll (the web say this can solve the error)
RUN regsvr32.exe %windir%\syswow64\vbscript.dll /s
# Copy The msi installer for web deploy 3.6
COPY webdeploy.msi C:\\Temp\\webdeploy.msi
WORKDIR C:\\Temp
# Install all webdeploy features
RUN msiexec /i webdeploy.msi LicenseAccepted="0" ADDLOCAL=ALL /quiet /qn /passive /norestart
Please do note I'am using the insider version because I need the MSMQ feature which is not released yet (It's a proof of concept).
Is there any requirement needed by webdeploy that I don't know and which is missing in the container version ?
It seems there is a bug in the preview build (as mentioned by #Gregory Suvalian). Using the last one (17623) seems to correct the problem.
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.
I am using InstallShield Express Spring 2012 SP1. I would like to run the SQLLocalDb_x64.MSI from a custom action.
Is it possible to run an MSI from a custom action in InstallShield Express?
As a general rule, you cannot run an MSI as a custom action on Install Execute Sequence in another main MSI package. Windows Installer does not allow two MSI packages to run at the same time, so you will get an error message.
The standard approach for launching an MSI conditionally from another MSI is to embed it as a chained package.
Unfortunately I don't use InstallShield Express, so I don't know if it supports chained packages, usually this feature is available in a commercial edition.
I am fully agree with Bogdan, but there is one trick. You can run msi from custom action at the end of your installation after InstallFinalize phase. You could use the following CA: InstallIntStd 226 SystemFolder msiexec.exe /passive /i "[SOURCEDIR]YourSetup.msi"
Where:
InstallIntStd name of custom action;
226 Type: An asynchronous execution of EXE without waiting result;
SystemFolder Directory where msiexec located;
msiexec.exe /passive /i "[SOURCEDIR]YourSetup.msi" Launch string.
I am creating an installation that is adding a web site to IIS. But when I am trying to run the installation on a machine with IIS 7 installed and IIS 6 compatibility mode not installed, it fails the installation with:
Error 1920.Service IISADMIN (IISADMIN) failed to start. Verify that
you have sufficient privileges to start system services
If I install the compatibility feature it fixes the problem and the installation succeeds.
I want to know if there is a way to not install this feature on IIS 7.
Or if it must be installed - how can I install it automatically?
btw, I have installShield 2011 Professional.
Eventually what I did is to run as custom actions this lines
dism /online /enable-feature /featurename:IIS-IIS6ManagementCompatibility
dism /online /enable-feature /featurename:IIS-Metabase
and use as condition Not Installed and IIS_VERSION > "#6"
Thanks for Cosmin Privu help
Ben
You can try adding the compatibility fix as a custom prerequisite to your package:
http://kb.flexerasoftware.com/doc/Helpnet/installshield12helplib/SetupPrereqEditor.htm
For example you can create a custom EXE which uses pkmgr.exe to install the IIS-IIS6ManagementCompatibility feature (it's like installing it from Control Panel).
It can be configured to install only when it's not found and only if IIS 7 is installed. This way you can make sure that the service can always be started for IIS 7.
I need to install vcredist_x86.exe (Microsoft Visual C++ 2010 Redistributable Package) quietly. I entered "vcredist_x86.exe /q" on cmd.exe. However, vcredist_x86 didn't install successfully. I used Task Manager to inspect what happened. I found out that a process named "msiexec.exe" keeps alive until you kill it.
VC++ 2005 is made with older version so arguments /q (/qb) or /passive /norestart will not work (mentioned here: http://blogs.msdn.com/b/astebner/archive/2010/10/20/10078468.aspx).
For quiet mode use /Q switch, to get all parameters run vcredist_86.exe /?
To silently install the VC redist, merge the vc redist MSM into your own App's MSI and avoid the need to run a separate EXE at all.
Martyn
PS: Don't kill msiexec. You'll get your machine into a bad state.