[Bug 33767] Comodo Firewall (part of COMODO Internet Security v4/v5/v6) fails to install, reporting error 1603 (msi client and server based product install, property value reset)

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Aug 31 08:37:09 CDT 2014


https://bugs.winehq.org/show_bug.cgi?id=33767

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
            Version|unspecified                 |1.4.1
                URL|                            |http://download.comodo.com/
                   |                            |cis/download/installs/2000/
                   |                            |xml_binaries/cis/cis_setup_
                   |                            |x86.msi
           Keywords|                            |download, Installer
          Component|-unknown                    |msi
                 CC|                            |focht at gmx.net
     Ever confirmed|0                           |1
            Summary|Wine 1.41 is un-able to     |Comodo Firewall (part of
                   |complete installation of    |COMODO Internet Security
                   |Comodo Firewall latest      |v4/v5/v6) fails to install,
                   |version with Linux Mint 14, |reporting error 1603 (msi
                   |14.1 and 15                 |client and server based
                   |                            |product install, property
                   |                            |value reset)

--- Comment #3 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

confirming, still present.

--- quote ---
Comodo Firewall latest version
--- quote ---

Always specify the _full_ app version/release number when creating bugs!
Busy people don't like to waste time researching which exact version the app
had at the time you created the bug. Yes, the app version _is_ important.

Forum thread on different installer versions here:
http://forums.comodo.com/install-setup-configuration-help-cis-b137.0/-t54008.0.html

--- quote ---
Version 5.12 32-bit  (i586)  Traditional style
http://download.comodo.com/cis/download/installs/1000/xml_binaries/cis/cis_setup_x86.msi

Version 5.12 64-bit (x86_64) Traditional style
http://download.comodo.com/cis/download/installs/1000/xml_binaries/cis/cis_setup_x64.msi

Version 6.x 32-bit  (i586)  "Modern" style
http://download.comodo.com/cis/download/installs/2000/xml_binaries/cis/cis_setup_x86.msi

Version 6.x 64-bit (x86_64) "Modern" style
http://download.comodo.com/cis/download/installs/2000/xml_binaries/cis/cis_setup_x64.msi

Version 7.x 32-bit  (i586)  "Modern" style
http://download.comodo.com/cis/download/installs/3000/xml_binaries/cis/cis_setup_x86.msi

Version 7.x 64-bit (x86_64) "Modern" style
http://download.comodo.com/cis/download/installs/3000/xml_binaries/cis/cis_setup_x64.msi
--- quote ---

The inner "Firewall-only" installer can be downloaded and run manually.

Relevant part of trace log:

