-
Notifications
You must be signed in to change notification settings - Fork 1.7k
ModSecurity IIS -- Error 1722. #948
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @Matiborskiy Do you mind to run the installer in verbose mode? You can do that using:
There are more information here: Please paste the log using gits - https://gist.github.com/. |
here it is |
sorry, Attaching documents requires write permission to this repository. Choose Files Try again with a PNG, GIF, or JPG. |
Property(C): Privileged = 1 MSI (c) (C0:C0) [16:38:15:578]: Windows Installer installed the product. Product Name: ModSecurity IIS. Product Version: 2.9.0. Product Language: 1033. Manufacturer: ModSecurity. Installation success or error status: 1603. MSI (c) (C0:C0) [16:38:15:578]: Grabbed execution mutex. |
Hi @Matiborskiy, You can go to: And copy and paste the content of your log.txt file. |
Hi @Matiborskiy, Windows does not say too much about it, but it returns this error number 1603. Searching for this error number, I found this site here: https://support.microsoft.com/en-us/kb/834484 Is there any "suitable cause" on the site that could be applied to your environment? |
Closing the issue due to the lack of response. Assuming that the problem was in the user environment. |
I'm getting this error as well. I'm on IIS 10 on Win2016. Important bits here: MSI (s) (EC:70) [22:59:44:945]: Note: 1: 1722 2: UninstallModule64 3: D:\Program Files\ModSecurity IIS\ 4: "D:\Windows\system32\inetsrv\appcmd.exe" uninstall module /module.name:"ModSecurity IIS (64bits)" Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action UninstallModule64, location: D:\Program Files\ModSecurity IIS, command: "D:\Windows\system32\inetsrv\appcmd.exe" uninstall module /module.name:"ModSecurity IIS (64bits)" The problem comes when the MSI is already installed and an attempt to install it again. It shouldn't try to uninstall like the log is saying (if I'm understanding that properly). |
@victorhora That issue is regarding uninstalling. My issue isn't for uninstalling ModSecurity. This issue comes up if the installer runs twice. Still want it moved there? |
@dmarlow I'm a bit confused as the issue you have created (#1868) mentions about uninstallation issues. :/ So your problem is not uninstall but rather opening the installer twice? Or is it both? Can you clarify so we can decide if this an issue and if should be reopened or if it should be handled on other issue. Thanks |
@victorhora yes, #1868 one deals with uninstalling. This one deals with installation. This error happens for me when the installer runs again. In my automated attempt to install ModSecurity on ephemeral machines, I have to account properly for the installer not running twice due to this issue. Once installed, I don't want to uninstall. The uninstall issue was from my personal machine while trying to figure out the automation. :) |
Although this issue is closed, I wanted to provide feedback on testing of a fresh installation of Windows Server 2016 and IIS 10 with ModSecurity 2.9.2 MSI package. Running the MSI package, successfully installs ModSecurity 2.9.2 IIS module which gets added to the main site configuration as expected: Uninstalling also works as expected: The modules get removed and no error message is presented. A reboot is suggested but not required: Running the MSI package twice also works fine and the user is presented with the option of removing ModSecurity: That being so, I believe the issue faced by some of the users could be due to particularities on a given environment (hardening, permissions, other packages, modules etc). If the issue still persists, please let us know and we can investigate further for the 2.9.4 release. Thanks. |
Good day, colleagues!
I've got an error when install ModSecurity 2.9.0 on Windows 2012 R2 with IIS 8.5.
VCRedist versions 9,10,11,12 installed. Error:
Product: ModSecurity IIS -- Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action InstallModule64, location: C:\Program Files\ModSecurity IIS, command: "C:\Windows\system32\inetsrv\appcmd.exe" install module /name:"ModSecurity IIS (32bits)" /image:"%SystemRoot%\SysWOW64\inetsrv\ModSecurityIIS.dll" /preCondition:"bitness32"
Could you please help me to solve the issue? Thanks in advance.
The text was updated successfully, but these errors were encountered: