MSI InstallFinalize ARP removal condition - installation

I'm trying to configure WiX to build an installer so that I can activate Features via Properties provided by the commandline and migrate them to the next upgrade.
When trying to do a MajorUpgrade with my WiX-installer the upgrade does not remove the previous version from the ARP-Menü. Every other Feature/Component seems to be removed before the reinstall (the log lists them). This problem only occurs if I activated a feature during the previous version via a Property provided by the commandline.
ARP-entry of v1 gets removed:
msiexec /L*v install.log /i installerv1.msi
msiexec /L*v install.log /i installerv2.msi
ARP-entry of v1 does not get removed:
msiexec /L*v install.log /i installerv1.msi EXTRAFEATURE=true
msiexec /L*v install.log /i installerv2.msi EXTRAFEATURE=true
alternatively
msiexec /L*v install.log /i installerv1.msi EXTRAFEATURE=true
msiexec /L*v install.log /i installerv2.msi
(The ProductCode, PackageCode and Product Version differ between v1 and v2, the UpgradeCode stays the same)
Simplified WiX config:
<Product Id="$(var.CPACK_WIX_PRODUCT_GUID)"
Name="$(var.CPACK_PACKAGE_NAME)"
Language="1031"
Version="$(var.CPACK_PACKAGE_VERSION)"
Manufacturer="$(var.CPACK_PACKAGE_VENDOR)"
UpgradeCode="$(var.CPACK_WIX_UPGRADE_GUID)">
<Package InstallerVersion="301"
InstallScope="perMachine"
Compressed="yes"
Description="$(var.CPACK_PACKAGE_NAME)"
Keywords="!(loc.PackageKeywords)"
Comments="!(loc.PackageComments)"/>
<MajorUpgrade
Schedule="afterInstallValidate"
AllowSameVersionUpgrades="yes"
DowngradeErrorMessage="!(loc.DowngradeErrorMessage)"/>
<FeatureRef Id="ProductFeature"/>
<FeatureRef Id="ExtraFeature"/>
<Property Id="EXTRAFEATURE" Secure="yes"/>
<Feature Id="ExtraFeature" Level="0">
<Condition Level="1">EXTRAFEATURE</Condition>
<ComponentRef Id="ExtraFeature"/>
</Feature>
...
</Product>
Looking into the log I only see one difference: The InstallInitialize step does not trigger the generation of the script to remove the ARP-entry.
Working example:
MSI (s) (14:10) [10:24:20:422]: Doing action: InstallInitialize
Aktion 10:24:20: InstallInitialize.
Aktion gestartet um 10:24:20: InstallInitialize.
MSI (s) (14:10) [10:24:20:423]: Machine policy value 'AlwaysInstallElevated' is 0
MSI (s) (14:10) [10:24:20:423]: User policy value 'AlwaysInstallElevated' is 0
Aktion 10:24:20: GenerateScript. Für folgende Aktion werden Skriptvorgänge generiert:
GenerateScript: InstallInitialize
MSI (s) (14:10) [10:24:20:429]: PROPERTY CHANGE: Deleting ProductToBeRegistered property. Its current value is '1'.
MSI (s) (14:10) [10:24:20:430]: Note: 1: 2205 2: 3: Class
MSI (s) (14:10) [10:24:20:430]: Note: 1: 2228 2: 3: Class 4: SELECT `CLSID` FROM `Class` WHERE `Icon_`=? AND `Class`.`Attributes`=1
MSI (s) (14:10) [10:24:20:430]: Note: 1: 2205 2: 3: Class
MSI (s) (14:10) [10:24:20:430]: Note: 1: 2228 2: 3: Class 4: SELECT `Component`,`CLSID` FROM `Component`,`Class` WHERE `Component`=`Component_` AND `Icon_`=? AND (`Component`.`Installed` <> 0 AND `Component`.`Action` <> 0)
MSI (s) (14:10) [10:24:20:430]: Note: 1: 2205 2: 3: Extension
MSI (s) (14:10) [10:24:20:430]: Note: 1: 2228 2: 3: Extension 4: SELECT `Component`,`Extension` FROM `Component`,`Extension`,`ProgId` WHERE `Component`.`Component`=`Extension`.`Component_` AND `ProgId`.`ProgId`=`Extension`.`ProgId_` AND `ProgId`.`Icon_`=? AND (`Component`.`Installed` <> 0 AND `Component`.`Action` <> 0)
MSI (s) (14:10) [10:24:20:430]: 'ProductIcon.ico' icon will be removed.
Aktion beendet um 10:24:20: InstallInitialize. Rückgabewert 1.
Not-working example:
MSI (s) (74:94) [09:50:04:656]: Doing action: InstallInitialize
Aktion 09:50:04: InstallInitialize.
Aktion gestartet um 09:50:04: InstallInitialize.
MSI (s) (74:94) [09:50:04:658]: Machine policy value 'AlwaysInstallElevated' is 0
MSI (s) (74:94) [09:50:04:658]: User policy value 'AlwaysInstallElevated' is 0
Aktion beendet um 09:50:04: InstallInitialize. Rückgabewert 1.
In the docs for InstallFinalize (https://learn.microsoft.com/en-us/windows/win32/msi/installfinalize-action) I found this description:
If it is detected that the product is marked for complete removal, operations are automatically added to the script to remove the Add/Remove Programs in the Control Panel information for the product, to unregister and unpublish the product, and to remove the cached local database from %WINDOWS%, if it exists.
I cannot find any documentation regarding the condition when the ARP-entry gets removed. Why does adding the feature prevent the triggering of the ARP-removal?

The feature is disabled, so it's not being removed.
http://www.joyofsetup.com/2008/05/16/make-sure-features-are-always-enabled-so-they-can-be-removed/

Related

VSIX install failed

I downloaded extension in visual studio 2019 but while installing error occurred.
install log is this:
4/25/2021 8:41:33 PM - Microsoft VSIX Installer
4/25/2021 8:41:33 PM - -------------------------------------------
4/25/2021 8:41:33 PM - vsixinstaller.exe version:
4/25/2021 8:41:33 PM - 16.9.2017
4/25/2021 8:41:33 PM - -------------------------------------------
4/25/2021 8:41:33 PM - Command line parameters:
4/25/2021 8:41:33 PM - C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\VSIXInstaller.exe,C:\Users\Usman\Downloads\ProductivityPowerPack2017.vsix
4/25/2021 8:41:33 PM - -------------------------------------------
4/25/2021 8:41:33 PM - Microsoft VSIX Installer
4/25/2021 8:41:33 PM - -------------------------------------------
4/25/2021 8:41:34 PM - System.IO.FileLoadException: Could not load file or assembly 'Microsoft.VisualStudio.Validation, Version=15.3.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its
dependencies. The located assembly's manifest definition does not
match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'Microsoft.VisualStudio.Validation, Version=15.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
at VSIXInstaller.SupportedSKUs.AddInstalledIsolatedShells(Version
vsVersion, IntPtr userToken)
at VSIXInstaller.SupportedSKUs.InitializeSupportedSKUs(IntPtr userToken)
at VSIXInstaller.ExtensionService.InitializeSupportedSKUs(ICommandLineData
cmdLineData, IntPtr duplicatedUserToken)
at VSIXInstaller.App.Initialize(Boolean isRepairSupported)
at VSIXInstaller.App.Initialize()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception
exceptionObject)
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Run a repair of your Visual Studio installation.
If repair doesn't work, you might've moved your VS install and now it won't install anything.
This is because it "might" be finding the VS Installer in a directory OTHER than the standard one. Reinstall the installer itself, then try to install the extension or whatevs
Check if this path exists on your C drive. The "Packages" folder is used to save VS extensions which VS needs. I'd moved mine to F drive to save space. The error message didn't help me much.
C:\ProgramData\Microsoft\VisualStudio\Packages