--- snip ---
$ WINEDEBUG=+tid,+seh,+relay,+msi wine msiexec -i cis_setup_x86.msi >>log.txt
2>&1
...
0035:trace:msi:msi_set_property 0x13afe8 L"INSTALLDIR" L"C:\\Program
Files\\COMODO\\COMODO Internet Security\\" -1 
...
0035:trace:msi:msi_get_property returning L"C:\\Program Files\\COMODO\\COMODO
Internet Security\\" for property L"INSTALLDIR"
...
0035:trace:msi:msi_event_fire firing event L"SelectionPath"
0035:trace:msi:MSI_SetTargetPathW 0x159ed8 L"INSTALLDIR" L"C:\\Program
Files\\COMODO\\COMODO Internet Security\\"
...
0035:trace:msi:ACTION_CustomAction Handling custom action L"CheckInstallPath"
(1 L"Installer_WixHelper" L"CheckInstallPath")
0035:trace:msi:HANDLE_CustomType1 Calling function L"CheckInstallPath" from
L"C:\\users\\focht\\Temp\\msi4b28.tmp" 
...
0037:trace:msi:DllThread custom action (37) started 
...
0037:Call KERNEL32.LoadLibraryW(001db15c
L"C:\\users\\focht\\Temp\\msi4b28.tmp") ret=7ece17c7
0037:Ret  KERNEL32.LoadLibraryW() retval=10000000 ret=7ece17c7
...
0037:trace:msi:ACTION_CallDllFunction calling L"CheckInstallPath" 
...
0037:Call KERNEL32.OutputDebugStringW(00456d00 L"String property INSTALLDIR:
C:\\Program Files\\COMODO\\COMODO Internet Security\\") ret=1000cd24 
...
0037:Call msi.MsiSetPropertyW(00000002,1018e5c8 L"INSTALLDIR",00456dc0
L"C:\\Program Files\\COMODO\\COMODO Internet Security") ret=1001355e 
...
0037:trace:msi:msi_set_property 0x13afe8 L"INSTALLDIR" L"C:\\Program
Files\\COMODO\\COMODO Internet Security" -1 
...
0037:Call KERNEL32.OutputDebugStringW(00457ff0 L"Install to: C:\\Program
Files\\COMODO\\COMODO Internet Security") ret=1000cd24 
...
0037:trace:msi:MsiCloseHandle 1
0037:trace:msi:DllThread custom action (37) returned 0
0037:trace:msi:MsiCloseAllHandles 
...
0035:trace:msi:msi_get_property returning L"C:\\Program Files\\COMODO\\COMODO
Internet Security" for property L"INSTALLDIR" 
...
0035:trace:msi:ACTION_CustomAction Handling custom action
L"SetClearDestDirectory" (33 L"ClearDestDirectory"
L"INSTALLDIR=[INSTALLDIR];USERNAME=[USERNAME];")
...
0035:trace:msi:MSI_FormatRecordW
L"INSTALLDIR=[INSTALLDIR];USERNAME=[USERNAME];"
...
0035:trace:msi:set_target_path resolves to L"C:\\Program Files\\COMODO\\COMODO
Internet Security\\cfpconfg.exe" 
...
0035:trace:msi:msi_get_property returning L"C:\\Program Files\\COMODO\\COMODO
Internet Security" for property L"INSTALLDIR" 
...
0035:trace:msi:ACTION_CustomAction Handling custom action L"SetCfpCfg1" (33
L"CFPCFG" L"[INSTALLDIR]cfpconfg.exe") 
...
0035:trace:msi:MSI_FormatRecordW L"[INSTALLDIR]cfpconfg.exe" 
...
0035:trace:msi:msi_set_property 0x13afe8 L"CFPCFG" L"C:\\Program
Files\\COMODO\\COMODO Internet Securitycfpconfg.exe" 60 
...
0035:trace:msi:HANDLE_CustomType50 exe L"C:\\Program Files\\COMODO\\COMODO
Internet Securitycfpconfg.exe" arg L"--updateHtml"
...
0035:Call KERNEL32.SearchPathW(00000000,00784998 L"C:\\Program
Files\\COMODO\\COMODO Internet Securitycfpconfg.exe",7ed5aee8
L".exe",00000104,007e51f8,00000000) ret=7ece1f15
0035:Ret  KERNEL32.SearchPathW() retval=00000000 ret=7ece1f15
0035:warn:msi:execute_command can't find executable 2
...
0035:trace:msi:msi_get_property returning L"C:\\Program Files\\COMODO\\COMODO
Internet Securitycfpconfg.exe" for property L"CFPCFG" 
...
0035:trace:msi:ACTION_CustomAction Handling custom action L"DoInstallFwAv" (c01
L"Installer_WixHelper" L"DoInstallFwAv") 
...
0035:trace:msi:msi_get_property returning
L"VersionNT64=;VersionNT=501;INSTALLANTIVIRUS=1;CFPCFG=C:\\Program
Files\\COMODO\\COMODO Internet
Securitycfpconfg.exe;LANG=1033;INSTALLFIREWALL=1;PREDEFINEDPROFILE=;MAKE_CESM_DEFAULT_CONFIG=0;INSTALLDIR=C:\\Program
Files\\COMODO\\COMODO Internet
Security;CESMCONTEXT=;DRVHLPRMODULE=C:\\users\\Public\\A"... for property
L"DoInstallFwAv" 
0035:trace:msi:msi_set_property 0x13afe8 L"CustomActionData"
L"VersionNT64=;VersionNT=501;INSTALLANTIVIRUS=1;CFPCFG=C:\\Program
Files\\COMODO\\COMODO Internet
Securitycfpconfg.exe;LANG=1033;INSTALLFIREWALL=1;PREDEFINEDPROFILE=;MAKE_CESM_DEFAULT_CONFIG=0;INSTALLDIR=C:\\Program
Files\\COMODO\\COMODO Internet
Security;CESMCONTEXT=;DRVHLPRMODULE=C:\\users\\Public\\A"... -1 
...
0035:trace:msi:HANDLE_CustomType1 Calling function L"DoInstallFwAv" from
L"C:\\users\\focht\\Temp\\msi4b28.tmp" 
...
0020:Starting thread proc 0x7ece1b56 (arg=0x7882dc)
0020:trace:msi:DllThread custom action (20) started
...
0020:trace:msi:ACTION_CallDllFunction calling L"DoInstallFwAv"
...
0020:Call KERNEL32.OutputDebugStringW(00458b40 L"String property
CustomActionData:
VersionNT64=;VersionNT=501;INSTALLANTIVIRUS=1;CFPCFG=C:\\Program
Files\\COMODO\\COMODO Internet
Securitycfpconfg.exe;LANG=1033;INSTALLFIREWALL=1;PREDEFINEDPROFILE=;MAKE_CESM_DEFAULT_CONFIG=0;INSTALLDIR=C:\\Program
Files\\COMODO\\COMODO Internet Security;CESMCONTEXT=;"...) ret=1000cd24 
...
0020:Call KERNEL32.OutputDebugStringW(00458bc8 L"Deferred property: 'CFPCFG' =>
'C:\\Program Files\\COMODO\\COMODO Internet Securitycfpconfg.exe'")
ret=1000cd24 
...
0020:Call KERNEL32.OutputDebugStringW(004593c0 L"Starting config (\"C:\\Program
Files\\COMODO\\COMODO Internet Securitycfpconfg.exe\" --langID 1033
--createConfig
\"active=avfw;dplus=opt;esm=0;av=1;fw=1;free=1;noalerts=1;cloud=1;sendstats=1;configfile=;fwstate=0;dfstate=0;avstate=0;bbstate=0;avservers=0;\")...")
ret=1000cd24 
...
0020:Call KERNEL32.CreateProcessW(00000000,00458c60 L"\"C:\\Program
Files\\COMODO\\COMODO Internet Securitycfpconfg.exe\" --langID 1033
--createConfig
\"active=avfw;dplus=opt;esm=0;av=1;fw=1;free=1;noalerts=1;cloud=1;sendstats=1;configfile=;fwstate=0;dfstate=0;avstate=0;bbstate=0;avservers=0;\"",00000000,00000000,00000000,00000000,00000000,00000000,0065e5f4,0065e63c)
ret=10004318
0020:Ret  KERNEL32.CreateProcessW() retval=00000000 ret=10004318 
...
0020:Call KERNEL32.OutputDebugStringW(004583c8 L"...failed. Code: 2")
ret=1000cd24 
...
0020:trace:msi:MsiCloseHandle 1
0020:trace:msi:DllThread custom action (20) returned 1603
0020:trace:msi:MsiCloseAllHandles 
...
0035:trace:msi:MSI_ProcessMessage (nil) (nil) (nil) 0 10 L"Action ended
14:44:12: ExecuteAction. Return value 1603." 
...
0035:trace:msi:dialog_create L"CisFatalError" 
--- snip ---

There is a custom action 'CheckInstallPath' (tid=0x37) which overwrites the
global 'INSTALLDIR' property with a path that doesn't end with a backslash.

Since the whole install is done on MSI client side, any subsequent property
(de)formats referencing 'INSTALLDIR' property obviously fail:
'[INSTALLDIR]foo.exe'

The installer requires elevated rights and per-machine install (kernel
drivers).

It's likely that the main part of the product installation is done on the MSI
server side, with properties being reset/re-evaluated to their original values
(costing actions).
Even if the client side passed 'INSTALLDIR' to server side without backslash,
the property would retain its original value (with backslash).

Likely a dupe of existing MSI client vs. server product install bugs.

---

To reiterate what Dan said in comment #1 from a technical point:

An essential/important part of the Firewall software requires Windows kernel
infrastructure which Wine can't provide by design.
Wine is not an operating system hence the app won't work here.

$ sha1sum cis_setup_x86.msi 
9b1e6963a3379d6c219abbbc08001694459178d3  cis_setup_x86.msi

$ du -sh cis_setup_x86.msi 
44M    cis_setup_x86.msi

$ wine --version
wine-1.7.25-51-g60de497

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list