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

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!

Related

MSI InstallFinalize ARP removal condition

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/

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.

How to resolve "two assemblies with same name"

I have an application which uses version 8.0.50727.5592 of the CRT. One of the dependent libraries uses version 8.0.50727.762. When I run the application on a machine with version 8.0.50727.4940 installed, I get a "side-by-side configuration is incorrect" error. Using sxstrace, I get the following result:
=================
Begin Activation Context Generation.
Input Parameter:
Flags = 0
ProcessorArchitecture = AMD64
CultureFallBacks = en-US;en
ManifestPath = F:\Temp\Temp.exe
AssemblyDirectory = F:\Temp\
Application Config File = F:\Temp\Temp.exe.Config
-----------------
INFO: Parsing Application Config File F:\Temp\Temp.exe.Config.
INFO: Parsing Manifest File F:\Temp\Temp.exe.
INFO: Manifest Definition Identity is (null).
INFO: Reference: Microsoft.VC80.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.762"
INFO: Reference: Microsoft.VC80.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.5592"
INFO: Resolving reference Microsoft.VC80.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.762".
INFO: Resolving reference for ProcessorArchitecture amd64.
INFO: Resolving reference for culture Neutral.
INFO: Applying Binding Policy.
INFO: Find publisher policy at C:\Windows\WinSxS\manifests\amd64_policy.8.0.microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4940_none_09c03a53facd313f.manifest
INFO: Publisher Policy redirected assembly version.
INFO: Post policy assembly identity is Microsoft.VC80.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.4940".
INFO: Begin assembly probing.
INFO: Attempt to probe manifest at C:\Windows\WinSxS\manifests\amd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4940_none_88df89932faf0bf6.manifest.
INFO: Manifest found at C:\Windows\WinSxS\manifests\amd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4940_none_88df89932faf0bf6.manifest.
INFO: End assembly probing.
INFO: Resolving reference Microsoft.VC80.CRT.mui,language="*",processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.4940".
INFO: Resolving reference for ProcessorArchitecture amd64.
INFO: Resolving reference for culture en-US.
INFO: Applying Binding Policy.
INFO: No publisher policy found.
INFO: No binding policy redirect found.
INFO: Begin assembly probing.
INFO: Did not find the assembly in WinSxS.
INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_64\Microsoft.VC80.CRT.mui\8.0.50727.4940_en-US_1fc8b3b9a1e18e3b\Microsoft.VC80.CRT.mui.DLL.
INFO: Did not find manifest for culture en-US.
INFO: End assembly probing.
INFO: Resolving reference for culture en.
INFO: Applying Binding Policy.
INFO: No publisher policy found.
INFO: No binding policy redirect found.
INFO: Begin assembly probing.
INFO: Did not find the assembly in WinSxS.
INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_64\Microsoft.VC80.CRT.mui\8.0.50727.4940_en_1fc8b3b9a1e18e3b\Microsoft.VC80.CRT.mui.DLL.
INFO: Did not find manifest for culture en.
INFO: End assembly probing.
INFO: Resolving reference Microsoft.VC80.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.5592".
INFO: Resolving reference for ProcessorArchitecture amd64.
INFO: Resolving reference for culture Neutral.
INFO: Applying Binding Policy.
INFO: No binding policy redirect found.
INFO: Begin assembly probing.
INFO: Did not find the assembly in WinSxS.
INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_64\Microsoft.VC80.CRT\8.0.50727.5592__1fc8b3b9a1e18e3b\Microsoft.VC80.CRT.DLL.
INFO: Attempt to probe manifest at F:\Temp\Microsoft.VC80.CRT.DLL.
INFO: Attempt to probe manifest at F:\Temp\Microsoft.VC80.CRT.MANIFEST.
INFO: Attempt to probe manifest at F:\Temp\Microsoft.VC80.CRT\Microsoft.VC80.CRT.DLL.
INFO: Attempt to probe manifest at F:\Temp\Microsoft.VC80.CRT\Microsoft.VC80.CRT.MANIFEST.
INFO: Manifest found at F:\Temp\Microsoft.VC80.CRT\Microsoft.VC80.CRT.MANIFEST.
INFO: End assembly probing.
ERROR: Two assemblies have the same assembly name with different version. Assembly 1: F:\Temp\Microsoft.VC80.CRT\Microsoft.VC80.CRT.MANIFEST. Assembly 2: INFO: Manifest found at F:\Temp\Microsoft.VC80.CRT\Microsoft.VC80.CRT.MANIFEST..
ERROR: Activation Context generation failed.
End Activation Context Generation.
To me, it looks like the dependence on version 762 is being "upgraded" to version 4940, whereas the dependence on 5592 obviously cannot be.
I've copied the "Microsoft.VC80.CRT" folder, containing version 5592 of the CRT, into my application folder (i.e., deploying the assemblies as private assemblies). The seems to be recognized at the end, where sxstrace says:
INFO: Manifest found at F:\Temp\Microsoft.VC80.CRT\Microsoft.VC80.CRT.MANIFEST.
Alas, for some reason this is not seen when the reference to version 762 is resolved. How can I force the reference to version 762 to point to version 5592, which is distributed with my application?
Am I wrong about what I think the problem is?
Thanks for your help!
The machine is simply missing the version of the DLL that your application needs. There's little point in trying to work around that, it's not going to come to a good end. Just deploy the .5592 revision of the CRT library. That version will include a policy that redirects .792 to .5592 so everybody is using the same DLL.

.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