How to fix WixCloseApplications: Error 0x8007064f: failed to open view on database?

I am new to Wix. While installing a msi, I would like to use the util:CloseApplication to detect if notepad.exe is running. My simple code.
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
<util:CloseApplication CloseMessage="no" Target="notepad.exe" RebootPrompt="no"/>
<InstallExecuteSequence>
<Custom Action="WixCloseApplications" After="InstallInitialize"/>
</InstallExecuteSequence>
Failed to in both Wix 3.10 and 3.11 toolsets. Any suggestion?
Have also tried to execute the WixCloseApplications Before="InstallValidate". Same result.
MSI LogFile: (time stamp stripped off)
MSI (s) (6C:90) [10:47:42:356]: Doing action: WixCloseApplications
Action 10:47:42: WixCloseApplications.
Action start 10:47:42: WixCloseApplications.
MSI (s) Creating MSIHANDLE (1) of type 790542 for thread 60816
MSI (s) Invoking remote custom action. DLL: C:\Windows\Installer\MSI95B2.tmp, Entrypoint: WixCloseApplications
MSI (s) Generating random cookie.
MSI (s) Created Custom Action Server with PID 57776 (0xE1B0).
MSI (s) Running as a service.
MSI (s) Hello, I'm your 32bit Impersonated custom action server.
MSI (s) Creating MSIHANDLE (2) of type 790541 for thread 60964
MSI (s) Note: 1: 2205 2: 3: WixCloseApplication
MSI (s) Note: 1: 2228 2: 3: WixCloseApplication 4: SELECT `WixCloseApplication`, `Target`, `Description`, `Condition`, `Attributes`, `Property`, `TerminateExitCode`, `Timeout` FROM `WixCloseApplication` ORDER BY `Sequence`
MSI (s) Creating MSIHANDLE (3) of type 790531 for thread 60964
WixCloseApplications: Error 0x8007064f: failed to open view on database
MSI (s) Closing MSIHANDLE (3) of type 790531 for thread 60964
MSI (s) Creating MSIHANDLE (4) of type 790531 for thread 60964
WixCloseApplications: Error 0x8007064f: failed to open view on WixCloseApplication table
MSI (s) Closing MSIHANDLE (4) of type 790531 for thread 60964
MSI (s) Closing MSIHANDLE (2) of type 790541 for thread 60964
CustomAction WixCloseApplications returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (s) Closing MSIHANDLE (1) of type 790542 for thread 60816
Action ended 10:47:42: WixCloseApplications. Return value 3.
MSI (s) Machine policy value 'DisableRollback' is 0
MSI (s) Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) Calling SRSetRestorePoint API. dwRestorePtType: 13, dwEventType: 103, llSequenceNumber: 958, szDescription: "".
MSI (s) The call to SRSetRestorePoint API succeeded. Returned status: 0.
MSI (s) Unlocking Server
Action ended 10:47:42: INSTALL. Return value 3.
I think I have found out the root cause of the problem I experienced.
If I put the complete ClosApplication codes inside a <Fragment></Fragment>, the whole fragment of code is skipped (simply due to lack of reference).
<Fragment>
<util:CloseApplication ID="StopNotepad" CloseMessage="no" Target="notepad.exe" RebootPrompt="no"/>
<InstallExecuteSequence>
<Custom Action="WixCloseApplications" After="InstallInitialize"/>
</InstallExecuteSequence>
</Fragment>
The problem I saw earlier was slightly different. My fragment just contain this
<Fragment>
<util:CloseApplication ID="StopNotepad" CloseMessage="no" Target="notepad.exe" RebootPrompt="no"/>
</Fragment>
The required custom action was included via an external wxi file. The final msi contains the call to custom action but missing the Util:CloseApplication declaration. As a result, the msi failed to deploy and I saw the weird log entry stating WixCloseApplications: Error 0x8007064f: failed to open view on database
Solution:
By moving the <util:CloseApplication fragment code inside the <Product><\Product> or other existing <Fragment> that has a reference to the outside world. For example, Directory Id=etc will resolve the problem.
Unless there is a way to include <util:CloseApplication reference (that I am not aware of), don't put the <util:CloseApplication code in its own fragment!

In WiX, how do I test if the installed version is at least a specific version?

I'm building a WiX bundle. I need to chain an executable package (actually ASCOM Platform 6 SP1). The detection condition is that a certain registry key exists, and contains a version number greater than a certain minimum required version. If those conditions are not met, then the prerequisite is not met and the EXE file package needs to be downloaded and installed.
The fragment I've authored looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<?include $(sys.CURRENTDIR)\Config.wxi?>
<!-- Define a prerequisite for ASCOM Platform 6 SP1 -->
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
<Fragment>
<util:RegistrySearch Id="FindAscom6Installed"
Variable="AscomPlatform6Installed"
Root="HKLM"
Key="SOFTWARE\ASCOM\Platform"
Value="Platform Build"
Result="exists"
Win64="$(var.Win64)"
/>
<util:RegistrySearch Id="FindAscom6Build"
Variable="AscomPlatformBuild"
Root="HKLM"
Key="SOFTWARE\ASCOM\Platform"
Value="Platform Build"
Result="value"
Win64="$(var.Win64)"
/>
<PackageGroup Id="AscomPlatform6Sp1">
<!-- If necessary, install ASCOM Platform version 6, do not uninstall
it during driver uninstall. -->
<!-- DetectCondition="AscomPlatformInstalled AND AscomPlatformBuild >= 6.0.10028.2207" -->
<ExePackage
SourceFile="ASCOMPlatform6SP1.exe"
DetectCondition="AscomPlatform6Installed AND AscomPlatformBuild >= 6.0.10028.2207"
DownloadUrl="http://download.ascom-standards.org/ASCOMPlatform6SP1.exe"
PerMachine="yes"
Permanent="yes"
Vital="yes" />
</PackageGroup>
</Fragment>
</Wix>
This compiles OK but when the setup is run, it fails. Here's the log output:
[0E54:141C][2012-12-12T06:37:38]i001: Burn v3.7.1204.0, Windows v6.2 (Build 9200: Service Pack 0), path: C:\Users\Tim\Documents\visual studio 2012\Projects\Wix.BurnTutorial\Wix.BurnTutorial\bin\Debug\Wix.BurnTutorial.exe, cmdline: ''
[0E54:141C][2012-12-12T06:37:38]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\Tim\AppData\Local\Temp\Wix.BurnTutorial_20121212063738.log'
[0E54:141C][2012-12-12T06:37:38]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\Tim\Documents\visual studio 2012\Projects\Wix.BurnTutorial\Wix.BurnTutorial\bin\Debug\Wix.BurnTutorial.exe'
[0E54:141C][2012-12-12T06:37:38]i000: Setting string variable 'WixBundleName' to value 'Wix.BurnTutorial'
[0E54:141C][2012-12-12T06:37:39]i100: Detect begin, 2 packages
[0E54:141C][2012-12-12T06:37:39]i000: Registry key not found. Key = 'SOFTWARE\ASCOM\Platform'
[0E54:141C][2012-12-12T06:37:39]i000: Registry key not found. Key = 'SOFTWARE\ASCOM\Platform'
[0E54:141C][2012-12-12T06:37:39]i000: Setting numeric variable 'AscomPlatform6Installed' to value 0
[0E54:141C][2012-12-12T06:37:39]e000: Error 0x8007000d: Failed to parse condition "AscomPlatform6Installed AND AscomPlatformBuild >= 6.0.10028.2207". Unexpected character at position 51.
[0E54:141C][2012-12-12T06:37:39]e000: Error 0x8007000d: Failed to read next symbol.
[0E54:141C][2012-12-12T06:37:39]e000: Error 0x8007000d: Failed to parse value.
[0E54:141C][2012-12-12T06:37:39]e000: Error 0x8007000d: Failed to parse term.
[0E54:141C][2012-12-12T06:37:39]e000: Error 0x8007000d: Failed to parse boolean-factor.
[0E54:141C][2012-12-12T06:37:39]e000: Error 0x8007000d: Failed to parse boolean-term.
[0E54:141C][2012-12-12T06:37:39]e000: Error 0x8007000d: Failed to parse boolean-term.
[0E54:141C][2012-12-12T06:37:39]e000: Error 0x8007000d: Failed to parse expression.
[0E54:141C][2012-12-12T06:37:39]e051: Error 0. Failed to parse condition AscomPlatform6Installed AND AscomPlatformBuild >= 6.0.10028.2207. Unexpected symbol at position (null)
[0E54:141C][2012-12-12T06:37:39]e000: Error 0x8007000d: Failed to evaluate executable package detect condition.
[0E54:141C][2012-12-12T06:37:39]e151: Detect failed for package: ASCOMPlatform6SP1.exe, error: 0x8007000d
[0E54:141C][2012-12-12T06:37:39]i101: Detected package: ASCOMPlatform6SP1.exe, state: Unknown, cached: None
[0E54:141C][2012-12-12T06:37:39]i101: Detected package: TargetPackage, state: Absent, cached: None
[0E54:141C][2012-12-12T06:37:39]i199: Detect complete, result: 0x8007000d
I suspect the problem might be that, because the key doesn't exist, then AscomPlatform6Build is null, which WiX doesn't like.
How do I correctly construct this detection condition?
You should be able to add a condition to the second RegistrySearch based off the first one. If you assign a base value to the AscomPlatformBuild as well, it won't be reported as null.
<Variable Name="AscomPlatformBuild" Type="numeric" Value="1.0.0" />
...
<util:RegistrySearch Id="FindAscom6Build"
Variable="AscomPlatformBuild"
Root="HKLM"
Key="SOFTWARE\ASCOM\Platform"
Value="Platform Build"
Result="value"
Win64="$(var.Win64)"
Condition="AscomPlatform6Installed" />
The ExePackage can be left alone.
Faced the same issue.
Resolved it by adding v before the version constant in the condition .i.e v6.0.10028.2207
<ExePackage
SourceFile="ASCOMPlatform6SP1.exe"
DetectCondition="AscomPlatform6Installed AND AscomPlatformBuild >= v6.0.10028.2207"
DownloadUrl="http://download.ascom-standards.org/ASCOMPlatform6SP1.exe"
PerMachine="yes"
Permanent="yes"
Vital="yes" />

