Sunucumuz üzerinde Windows Installer kullanan uygulamaları kurmak istediğimizde hata alıyor isek ve bu hata kodları ile bir çözüme ulaşamadığımız durumlarda Windows Installer loglarını kontrol ederek trouble shooting yapabilmek amacı ile Windows Installer Logging’i sunucumuz üzerinde aktif hale getirmemiz gerekiyor.
Windows Installer Logging’i aktif hale getirdikten sonra uygulamayı tekrar kurarak oluşacak logları inceleyerek çözüme ulaşabiliriz. Dilerseniz şimdi Windows Installer Logging’i hangi yollarla aktif hale getirebileceğimize bakalım. Windows Installer Logging’i aktif hale getirebilmek için 3 farklı yol izleyebiliriz bunlar Registy, Command Prompt ve Group Policy’dir. Windows Installer Logging aktif hale getirildiğinde log dosyaları Users içerisinde bulunan Temp klasörü içerisinde MSI*.LOG ismi ile ratgele oluşur.
Önemli Not: Windows Installer yalnızca sorun giderme amacıyla kullanılmadır etkin bırakılması durumunda sistem performansı ve disk alanı üzerinde olumsuz etkileri olabilir.
Windows Installer Logging’i Registry Üzerinden Aktif Etmek
Start>Run>Regedit.exe yazarak registry’ye ulaşalım burada HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer anahtarı altında
Reg_SZ: Logging
Value: voicewarmup
Windows Installer Logging Registry Parametreleri
Value Description
V Verbose output
O Out-of-disk-space messages
I Status messages
C Initial UI parameters
E All error messages
W Non-fatal warnings
A Start up of actions
R Action-specific records
M Out-of-memory or fatal exit information
U User requests
P Terminal properties
+ Append to existing file
! Flush each line to the log
“*” Wilcard, log all information except for the v option. To include the v option, specify “/I*v”
Windows Installer Logging’i Komut İstemi Üzerinden Aktif Etmek
Start>Run>Cmd yazarak komut istemine ulaşalım burada msiexec /L <parameters> /log <LogFile> komutunu çalıştırarak Windows Installer Logging’i aktif hale getirebiliriz. Windows Installer Logging’e ait komut istemi parametrelerini aşağıda görebiliriz.
Windows Installer Logging Komut İstemi Parametreleri
Value Description
V Verbose output
O Out-of-disk-space messages
I Status messages
C Initial UI parameters
E All error messages
W Non-fatal warnings
A Start up of actions
R Action-specific records
M Out-of-memory or fatal exit information
U User requests
P Terminal properties
X Verbose Output
+ Append to existing file
! Flush each line to the log
“*” Wilcard, log all information except for the v option. To include the v option, specify “/I*v”
Windows Installer Logging’i Group Policy Üzerinden Aktif Etmek
Start>Programs>Group Policy Management>Group Policy Objects>Policy>Edit>Computer Configuration>Policies>Administrative Templates>Windows Components>Windows Installer yolunu takip ettikten sonra karşımıza gelen seçeneklerden Logging’e çift tıkladıktan sonra Enable seçeneğini seçerek Windows Installer Logging’i Group Policy ile aktif hale getirebiliriz.
Windows Installer logları Windows Installer Analyzer’ı ile analiz edilebilir. Windows Installer hata kodlarını ise aşağıda görebiliriz.
Error Code Value Description
ERROR_SUCCESS 0 The action completed successfully
ERROR_INVALID_DATA 13 The data is invalid
ERROR_INVALID_PARAMETER 87 One of the parameters was invalid
ERROR_CALL_NOT_IMPLEMENTED 120 This value is returned when a custom action attempts to call a function that cannot be called from custom actions. The function returns the value
ERROR_CALL_NOT_IMPLEMENTED. Available beginning with Windows Installer version 3.0
ERROR_APPHELP_BLOCK 1259 If Windows Installer determines a product may be incompatible with the current operating system, it displays a dialog box informing the user and asking whether to
try to install anyway. This error code is returned if the user chooses not to try the installation
ERROR_INSTALL_SERVICE_FAILURE 1601 The Windows Intaller service could not be accessed
ERROR_INSTALL_USEREXIT 1602 User canceled installation
ERROR_INSTALL_FAILURE 1603 Fatal error during installation
ERROR_INSTALL_SUSPEND 1604 Installation suspended, incomplete
ERROR_UNKNOWN_PRODUCT 1605 This action is only valid for products that are currently installed
ERROR_UNKNOWN_FEATURE 1606 Feature ID not registered
ERROR_UNKNOWN_COMPONENT 1607 Component ID not registered
ERROR_UNKNOWN_PROPERTY 1608 Unknown property
ERROR_INVALID_HANDLE_STATE 1609 Handle is in an invalid state
ERROR_BAD_CONFIGURATION 1610 The configuration data for this product is corrupt
ERROR_INDEX_ABSENT 1611 Component qualifier not present
ERROR_INSTALL_SOURCE_ABSENT 1612 The installation source for this product is not available. Verify that the source exist and that you can access it
ERROR_INSTALL_PACKAGE_VERSION 1613 This installation package cannot be installed by the Windows Installer service. You must install a Windows service pack that contains a newer version of the Windows
Installer service
ERROR_PRODUCT_UNINSTALLED 1614 Product is uninstalled
ERROR_BAD_QUERY_SYNTAX 1615 SQL query syntax invalid or unsupported
ERROR_INVALID_FIELD 1616 Record field does not exist
ERROR_INSTALL_ALREADY_RUNNIG 1618 Another installation is already in progress. Complete that installation before proceeding with this install
ERROR_INSTALL_PACKAGE_OPEN_FAILED 1619 This installation package could not be opened. Verify that the package exists and that you can access it, or contact the application vendor to verify that this is a valid
Windows Installer package
ERROR_INSTALL_PACKAGE_INVALID 1620 This installation package could not be opened. Contact the application vendor to verify that is a valid Windows Installer package
ERROR_INSTALL_UI_FAILURE 1621 There was an error starting the Windows Installer service user interface
ERROR_INSTALL_LOG_FAILURE 1622 Error opening installation log file. Verify that the specified log file location exists and is writable
ERROR_INSTALL_LANGUAGE_UNSUPPORTED 1623 This language of this installation package is not supported by your system
ERROR_INSTALL_TRANSFORM_FAILURE 1624 Error applying transforms. Verify that the specified transform paths are valid
ERROR_INSTALL_PACKAGE_REJECTED 1625 This installation is forbidden by system policy
ERROR_FUNCTION_NOT_CALLED 1626 Function could not be executed
ERROR_FUNCTION_FAILED 1627 Function failed during execution
ERROR_INVALID_TABLE 1628 Invalid or unknown table specified
ERROR_DATATYPE_MISMATCH 1629 Data supplied is of wrong type
ERROR_DATATYPE_MISMATCH 1630 Data of supplied is of wrong type
ERROR_UNSUPPORTED_TYPE 1631 The Windows Installer service failed to start
ERROR_INSTALL_TEMP_UNWRITABLE 1632 The temp folder is either full or inaccessible. Verify that the temp folder exists and that you can write to it
ERROR_INSTALL_PLATFORM_UNSUPPORTED 1633 This installation package is not supported on this platform. Contact your application vendor
ERROR_INSTALL_NOTUSED 1634 Component not used on this machine
ERROR_PATCH_PACKAGE_OPEN_FAILED 1635 This patch package could not be opened. Verify that the patch package exists and that you can access it, or contact the application vendor to verify that this is a valid
Windows Installer patch package
ERROR_PATCH_PACKAGE_INVALID 1636 This patch package could not be opened. Contact the application vendor to verify that this is a valid Windows Installer patch package
ERROR_PATCH_PACKAGE_UNSUPPORTED 1637 This patch package cannot be processed by the Windows Installer service. You must install a Windows service pack that contains a newer version of the Windows
Installer service
ERROR_PRODUCT_VERSION 1638 Another version of this product is already installed. Installation of this version cannot contunie. To configure or remove the existing version of this product, use
Add/Remove Programs on the Control Panel
ERROR_INVALID_COMMAND_LINE 1639 Invalid command line argument. Consult the Windows Installer SDK for detailed command line help
ERROR_SUCCESS_REBOOT_REQUIRED 3010 A restart is required to complete the install. This does not include installs where the ForceReboot action is run
Bu konuyla ilgili sorularınızı alt kısımda bulunan yorumlar alanını kullanarak sorabilirsiniz.
Referanslar
Burda windows un icinde installer yok ama
Windows içinde değil genellikle kurulan uygulama derlendiğinde windows installer kullanılır ki kurulum adımları kolayllık kazansın. Sizin sorununuz tam olarak nedir?