MSI failing to install, error log inside

I am unable to install an msi from a custom web application I have developed. I am trying to install the msi on windows server 2008 R2 Datacenter Service pack 1 amazon machine. The installer keeps giving an error to exit and reopen the installer. I was able to run the installed with a log - below is part of the log - if more is needed please let me know. Any reason why this msi would not just install like previous versions? Changed may have been made to the machine I work on but I was not able to find any that should give an error. Thank you.
=== Logging stopped: 1/30/2012 9:02:41 ===
MSI (c) (D8:10) [09:02:41:012]: Note: 1: 1708
MSI (c) (D8:10) [09:02:41:012]: Note: 1: 2205 2: 3: Error
MSI (c) (D8:10) [09:02:41:012]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1708
MSI (c) (D8:10) [09:02:41:012]: Note: 1: 2205 2: 3: Error
MSI (c) (D8:10) [09:02:41:012]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709
MSI (c) (D8:10) [09:02:41:012]: Product: WebSetup1 -- Installation failed.
MSI (c) (D8:10) [09:02:41:017]: Windows Installer installed the product. Product Name: WebSetup1. Product Version: 1.0.0. Product Language: 1033. Manufacturer: Microsoft. Installation success or error status: 1603.
MSI (c) (D8:10) [09:02:41:026]: Grabbed execution mutex.
MSI (c) (D8:10) [09:02:41:026]: Cleaning up uninstalled install packages, if any exist
MSI (c) (D8:10) [09:02:41:028]: MainEngineThread is returning 1603
=== Verbose logging stopped: 1/30/2012 9:02:41 ===
here is another part of the log
Action 9:02:37: IsolateComponents.
Action start 9:02:37: IsolateComponents.
Action ended 9:02:37: IsolateComponents. Return value 0.
MSI (c) (D8:10) [09:02:37:815]: Doing action: WEBCA_GatherAppPools
MSI (c) (D8:10) [09:02:37:815]: Note: 1: 2205 2: 3: ActionText
Action 9:02:37: WEBCA_GatherAppPools.
Action start 9:02:37: WEBCA_GatherAppPools.
MSI (c) (D8:10) [09:02:37:815]: Note: 1: 2235 2: 3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = 'WEBCA_GatherAppPools'
MSI (c) (D8:10) [09:02:37:817]: Creating MSIHANDLE (24) of type 790542 for thread 2576
MSI (c) (D8:A8) [09:02:37:818]: Invoking remote custom action. DLL: C:\Users\ADMINI~1\AppData\Local\Temp\2\MSI16B1.tmp, Entrypoint: GatherAppPools
MSI (c) (D8!C0) [09:02:37:828]: Creating MSIHANDLE (25) of type 790531 for thread 3008
INFO : [01/30/2012 09:02:37:828] [GatherAppPools ]: Custom Action is starting...
INFO : [01/30/2012 09:02:37:828] [GatherAppPools ]: CoInitializeEx - COM initialization Apartment Threaded...
MSI (c) (D8!C0) [09:02:37:836]: Creating MSIHANDLE (26) of type 790541 for thread 3008
MSI (c) (D8!C0) [09:02:37:836]: Note: 1: 2205 2: 3: ComboBox
MSI (c) (D8!C0) [09:02:37:836]: Note: 1: 2228 2: 3: ComboBox 4: INSERT INTO `ComboBox` (`Property`,`Order`,`Value`,`Text`) VALUES (?, ?, ?, ?) TEMPORARY
MSI (c) (D8!C0) [09:02:37:837]: Closing MSIHANDLE (26) of type 790541 for thread 3008
ERROR : [01/30/2012 09:02:37:837] [GatherAppPools ]: FAILED: -2147023281
ERROR : [01/30/2012 09:02:37:838] [GatherAppPools ]: Custom Action failed with code: '1615'
INFO : [01/30/2012 09:02:37:839] [GatherAppPools ]: Custom Action completed with return code: '1615'
INFO : [01/30/2012 09:02:37:839] [GatherAppPools ]: Custom Action completed with return code: '1615'
MSI (c) (D8!C0) [09:02:37:840]: Closing MSIHANDLE (25) of type 790531 for thread 3008
CustomAction WEBCA_GatherAppPools returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (c) (D8:A8) [09:02:37:841]: Closing MSIHANDLE (24) of type 790542 for thread 2576
Action ended 9:02:37: WEBCA_GatherAppPools. Return value 3.
MSI (c) (D8:10) [09:02:37:842]: Doing action: FatalErrorForm
MSI (c) (D8:10) [09:02:37:842]: Note: 1: 2205 2: 3: ActionText
Action 9:02:37: FatalErrorForm.
Action start 9:02:37: FatalErrorForm.
MSI (c) (D8:10) [09:02:37:842]: Note: 1: 2235 2: 3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = 'FatalErrorForm'
MSI (c) (D8:34) [09:02:37:844]: Note: 1: 2205 2: 3: Error
MSI (c) (D8:34) [09:02:37:844]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2826
DEBUG: Error 2826: Control BannerBmp on dialog FatalErrorForm extends beyond the boundaries of the dialog to the right by 3 pixels
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2826. The arguments are: FatalErrorForm, BannerBmp, to the right
MSI (c) (D8:34) [09:02:37:846]: Note: 1: 2205 2: 3: Error
MSI (c) (D8:34) [09:02:37:846]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2898
Info 2898.For VsdDefaultUIFont.524F4245_5254_5341_4C45_534153783400 textstyle, the system created a 'MS Sans Serif' font, in 0 character set, of 13 pixels height.
MSI (c) (D8:34) [09:02:37:846]: Note: 1: 2205 2: 3: Error
MSI (c) (D8:34) [09:02:37:846]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2898
Info 2898.For VSI_MS_Sans_Serif13.0_0_0 textstyle, the system created a 'MS Sans Serif' font, in 0 character set, of 13 pixels height.
MSI (c) (D8:34) [09:02:37:847]: Note: 1: 2205 2: 3: Error
MSI (c) (D8:34) [09:02:37:847]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2898
Info 2898.For VSI_MS_Sans_Serif16.0_1_0 textstyle, the system created a 'MS Sans Serif' font, in 0 character set, of 20 pixels height.
MSI (c) (D8:34) [09:02:37:847]: Note: 1: 2205 2: 3: Error
MSI (c) (D8:34) [09:02:37:847]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2826
DEBUG: Error 2826: Control Line2 on dialog FatalErrorForm extends beyond the boundaries of the dialog to the right by 3 pixels
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2826. The arguments are: FatalErrorForm, Line2, to the right
MSI (c) (D8:34) [09:02:37:847]: Note: 1: 2205 2: 3: Error
MSI (c) (D8:34) [09:02:37:847]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2826
DEBUG: Error 2826: Control Line1 on dialog FatalErrorForm extends beyond the boundaries of the dialog to the right by 3 pixels
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2826. The arguments are: FatalErrorForm, Line1, to the right
Action 9:02:37: FatalErrorForm. Dialog created
MSI (c) (D8:3C) [09:02:37:852]: Note: 1: 2731 2: 0
Action ended 9:02:40: FatalErrorForm. Return value 1.
Action ended 9:02:40: INSTALL. Return value 3.
MSI (c) (D8:10) [09:02:41:002]: Destroying RemoteAPI object.
MSI (c) (D8:8C) [09:02:41:003]: Custom Action Manager thread ending.
here are the 2 spots where the errors are, return value 3
MSI (c) (D8!C0) [09:02:37:837]: Closing MSIHANDLE (26) of type 790541 for thread 3008
ERROR : [01/30/2012 09:02:37:837] [GatherAppPools ]: FAILED: -2147023281
ERROR : [01/30/2012 09:02:37:838] [GatherAppPools ]: Custom Action failed with code: '1615'
INFO : [01/30/2012 09:02:37:839] [GatherAppPools ]: Custom Action completed with return code: '1615'
MSI (c) (D8!C0) [09:02:37:840]: Closing MSIHANDLE (25) of type 790531 for thread 3008
CustomAction WEBCA_GatherAppPools returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (c) (D8:A8) [09:02:37:841]: Closing MSIHANDLE (24) of type 790542 for thread 2576
Action ended 9:02:37: WEBCA_GatherAppPools. Return value 3.
MSI (c) (D8:10) [09:02:37:842]: Doing action: FatalErrorForm
MSI (c) (D8:10) [09:02:37:842]: Note: 1: 2205 2: 3: ActionText
Action 9:02:37: FatalErrorForm.
Action start 9:02:37: FatalErrorForm.
MSI (c) (D8:10) [09:02:37:842]: Note: 1: 2235 2: 3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = 'FatalErrorForm'
MSI (c) (D8:34) [09:02:37:844]: Note: 1: 2205 2: 3: Error
MSI (c) (D8:34) [09:02:37:844]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2826
DEBUG: Error 2826: Control BannerBmp on dialog FatalErrorForm extends beyond the boundaries of the dialog to the right by 3 pixels
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2826. The arguments are: FatalErrorForm, BannerBmp, to the right
MSI (c) (D8:34) [09:02:37:846]: Note: 1: 2205 2: 3: Error
MSI (c) (D8:34) [09:02:37:846]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2898
Info 2898.For VsdDefaultUIFont.524F4245_5254_5341_4C45_534153783400 textstyle, the system created a 'MS Sans Serif' font, in 0 character set, of 13 pixels height.
MSI (c) (D8:34) [09:02:37:846]: Note: 1: 2205 2: 3: Error
MSI (c) (D8:34) [09:02:37:846]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2898
Info 2898.For VSI_MS_Sans_Serif13.0_0_0 textstyle, the system created a 'MS Sans Serif' font, in 0 character set, of 13 pixels height.
MSI (c) (D8:34) [09:02:37:847]: Note: 1: 2205 2: 3: Error
MSI (c) (D8:34) [09:02:37:847]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2898
Info 2898.For VSI_MS_Sans_Serif16.0_1_0 textstyle, the system created a 'MS Sans Serif' font, in 0 character set, of 20 pixels height.
MSI (c) (D8:34) [09:02:37:847]: Note: 1: 2205 2: 3: Error
MSI (c) (D8:34) [09:02:37:847]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2826
DEBUG: Error 2826: Control Line2 on dialog FatalErrorForm extends beyond the boundaries of the dialog to the right by 3 pixels
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2826. The arguments are: FatalErrorForm, Line2, to the right
MSI (c) (D8:34) [09:02:37:847]: Note: 1: 2205 2: 3: Error
MSI (c) (D8:34) [09:02:37:847]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2826
DEBUG: Error 2826: Control Line1 on dialog FatalErrorForm extends beyond the boundaries of the dialog to the right by 3 pixels
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2826. The arguments are: FatalErrorForm, Line1, to the right
Action 9:02:37: FatalErrorForm. Dialog created
MSI (c) (D8:3C) [09:02:37:852]: Note: 1: 2731 2: 0
Action ended 9:02:40: FatalErrorForm. Return value 1.
Action ended 9:02:40: INSTALL. Return value 3.
MSI (c) (D8:10) [09:02:41:002]: Destroying RemoteAPI object.
The WEBCA_GatherAppPools custom is failing with 1615 error code. The code translated to: SQL query syntax invalid or unsupported. There is a problem in the SQL syntax you use to insert items in the combo-box.

.msi Installer interrupted

I'm trying to run a ".msi" install file.
The installtion fails and I get an "Installer interrupted" error.
I ran the installation with logging and I got the following dump, any ideas?
Dump:
=== Verbose logging started: 16/08/2010 9:52:35 Build type: SHIP UNICODE 5.00.7600.00 Calling process: C:\Windows\system32\msiexec.exe ===
MSI (c) (80:44) [09:52:35:319]: Font created. Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg
MSI (c) (80:44) [09:52:35:319]: Font created. Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg
MSI (c) (80:9C) [09:52:35:326]: Resetting cached policy values
MSI (c) (80:9C) [09:52:35:326]: Machine policy value 'Debug' is 0
MSI (c) (80:9C) [09:52:35:326]: ******* RunEngine:
******* Product: D:\Release_1.0.0.0\ACC_PIP_UI.msi
******* Action:
******* CommandLine: **********
MSI (c) (80:9C) [09:52:35:332]: Machine policy value 'DisableUserInstalls' is 0
MSI (c) (80:9C) [09:52:35:348]: SOFTWARE RESTRICTION POLICY: Verifying package --> 'D:\Release_1.0.0.0\ACC_PIP_UI.msi' against software restriction policy
MSI (c) (80:9C) [09:52:35:348]: Note: 1: 2262 2: DigitalSignature 3: -2147287038
MSI (c) (80:9C) [09:52:35:348]: SOFTWARE RESTRICTION POLICY: D:\Release_1.0.0.0\ACC_PIP_UI.msi is not digitally signed
MSI (c) (80:9C) [09:52:35:349]: SOFTWARE RESTRICTION POLICY: D:\Release_1.0.0.0\ACC_PIP_UI.msi is permitted to run at the 'unrestricted' authorization level.
MSI (c) (80:9C) [09:52:35:354]: Cloaking enabled.
MSI (c) (80:9C) [09:52:35:354]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (80:9C) [09:52:35:357]: End dialog not enabled
MSI (c) (80:9C) [09:52:35:357]: Original package ==> D:\Release_1.0.0.0\ACC_PIP_UI.msi
MSI (c) (80:9C) [09:52:35:357]: Package we're running from ==> D:\Release_1.0.0.0\ACC_PIP_UI.msi
MSI (c) (80:9C) [09:52:35:359]: APPCOMPAT: Compatibility mode property overrides found.
MSI (c) (80:9C) [09:52:35:359]: APPCOMPAT: looking for appcompat database entry with ProductCode '{2C6452ED-8958-4F5E-B0FF-18B447D5A9AD}'.
MSI (c) (80:9C) [09:52:35:359]: APPCOMPAT: no matching ProductCode found in database.
MSI (c) (80:9C) [09:52:35:363]: MSCOREE not loaded loading copy from system32
MSI (c) (80:9C) [09:52:35:364]: Machine policy value 'TransformsSecure' is 0
MSI (c) (80:9C) [09:52:35:364]: User policy value 'TransformsAtSource' is 0
MSI (c) (80:9C) [09:52:35:364]: Note: 1: 2262 2: MsiFileHash 3: -2147287038
MSI (c) (80:9C) [09:52:35:364]: Machine policy value 'DisablePatch' is 0
MSI (c) (80:9C) [09:52:35:364]: Machine policy value 'AllowLockdownPatch' is 0
MSI (c) (80:9C) [09:52:35:365]: Machine policy value 'DisableLUAPatching' is 0
MSI (c) (80:9C) [09:52:35:365]: Machine policy value 'DisableFlyWeightPatching' is 0
MSI (c) (80:9C) [09:52:35:365]: Enabling baseline caching for this transaction since all active patches are MSI 3.0 style MSPs or at least one MSI 3.0 minor update patch is active
MSI (c) (80:9C) [09:52:35:365]: APPCOMPAT: looking for appcompat database entry with ProductCode '{2C6452ED-8958-4F5E-B0FF-18B447D5A9AD}'.
MSI (c) (80:9C) [09:52:35:365]: APPCOMPAT: no matching ProductCode found in database.
MSI (c) (80:9C) [09:52:35:365]: Transforms are not secure.
MSI (c) (80:9C) [09:52:35:365]: PROPERTY CHANGE: Adding MsiLogFileLocation property. Its value is 'D:\Release_1.0.0.0\Log.log'.
MSI (c) (80:9C) [09:52:35:365]: Command Line: CURRENTDIRECTORY=C:\Users\pc CLIENTUILEVEL=0 CLIENTPROCESSID=4480
MSI (c) (80:9C) [09:52:35:365]: PROPERTY CHANGE: Adding PackageCode property. Its value is '{7A1078CC-CD88-4782-B513-597A2B1EE8A1}'.
MSI (c) (80:9C) [09:52:35:365]: Product Code passed to Engine.Initialize: ''
MSI (c) (80:9C) [09:52:35:365]: Product Code from property table before transforms: '{2C6452ED-8958-4F5E-B0FF-18B447D5A9AD}'
MSI (c) (80:9C) [09:52:35:365]: Product Code from property table after transforms: '{2C6452ED-8958-4F5E-B0FF-18B447D5A9AD}'
MSI (c) (80:9C) [09:52:35:365]: Product not registered: beginning first-time install
MSI (c) (80:9C) [09:52:35:365]: PROPERTY CHANGE: Modifying ALLUSERS property. Its current value is '2'. Its new value: '1'.
MSI (c) (80:9C) [09:52:35:365]: PROPERTY CHANGE: Adding ProductState property. Its value is '-1'.
MSI (c) (80:9C) [09:52:35:365]: Entering CMsiConfigurationManager::SetLastUsedSource.
MSI (c) (80:9C) [09:52:35:365]: User policy value 'SearchOrder' is 'nmu'
MSI (c) (80:9C) [09:52:35:365]: Adding new sources is allowed.
MSI (c) (80:9C) [09:52:35:365]: PROPERTY CHANGE: Adding PackagecodeChanging property. Its value is '1'.
MSI (c) (80:9C) [09:52:35:365]: Package name extracted from package path: 'ACC_PIP_UI.msi'
MSI (c) (80:9C) [09:52:35:365]: Package to be registered: 'ACC_PIP_UI.msi'
MSI (c) (80:9C) [09:52:35:365]: Note: 1: 2262 2: Error 3: -2147287038
MSI (c) (80:9C) [09:52:35:366]: Note: 1: 2262 2: AdminProperties 3: -2147287038
MSI (c) (80:9C) [09:52:35:366]: Machine policy value 'DisableMsi' is 0
MSI (c) (80:9C) [09:52:35:366]: Machine policy value 'AlwaysInstallElevated' is 0
MSI (c) (80:9C) [09:52:35:366]: User policy value 'AlwaysInstallElevated' is 0
MSI (c) (80:9C) [09:52:35:366]: Product installation will be elevated because user is admin and product is being installed per-machine.
MSI (c) (80:9C) [09:52:35:366]: Running product '{2C6452ED-8958-4F5E-B0FF-18B447D5A9AD}' with elevated privileges: Product is assigned.
MSI (c) (80:9C) [09:52:35:366]: PROPERTY CHANGE: Adding CURRENTDIRECTORY property. Its value is 'C:\Users\pc'.
MSI (c) (80:9C) [09:52:35:366]: PROPERTY CHANGE: Adding CLIENTUILEVEL property. Its value is '0'.
MSI (c) (80:9C) [09:52:35:366]: PROPERTY CHANGE: Adding CLIENTPROCESSID property. Its value is '4480'.
MSI (c) (80:9C) [09:52:35:366]: TRANSFORMS property is now:
MSI (c) (80:9C) [09:52:35:366]: PROPERTY CHANGE: Adding VersionDatabase property. Its value is '200'.
MSI (c) (80:9C) [09:52:35:366]: SHELL32::SHGetFolderPath returned: C:\Users\pc\AppData\Roaming
MSI (c) (80:9C) [09:52:35:367]: SHELL32::SHGetFolderPath returned: C:\Users\pc\Favorites
MSI (c) (80:9C) [09:52:35:367]: SHELL32::SHGetFolderPath returned: C:\Users\pc\AppData\Roaming\Microsoft\Windows\Network Shortcuts
MSI (c) (80:9C) [09:52:35:367]: SHELL32::SHGetFolderPath returned: C:\Users\pc\Documents
MSI (c) (80:9C) [09:52:35:367]: SHELL32::SHGetFolderPath returned: C:\Users\pc\AppData\Roaming\Microsoft\Windows\Printer Shortcuts
MSI (c) (80:9C) [09:52:35:367]: SHELL32::SHGetFolderPath returned: C:\Users\pc\AppData\Roaming\Microsoft\Windows\Recent
MSI (c) (80:9C) [09:52:35:367]: SHELL32::SHGetFolderPath returned: C:\Users\pc\AppData\Roaming\Microsoft\Windows\SendTo
MSI (c) (80:9C) [09:52:35:368]: SHELL32::SHGetFolderPath returned: C:\Users\pc\AppData\Roaming\Microsoft\Windows\Templates
MSI (c) (80:9C) [09:52:35:368]: SHELL32::SHGetFolderPath returned: C:\ProgramData
MSI (c) (80:9C) [09:52:35:368]: SHELL32::SHGetFolderPath returned: C:\Users\pc\AppData\Local
MSI (c) (80:9C) [09:52:35:368]: SHELL32::SHGetFolderPath returned: C:\Users\pc\Pictures
MSI (c) (80:9C) [09:52:35:368]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools
MSI (c) (80:9C) [09:52:35:368]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
MSI (c) (80:9C) [09:52:35:369]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs
MSI (c) (80:9C) [09:52:35:369]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu
MSI (c) (80:9C) [09:52:35:369]: SHELL32::SHGetFolderPath returned: C:\Users\Public\Desktop
MSI (c) (80:9C) [09:52:35:369]: SHELL32::SHGetFolderPath returned: C:\Users\pc\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Administrative Tools
MSI (c) (80:9C) [09:52:35:369]: SHELL32::SHGetFolderPath returned: C:\Users\pc\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
MSI (c) (80:9C) [09:52:35:370]: SHELL32::SHGetFolderPath returned: C:\Users\pc\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
MSI (c) (80:9C) [09:52:35:370]: SHELL32::SHGetFolderPath returned: C:\Users\pc\AppData\Roaming\Microsoft\Windows\Start Menu
MSI (c) (80:9C) [09:52:35:370]: SHELL32::SHGetFolderPath returned: C:\Users\pc\Desktop
MSI (c) (80:9C) [09:52:35:370]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Templates
MSI (c) (80:9C) [09:52:35:370]: SHELL32::SHGetFolderPath returned: C:\Windows\Fonts
MSI (c) (80:9C) [09:52:35:371]: Note: 1: 2898 2: MS Sans Serif 3: MS Sans Serif 4: 0 5: 16
MSI (c) (80:9C) [09:52:35:375]: MSI_LUA: Setting MsiRunningElevated property to 1 because the install is already running elevated.
MSI (c) (80:9C) [09:52:35:375]: PROPERTY CHANGE: Adding MsiRunningElevated property. Its value is '1'.
MSI (c) (80:9C) [09:52:35:375]: PROPERTY CHANGE: Adding Privileged property. Its value is '1'.
MSI (c) (80:9C) [09:52:35:375]: PROPERTY CHANGE: Adding USERNAME property. Its value is 'Company User'.
MSI (c) (80:9C) [09:52:35:375]: PROPERTY CHANGE: Adding COMPANYNAME property. Its value is 'Company'.
MSI (c) (80:9C) [09:52:35:375]: PROPERTY CHANGE: Adding DATABASE property. Its value is 'D:\Release_1.0.0.0\ACC_PIP_UI.msi'.
MSI (c) (80:9C) [09:52:35:375]: PROPERTY CHANGE: Adding OriginalDatabase property. Its value is 'D:\Release_1.0.0.0\ACC_PIP_UI.msi'.
MSI (c) (80:9C) [09:52:35:375]: Machine policy value 'MsiDisableEmbeddedUI' is 0
MSI (c) (80:9C) [09:52:35:375]: PROPERTY CHANGE: Adding SourceDir property. Its value is 'D:\Release_1.0.0.0\'.
MSI (c) (80:9C) [09:52:35:375]: PROPERTY CHANGE: Adding SOURCEDIR property. Its value is 'D:\Release_1.0.0.0\'.
MSI (c) (80:44) [09:52:35:376]: PROPERTY CHANGE: Adding VersionHandler property. Its value is '5.00'.
=== Logging started: 16/08/2010 9:52:35 ===
MSI (c) (80:9C) [09:52:35:380]: Note: 1: 2262 2: PatchPackage 3: -2147287038
MSI (c) (80:9C) [09:52:35:380]: Machine policy value 'DisableRollback' is 0
MSI (c) (80:9C) [09:52:35:380]: User policy value 'DisableRollback' is 0
MSI (c) (80:9C) [09:52:35:380]: PROPERTY CHANGE: Adding UILevel property. Its value is '5'.
MSI (c) (80:9C) [09:52:35:380]: Note: 1: 2262 2: Font 3: -2147287038
MSI (c) (80:9C) [09:52:35:380]: PROPERTY CHANGE: Adding ACTION property. Its value is 'INSTALL'.
MSI (c) (80:9C) [09:52:35:380]: Doing action: INSTALL
MSI (c) (80:9C) [09:52:35:380]: Note: 1: 2262 2: ActionText 3: -2147287038
Action 9:52:35: INSTALL.
Action start 9:52:35: INSTALL.
MSI (c) (80:9C) [09:52:35:380]: UI Sequence table 'InstallUISequence' is present and populated.
MSI (c) (80:9C) [09:52:35:380]: Running UISequence
MSI (c) (80:9C) [09:52:35:380]: PROPERTY CHANGE: Adding EXECUTEACTION property. Its value is 'INSTALL'.
MSI (c) (80:9C) [09:52:35:380]: Skipping action: ERRCA_UIANDADVERTISED (condition is false)
MSI (c) (80:9C) [09:52:35:380]: Doing action: AppSearch
Action 9:52:35: AppSearch. Searching for installed applications
Action start 9:52:35: AppSearch.
AppSearch: Property: IISVERSION, Signature: __FED760E86860437FA0CD3CAE6961E7A4
MSI (c) (80:9C) [09:52:35:381]: Note: 1: 2262 2: Signature 3: -2147287038
MSI (c) (80:9C) [09:52:35:381]: Note: 1: 2262 2: CompLocator 3: -2147287038
MSI (c) (80:9C) [09:52:35:381]: PROPERTY CHANGE: Adding IISVERSION property. Its value is '#7'.
Action ended 9:52:35: AppSearch. Return value 1.
MSI (c) (80:9C) [09:52:35:381]: Doing action: FindRelatedProducts
Action 9:52:35: FindRelatedProducts. Searching for related applications
Action start 9:52:35: FindRelatedProducts.
Action ended 9:52:35: FindRelatedProducts. Return value 1.
MSI (c) (80:9C) [09:52:35:382]: Doing action: LaunchConditions
Action 9:52:35: LaunchConditions. Evaluating launch conditions
Action start 9:52:35: LaunchConditions.
Action ended 9:52:35: LaunchConditions. Return value 1.
MSI (c) (80:9C) [09:52:35:382]: Doing action: CCPSearch
Action 9:52:35: CCPSearch. Searching for qualifying products
Action start 9:52:35: CCPSearch.
MSI (c) (80:9C) [09:52:35:382]: Note: 1: 2262 2: CCPSearch 3: -2147287038
Action ended 9:52:35: CCPSearch. Return value 1.
MSI (c) (80:9C) [09:52:35:382]: Doing action: RMCCPSearch
Action 9:52:35: RMCCPSearch. Searching for qualifying products
Action start 9:52:35: RMCCPSearch.
MSI (c) (80:9C) [09:52:35:383]: Note: 1: 2262 2: CCPSearch 3: -2147287038
Action ended 9:52:35: RMCCPSearch. Return value 0.
MSI (c) (80:9C) [09:52:35:383]: Doing action: ValidateProductID
Action 9:52:35: ValidateProductID.
Action start 9:52:35: ValidateProductID.
Action ended 9:52:35: ValidateProductID. Return value 1.
MSI (c) (80:9C) [09:52:35:383]: Doing action: WEBCA_TARGETVDIR
Action 9:52:35: WEBCA_TARGETVDIR.
Action start 9:52:35: WEBCA_TARGETVDIR.
MSI (c) (80:9C) [09:52:35:383]: Note: 1: 2235 2: 3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = 'WEBCA_TARGETVDIR'
MSI (c) (80:9C) [09:52:35:383]: PROPERTY CHANGE: Adding TARGETVDIR property. Its value is 'Gesd.Lim.WebUISetup'.
Action ended 9:52:35: WEBCA_TARGETVDIR. Return value 1.
MSI (c) (80:9C) [09:52:35:383]: Doing action: WEBCA_SetTARGETSITE
Action 9:52:35: WEBCA_SetTARGETSITE.
Action start 9:52:35: WEBCA_SetTARGETSITE.
MSI (c) (80:9C) [09:52:35:383]: Note: 1: 2235 2: 3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = 'WEBCA_SetTARGETSITE'
MSI (c) (80:9C) [09:52:35:384]: Creating MSIHANDLE (1) of type 790542 for thread 2204
MSI (c) (80:98) [09:52:35:384]: Invoking remote custom action. DLL: C:\Users\pc\AppData\Local\Temp\MSI24FD.tmp, Entrypoint: SetTARGETSITE
MSI (c) (80:90) [09:52:35:385]: Cloaking enabled.
MSI (c) (80:90) [09:52:35:385]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (80:90) [09:52:35:386]: Connected to service for CA interface.
MSI (c) (80!DC) [09:52:35:425]: Creating MSIHANDLE (2) of type 790531 for thread 3548
INFO : [08/16/2010 09:52:35:426] [SetTARGETSITE ]: Custom Action is starting...
INFO : [08/16/2010 09:52:35:426] [SetTARGETSITE ]: CoInitializeEx - COM initialization Apartment Threaded...
ERROR : [08/16/2010 09:53:05:442] [SetTARGETSITE ]: FAILED: -2146959355
ERROR : [08/16/2010 09:53:05:442] [SetTARGETSITE ]: Custom Action failed with code: '5'
INFO : [08/16/2010 09:53:05:443] [SetTARGETSITE ]: Custom Action completed with return code: '5'
MSI (c) (80!DC) [09:53:05:443]: Closing MSIHANDLE (2) of type 790531 for thread 3548
CustomAction WEBCA_SetTARGETSITE returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (c) (80:98) [09:53:05:444]: Closing MSIHANDLE (1) of type 790542 for thread 2204
Action ended 9:53:05: WEBCA_SetTARGETSITE. Return value 3.
MSI (c) (80:9C) [09:53:05:445]: Doing action: FatalErrorForm
Action 9:53:05: FatalErrorForm.
Action start 9:53:05: FatalErrorForm.
MSI (c) (80:9C) [09:53:05:445]: Note: 1: 2235 2: 3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = 'FatalErrorForm'
MSI (c) (80:44) [09:53:05:447]: Note: 1: 2262 2: Error 3: -2147287038
Info 2898.For VSI_MS_Sans_Serif13.0_0_0 textstyle, the system created a 'MS Sans Serif' font, in 0 character set, of 13 pixels height.
MSI (c) (80:44) [09:53:05:447]: Note: 1: 2262 2: Error 3: -2147287038
DEBUG: Error 2826: Control Line1 on dialog FatalErrorForm extends beyond the boundaries of the dialog to the right by 3 pixels
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2826. The arguments are: FatalErrorForm, Line1, to the right
MSI (c) (80:44) [09:53:05:448]: Note: 1: 2262 2: Error 3: -2147287038
DEBUG: Error 2826: Control Line2 on dialog FatalErrorForm extends beyond the boundaries of the dialog to the right by 3 pixels
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2826. The arguments are: FatalErrorForm, Line2, to the right
MSI (c) (80:44) [09:53:05:449]: Note: 1: 2262 2: Error 3: -2147287038
DEBUG: Error 2826: Control BannerBmp on dialog FatalErrorForm extends beyond the boundaries of the dialog to the right by 3 pixels
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2826. The arguments are: FatalErrorForm, BannerBmp, to the right
MSI (c) (80:44) [09:53:05:450]: Note: 1: 2262 2: Error 3: -2147287038
Info 2898.For VsdDefaultUIFont.524F4245_5254_5341_4C45_534153783400 textstyle, the system created a 'MS Sans Serif' font, in 0 character set, of 13 pixels height.
MSI (c) (80:44) [09:53:05:451]: Note: 1: 2262 2: Error 3: -2147287038
Info 2898.For VSI_MS_Sans_Serif16.0_1_0 textstyle, the system created a 'MS Sans Serif' font, in 0 character set, of 20 pixels height.
Action 9:53:05: FatalErrorForm. Dialog created
MSI (c) (80:E8) [09:53:05:456]: Note: 1: 2731 2: 0
Action ended 9:53:09: FatalErrorForm. Return value 1.
Action ended 9:53:09: INSTALL. Return value 3.
MSI (c) (80:9C) [09:53:09:608]: Destroying RemoteAPI object.
MSI (c) (80:90) [09:53:09:609]: Custom Action Manager thread ending.
Property(C): UpgradeCode = {9D8EA393-2227-4319-BB67-EC4CDFB50F76}
Property(C): SourceDir = D:\Release_1.0.0.0\
Property(C): TARGETVDIR = Gesd.Lim.WebUISetup
Property(C): IISVERSION = #7
Property(C): ProductName = ACC PIP Website
Property(C): ProductCode = {2C6452ED-8958-4F5E-B0FF-18B447D5A9AD}
Property(C): ProductVersion = 1.0.0
Property(C): Manufacturer = Company Systems Ltd
Property(C): ARPCONTACT = Company Systems Ltd
Property(C): ARPCOMMENTS = ACC PIP Website
Property(C): ARPURLINFOABOUT = http://www.company.com
Property(C): ProductLanguage = 1033
Property(C): ALLUSERS = 1
Property(C): TARGETASPNETVERSION = 2.0.50727.0
Property(C): SecureCustomProperties = NEWERPRODUCTFOUND
Property(C): RedirectedDllSupport = 2
Property(C): VersionNT = 601
Property(C): VSDNETURLMSG = This setup requires the .NET Framework version [1]. Please install the .NET Framework and run this setup again. The .NET Framework can be obtained from the web. Would you like to do this now?
Property(C): VSDIISMSG = This setup requires Internet Information Server 4.0 or higher and Windows NT 4.0, Windows 2000 or higher. This setup cannot be installed on Windows 95, Windows 98, or Windows Me. Please install Internet Information Server and run this setup again.
Property(C): VSDUIANDADVERTISED = This advertised application will not be installed because it might be unsafe. Contact your administrator to change the installation user interface option of the package to basic.
Property(C): VSDNETMSG = This setup requires the .NET Framework version [1]. Please install the .NET Framework and run this setup again.
Property(C): VSDINVALIDURLMSG = The specified path '[2]' is unavailable. The Internet Information Server might not be running or the path exists and is redirected to another machine. Please check the status of this virtual directory in the Internet Services Manager.
Property(C): VSDVERSIONMSG = Unable to install because a newer version of this product is already installed.
Property(C): AdminMaintenanceForm_Action = Repair
Property(C): VsdAppPoolsCombo = TARGETAPPPOOL
Property(C): VsdSiteCombo = TARGETSITE
Property(C): ErrorDialog = ErrorDialog
Property(C): SFF_UpFldrBtn = UpFldrBtn
Property(C): SFF_NewFldrBtn = NewFldrBtn
Property(C): MaintenanceForm_Action = Repair
Property(C): DefaultUIFont = VsdDefaultUIFont.524F4245_5254_5341_4C45_534153783400
Property(C): WelcomeForm_NextArgs = WebFolderForm
Property(C): WebFolderForm_PrevArgs = WelcomeForm
Property(C): WebFolderForm_NextArgs = ConfirmInstallForm
Property(C): ConfirmInstallForm_PrevArgs = WebFolderForm
Property(C): AdminWelcomeForm_NextArgs = AdminWebFolderForm
Property(C): AdminWebFolderForm_PrevArgs = AdminWelcomeForm
Property(C): AdminWebFolderForm_NextArgs = AdminConfirmInstallForm
Property(C): AdminConfirmInstallForm_PrevArgs = AdminWebFolderForm
Property(C): MsiLogFileLocation = D:\Release_1.0.0.0\Log.log
Property(C): PackageCode = {7A1078CC-CD88-4782-B513-597A2B1EE8A1}
Property(C): ProductState = -1
Property(C): PackagecodeChanging = 1
Property(C): CURRENTDIRECTORY = C:\Users\pc
Property(C): CLIENTUILEVEL = 0
Property(C): CLIENTPROCESSID = 4480
Property(C): VersionDatabase = 200
Property(C): VersionMsi = 5.00
Property(C): WindowsBuild = 7600
Property(C): ServicePackLevel = 0
Property(C): ServicePackLevelMinor = 0
Property(C): MsiNTProductType = 1
Property(C): WindowsFolder = C:\Windows\
Property(C): WindowsVolume = C:\
Property(C): SystemFolder = C:\Windows\system32\
Property(C): System16Folder = C:\Windows\system\
Property(C): RemoteAdminTS = 1
Property(C): TempFolder = C:\Users\pc\AppData\Local\Temp\
Property(C): ProgramFilesFolder = C:\Program Files\
Property(C): CommonFilesFolder = C:\Program Files\Common Files\
Property(C): AppDataFolder = C:\Users\pc\AppData\Roaming\
Property(C): FavoritesFolder = C:\Users\pc\Favorites\
Property(C): NetHoodFolder = C:\Users\pc\AppData\Roaming\Microsoft\Windows\Network Shortcuts\
Property(C): PersonalFolder = C:\Users\pc\Documents\
Property(C): PrintHoodFolder = C:\Users\pc\AppData\Roaming\Microsoft\Windows\Printer Shortcuts\
Property(C): RecentFolder = C:\Users\pc\AppData\Roaming\Microsoft\Windows\Recent\
Property(C): SendToFolder = C:\Users\pc\AppData\Roaming\Microsoft\Windows\SendTo\
Property(C): TemplateFolder = C:\ProgramData\Microsoft\Windows\Templates\
Property(C): CommonAppDataFolder = C:\ProgramData\
Property(C): LocalAppDataFolder = C:\Users\pc\AppData\Local\
Property(C): MyPicturesFolder = C:\Users\pc\Pictures\
Property(C): AdminToolsFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\
Property(C): StartupFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\
Property(C): ProgramMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\
Property(C): StartMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu\
Property(C): DesktopFolder = C:\Users\Public\Desktop\
=Property(C): FontsFolder = C:\Windows\Fonts\
Property(C): GPTSupport = 1
Property(C): OLEAdvtSupport = 1
Property(C): ShellAdvtSupport = 1
Property(C): Intel = 6
Property(C): PhysicalMemory = 3579
Property(C): VirtualMemory = 6000
Property(C): AdminUser = 1
Property(C): MsiTrueAdminUser = 1
Property(C): LogonUser = PC
Property(C): UserSID = S-1-5-21-2101819216-1198022024-208953623-25719
Property(C): UserLanguageID = 5129
Property(C): ComputerName = PC
Property(C): SystemLanguageID = 5129
Property(C): ScreenX = 1680
Property(C): ScreenY = 1050
Property(C): CaptionHeight = 22
Property(C): BorderTop = 1
Property(C): BorderSide = 1
Property(C): TextHeight = 16
Property(C): TextInternalLeading = 3
Property(C): ColorBits = 32
Property(C): TTCSupport = 1
Property(C): Time = 9:53:09
Property(C): Date = 16/08/2010
Property(C): MsiNetAssemblySupport = 2.0.50727.4927
Property(C): MsiWin32AssemblySupport = 6.1.7600.16385
Property(C): MsiRunningElevated = 1
Property(C): Privileged = 1
Property(C): USERNAME = Company User
Property(C): COMPANYNAME = Company
Property(C): DATABASE = D:\Release_1.0.0.0\ACC_PIP_UI.msi
Property(C): OriginalDatabase = D:\Release_1.0.0.0\ACC_PIP_UI.msi
Property(C): SOURCEDIR = D:\Release_1.0.0.0\
Property(C): VersionHandler = 5.00
Property(C): UILevel = 5
Property(C): ACTION = INSTALL
Property(C): EXECUTEACTION = INSTALL
=== Logging stopped: 16/08/2010 9:53:09 ===
MSI (c) (80:9C) [09:53:09:616]: Note: 1: 1708
MSI (c) (80:9C) [09:53:09:616]: Note: 1: 2262 2: Error 3: -2147287038
MSI (c) (80:9C) [09:53:09:616]: Note: 1: 2262 2: Error 3: -2147287038
MSI (c) (80:9C) [09:53:09:616]: Product: ACC PIP Website -- Installation failed.
MSI (c) (80:9C) [09:53:09:617]: Windows Installer installed the product. Product Name: ACC PIP Website. Product Version: 1.0.0. Product Language: 1033. Manufacturer: Company Systems Ltd. Installation success or error status: 1603.
MSI (c) (80:9C) [09:53:09:618]: Grabbed execution mutex.
MSI (c) (80:9C) [09:53:09:618]: Cleaning up uninstalled install packages, if any exist
MSI (c) (80:9C) [09:53:09:620]: MainEngineThread is returning 1603
=== Verbose logging stopped: 16/08/2010 9:53:09 ===
ERROR : [08/16/2010 09:53:05:442] [SetTARGETSITE ]: FAILED: -2146959355
ERROR : [08/16/2010 09:53:05:442] [SetTARGETSITE ]: Custom Action failed with code: '5'
INFO : [08/16/2010 09:53:05:443] [SetTARGETSITE ]: Custom Action completed with return code: '5'
access denied - run the msi with administrative rights
Your WEBCA_SetTARGETSITE Custom Action failed. You might want to add some logging into your custom action functions to log out any exceptions. It looks like it's just bombing out at the minute.
...
MSI (c) (80:9C) [09:52:35:384]: Creating MSIHANDLE (1) of type 790542 for thread 2204
MSI (c) (80:98) [09:52:35:384]: Invoking remote custom action. DLL: C:\Users\pc\AppData\Local\Temp\MSI24FD.tmp, Entrypoint: SetTARGETSITE
...
MSI (c) (80!DC) [09:52:35:425]: Creating MSIHANDLE (2) of type 790531 for thread 3548
INFO : [08/16/2010 09:52:35:426] [SetTARGETSITE ]: Custom Action is starting...
INFO : [08/16/2010 09:52:35:426] [SetTARGETSITE ]: CoInitializeEx - COM initialization Apartment Threaded...
ERROR : [08/16/2010 09:53:05:442] [SetTARGETSITE ]: FAILED: -2146959355
ERROR : [08/16/2010 09:53:05:442] [SetTARGETSITE ]: Custom Action failed with code: '5'
INFO : [08/16/2010 09:53:05:443] [SetTARGETSITE ]: Custom Action completed with return code: '5'
MSI (c) (80!DC) [09:53:05:443]: Closing MSIHANDLE (2) of type 790531 for thread 3548
CustomAction WEBCA_SetTARGETSITE returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
...

Resources