There is a strong name validation failure when I install the prerelease HLK controller.
(21301.1000.210123-1645.rs_prerelease_amd64fre_HLK.iso)
Error log:
MSI (s) (8C:BC) [18:23:51:383]: Note: 1: 1708 MSI (s) (8C:BC)
[18:23:51:383]: Product: HLK Strong Name PreCondition Check --
Installation failed.
MSI (s) (8C:BC) [18:23:51:399]: Windows Installer installed the
product. Product Name: HLK Strong Name PreCondition Check. Product
Version: 10.1.21301.1000. Product Language: 1033. Manufacturer:
Microsoft Corporation. Installation success or error status: 1603.
MSI (s) (8C:BC) [18:23:51:399]: Deferring clean up of packages/files,
if any exist MSI (s) (8C:BC) [18:23:51:399]: MainEngineThread is
returning 1603 MSI (s) (8C:80) [18:23:51:399]: RESTART MANAGER:
Session closed. MSI (s) (8C:80) [18:23:51:399]: No System Restore
sequence number for this installation.
Run commands as Administrator.
Following steps to manually clear and add workable registry value
reg DELETE "HKLM\Software\Microsoft\StrongName\Verification" /f
reg ADD "HKLM\Software\Microsoft\StrongName\Verification\*,*" /f
reg DELETE "HKLM\Software\Wow6432Node\Microsoft\StrongName\Verification" /f
reg ADD "HKLM\Software\Wow6432Node\Microsoft\StrongName\Verification\*,*" /f
Related
My Wix toolset installer installs many files, but only one of these I would like to register for COM interop. I have tried the heat automatic registration but can't get it to work, so am falling back to what I used to do in installshield which is run a custom action at the end of installation to register using regasm.
This is failing for reasons I don't understand.
My Product.wxs file registers the action as follows:
<InstallExecuteSequence>
<Custom Action="RegisterAddIn" After="InstallFiles">NOT REMOVE</Custom>
</InstallExecuteSequence>
Then creates the action here:
<Fragment>
<CustomAction Id ="RegisterAddIn" Directory ="INSTALLFOLDER" Execute="immediate" ExeCommand="[WindowsFolder]Microsoft.NET\Framework\v4.0.30319\regasm /codebase /tlb "[INSTALLFOLDER]Aeolus.Excel.Addin.dll"" Return ="check"/>
</Fragment>
On running this installer I get the error
"A program run as part of setup did not finish as expected."
Extract from the msiexec log doesn't shown below.
CustomAction RegisterAddIn returned actual error code 100 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (s) (54:38) [12:40:54:765]: Note: 1: 1722 2: RegisterAddIn 3: C:\Program Files (x86)\Aeolus\ 4: C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\regasm /codebase /tlb "C:\Program Files (x86)\Aeolus\Aeolus.Excel.Addin.dll"
MSI (s) (54:38) [12:40:54:765]: Note: 1: 2205 2: 3: Error
MSI (s) (54:38) [12:40:54:765]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1722
Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action RegisterAddIn, location: C:\Program Files (x86)\Aeolus\, command: C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\regasm /codebase /tlb "C:\Program Files (x86)\Aeolus\Aeolus.Excel.Addin.dll"
MSI (s) (54:38) [12:40:56:746]: Note: 1: 2205 2: 3: Error
MSI (s) (54:38) [12:40:56:746]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709
MSI (s) (54:38) [12:40:56:746]: Product: Aeolus -- Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action RegisterAddIn, location: C:\Program Files (x86)\Aeolus\, command: C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\regasm /codebase /tlb "C:\Program Files (x86)\Aeolus\Aeolus.Excel.Addin.dll"
Editing the .msi file with Orca, I have this entry in the table which looks correct to me:
[WindowsFolder]Microsoft.NET\Framework\v4.0.30319\regasm /codebase /tlb "[INSTALLFOLDER]Aeolus.Excel.Addin.dll"
If I remove these custom actions, run my installer, then run this in a command prompt (run as administrator):
%WINDIR%\Microsoft.NET\Framework\v4.0.30319\regasm /codebase /tlb "C:\Program Files (x86)\Aeolus\Aeolus.Excel.Addin.dll"
It registers fine. if not run as administrator it fails of course. Can I assume any custom actions will be run as administrator?
In case anyone else has similar issues, I managed to fix it. It turned out to be a permission issue. I was assuming that the installer and all custom actions ran as administrator but actually you have to tell it to run at that level of permission.
So I needed to make 3 fixes.
1. Request elevated permission in package definintion:
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" InstallPrivileges="elevated" AdminImage="yes"/>
Set "Execute" to "deferred" and "Impersonate" to "no" in custom action definition:
<CustomAction Id ="RegisterAddIn" Directory ="INSTALLFOLDER" Execute="deferred" ExeCommand="[WindowsFolder]Microsoft.NET\Framework\v4.0.30319\regasm /codebase /tlb "[INSTALLFOLDER]Aeolus.Excel.Addin.dll"" Return ="check" Impersonate="no"/>
Then it all runs as expected.
When install DotNet Core on my windows 10 laptop(DotNetCore.1.0.0.RC2-VS2015Tools.Preview1),the runtime package setup failed.
I found some error information from the install log file:
web developer tool info:
[037C:1EC0][2016-06-19T11:07:26]e000: Error 0x80070643: Failed to install MSI package.
[037C:1EC0][2016-06-19T11:07:26]e000: Error 0x80070643: Failed to execute MSI package.
[2E70:3228][2016-06-19T11:07:26]e000: Error 0x80070643: Failed to configure per-machine MSI package.
[2E70:3228][2016-06-19T11:07:26]i319: Applied execute package: WebToolsExtensionsVS14, result: 0x80070643, restart: None
[2E70:3228][2016-06-19T11:07:26]e000: Error 0x80070643: Failed to execute MSI package.
[037C:1EC0][2016-06-19T11:07:26]i318: Skipped rollback of package: WebToolsExtensionsVS14, action: Uninstall, already: Absent
[2E70:3228][2016-06-19T11:07:26]i319: Applied rollback package: WebToolsExtensionsVS14, result: 0x0, restart: None
[037C:1EC0][2016-06-19T11:07:26]i351: Removing cached package: WebToolsExtensionsVS14, from path: C:\ProgramData\Package Cache\{1F275091-F18D-37F3-8A70-8E6CE66BB1A8}v14.1.20512.0\
[037C:1EC0][2016-06-19T11:07:26]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{22041006-8484-4b8d-a13c-40189695de2f}, resume: ARP, restart: None, disable resume: No
[037C:1EC0][2016-06-19T11:07:26]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{22041006-8484-4b8d-a13c-40189695de2f}, resume: ARP, restart initiated: No, disable resume: No
[2E70:3228][2016-06-19T11:07:26]i399: Apply complete, result: 0x80070643, restart: None, ba requested restart: No
Another Solution is to:
go to the folder where you have downloaded the installer
open the command prompt by Shift+right click -> Open command window here
Type - dotnetcore.1.0.0-vs2015tools.preview2 SKIP_VSU_CHECK=1 and hit enter
This should skip the VS update check and start the installation normally.
I was able to fix this issue by
turning off Antivirus
clearing the %temp% folder
running the DotNet Core (DotNetCore.1.0.0.RC2-VS2015Tools.Preview1) again in repair mode
After applying the other answers here the install was still failing for me. Periodically during the install, a pop-up warning dialog would open stating "The account already exists". I reviewed the Programs and Features list and saw 3 different entries for the VS2015Tools preview. I right-click Uninstall'ed each of them (which removed each one almost immediately), and tried the install again. This time it completed without errors.
I'm trying to install IBM Connections 4.5 on Oracle 11.2, but I'm having a problem with only 'Content Manager'. After Install process, the IBM Installation Manager appears this summary:
Install results :
CLFRP0038E: IBM Connections Content Manager failed to be configured on WebSphere Application Server. Error Step : Step "action-config-ce-ccm"
** One or more components failed installation. Please review. **
And in ConfigTrace log file appear this error:
config-ce-applicationserver-xml-config:
Target finished: config-ce-applicationserver-xml-config
Target started: config-ce-configurebootstrap-xml-config
c
Target finished: c
[echo] ... generating CCM Content Engine profile completed
[echo] Running Content Engine configuration tasks
[exec] There was an error executing the Configure GCD JDBC Data Sources task.
[exec] Running the task failed with the following message: The data source configuration failed:
[exec] WASX7209I: Connected to process "dmgr" on node svconnectionsCellManager01 using SOAP connector; The type of process is: DeploymentManager
[exec] testing Database connection
[exec] WASX7017E: Exception received while running file "E:/IBM/Connections/addons/ccm/ContentEngine/tools/configure/tmp/configurejdbcgcd.tcl"; exception information: javax.management.MBeanException
[exec] c: DSRA8000E: Java archive (JAR) or compressed files do not exist in the path or the required access is not allowed. Path: E:/app/Administrator/product/11.2.0/dbhome_1/jdbc/lib/ojdbc6.jar
The 'ojdbc6.jar' exist on the path, but the application report this error.
What can be this question?
Thanks
Can you confirm that KSH is installed? I have seen these errors on linux systems if the korne shell is not installed on the system. It is documented that CCM requires KSH but most people miss that part of the requirements.
I'm trying to install a .NET 3.5 web application I on a Win 2003 server with IIS6. The application installed fine a few versions ago and the old msi still works. As far as I know nothing has changed with the installer apart from a version number, one more dll in the application and the ProductCode of the setup project. However, the latest msi stops with the message:
The installer was interrupted before <ApplicationName> could be
installed. You need to restart the installer to try again.
The log contains this error:
MSI (c) (B8:0C) [23:12:38:964]: Doing action: WEBCA_GatherAppPools
MSI (c) (B8:0C) [23:12:38:964]: Note: 1: 2205 2: 3: ActionText
Action start 23:12:38: WEBCA_GatherAppPools.
MSI (c) (B8:0C) [23:12:38:964]: Note: 1: 2235 2: 3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = 'WEBCA_GatherAppPools'
MSI (c) (B8:88) [23:12:38:995]: Invoking remote custom action. DLL: C:\DOCUME~1\had012SA\LOCALS~1\Temp\1\MSIA0.tmp, Entrypoint: GatherAppPools
INFO : [10/14/2011 23:12:39:042] [GatherAppPools ]: Custom Action is starting...
INFO : [10/14/2011 23:12:39:042] [GatherAppPools ]: CoInitializeEx - COM initialization Apartment Threaded...
MSI (c) (B8!84) [23:12:39:042]: Note: 1: 2205 2: 3: ComboBox
MSI (c) (B8!84) [23:12:39:042]: Note: 1: 2228 2: 3: ComboBox 4: INSERT INTO `ComboBox` (`Property`,`Order`,`Value`,`Text`) VALUES (?, ?, ?, ?) TEMPORARY
ERROR : [10/14/2011 23:12:39:042] [GatherAppPools ]: FAILED: -2147023281
ERROR : [10/14/2011 23:12:39:042] [GatherAppPools ]: Custom Action failed with code: '1615'
INFO : [10/14/2011 23:12:39:042] [GatherAppPools ]: Custom Action completed with return code: '1615'
Action ended 23:12:39: WEBCA_GatherAppPools. Return value 3.
This page says error 1615 is an SQL syntax error but the action is a standard MS action so I can't do much about. Does anyone have any idea how to fix this?
Thanks.
UPDATE: I've tried creating a new web app in Visual Studio 2008 and a setup project for it and that installer does not work either so I suspect it's something with my Visual Studio. I can't think of what though so I still need help...
UPDATE 2: Curiouser and curiouser... a colleague compiled the code without making any changes and the installer works. Now the question becomes what has happened to my VS2008 and how can I fix it?
could be a change in the projects database structure.
Possibly you have a database with an older version of the Combobox table from previous versions.
Try deleting the db before preforming a clean install of the application.
I'm writing some CustomActions in WiX to migrate a web.config from IIS6 to IIS7 and am getting an error. However if I copy and paste the failing command from the install log file, it succeeds. Here's section of the log file that indicates the error. You'll see the first two appcmds succeed but the last migration command fails.
Action 10:43:52: UnlockModulesCmd.
Action start 10:43:52: UnlockModulesCmd.
MSI (s) (80:44) [10:43:52:631]: PROPERTY CHANGE: Adding QtExecCmdLine property. Its value is '"C:\Windows\system32\inetsrv\appcmd" unlock config -section:system.webServer/modules'.
Action ended 10:43:52: UnlockModulesCmd. Return value 1.
MSI (s) (80:44) [10:43:52:641]: Doing action: UnlockModules
Action 10:43:52: UnlockModules. Migrating to IIS7
Action start 10:43:52: UnlockModules.
MSI (s) (80:44) [10:43:52:691]: Creating MSIHANDLE (834) of type 790542 for thread 2116
MSI (s) (80:B8) [10:43:52:691]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI72FF.tmp, Entrypoint: CAQuietExec
MSI (s) (80!7C) [10:43:52:771]: Creating MSIHANDLE (835) of type 790541 for thread 892
MSI (s) (80!7C) [10:43:52:771]: Creating MSIHANDLE (836) of type 790531 for thread 892
MSI (s) (80!7C) [10:43:52:781]: Closing MSIHANDLE (836) of type 790531 for thread 892
MSI (s) (80!7C) [10:43:52:781]: PROPERTY CHANGE: Deleting QtExecCmdLine property. Its current value is '"C:\Windows\system32\inetsrv\appcmd" unlock config -section:system.webServer/modules'.
MSI (s) (80!7C) [10:43:53:752]: Creating MSIHANDLE (837) of type 790531 for thread 892
CAQuietExec: Unlocked section "system.webServer/modules" at configuration path "MACHINE/WEBROOT/APPHOST".
MSI (s) (80!7C) [10:43:53:762]: Closing MSIHANDLE (837) of type 790531 for thread 892
MSI (s) (80!7C) [10:43:53:762]: Closing MSIHANDLE (835) of type 790541 for thread 892
MSI (s) (80:B8) [10:43:53:762]: Closing MSIHANDLE (834) of type 790542 for thread 2116
Action ended 10:43:53: UnlockModules. Return value 1.
MSI (s) (80:44) [10:43:53:772]: Doing action: UnlockHandlersCmd
Action 10:43:53: UnlockHandlersCmd.
Action start 10:43:53: UnlockHandlersCmd.
MSI (s) (80:44) [10:43:53:792]: PROPERTY CHANGE: Adding QtExecCmdLine property. Its value is '"C:\Windows\system32\inetsrv\appcmd" unlock config -section:system.webServer/handlers'.
Action ended 10:43:53: UnlockHandlersCmd. Return value 1.
MSI (s) (80:44) [10:43:53:792]: Doing action: UnlockHandlers
Action 10:43:53: UnlockHandlers. Migrating to IIS7
Action start 10:43:53: UnlockHandlers.
MSI (s) (80:44) [10:43:53:862]: Creating MSIHANDLE (838) of type 790542 for thread 2116
MSI (s) (80:08) [10:43:53:862]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI7780.tmp, Entrypoint: CAQuietExec
MSI (s) (80!60) [10:43:54:123]: Creating MSIHANDLE (839) of type 790541 for thread 2144
MSI (s) (80!60) [10:43:54:123]: Creating MSIHANDLE (840) of type 790531 for thread 2144
MSI (s) (80!60) [10:43:54:123]: Closing MSIHANDLE (840) of type 790531 for thread 2144
MSI (s) (80!60) [10:43:54:133]: PROPERTY CHANGE: Deleting QtExecCmdLine property. Its current value is '"C:\Windows\system32\inetsrv\appcmd" unlock config -section:system.webServer/handlers'.
MSI (s) (80!60) [10:43:54:493]: Creating MSIHANDLE (841) of type 790531 for thread 2144
CAQuietExec: Unlocked section "system.webServer/handlers" at configuration path "MACHINE/WEBROOT/APPHOST".
MSI (s) (80!60) [10:43:54:503]: Closing MSIHANDLE (841) of type 790531 for thread 2144
MSI (s) (80!60) [10:43:54:503]: Closing MSIHANDLE (839) of type 790541 for thread 2144
MSI (s) (80:08) [10:43:54:513]: Closing MSIHANDLE (838) of type 790542 for thread 2116
Action ended 10:43:54: UnlockHandlers. Return value 1.
MSI (s) (80:44) [10:43:54:634]: Doing action: MigrateIIS7Cmd
Action 10:43:54: MigrateIIS7Cmd.
Action start 10:43:54: MigrateIIS7Cmd.
MSI (s) (80:44) [10:43:54:644]: PROPERTY CHANGE: Adding QtExecCmdLine property. Its value is '"C:\Windows\system32\inetsrv\appcmd" migrate config "Default Web Site/sdportal"'.
Action ended 10:43:54: MigrateIIS7Cmd. Return value 1.
MSI (s) (80:44) [10:43:54:654]: Doing action: MigrateIIS7
Action 10:43:54: MigrateIIS7. Migrating to IIS7
Action start 10:43:54: MigrateIIS7.
MSI (s) (80:44) [10:43:54:704]: Creating MSIHANDLE (842) of type 790542 for thread 2116
MSI (s) (80:E8) [10:43:54:704]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI7ADE.tmp, Entrypoint: CAQuietExec
MSI (s) (80!14) [10:43:54:714]: Creating MSIHANDLE (843) of type 790541 for thread 2068
MSI (s) (80!14) [10:43:54:724]: Creating MSIHANDLE (844) of type 790531 for thread 2068
MSI (s) (80!14) [10:43:54:724]: Closing MSIHANDLE (844) of type 790531 for thread 2068
MSI (s) (80!14) [10:43:54:724]: PROPERTY CHANGE: Deleting QtExecCmdLine property. Its current value is '"C:\Windows\system32\inetsrv\appcmd" migrate config "Default Web Site/sdportal"'.
MSI (s) (80!14) [10:43:55:755]: Creating MSIHANDLE (845) of type 790531 for thread 2068
CAQuietExec: Error 0x80070001: Command line returned an error.
MSI (s) (80!14) [10:43:55:765]: Closing MSIHANDLE (845) of type 790531 for thread 2068
MSI (s) (80!14) [10:43:55:765]: Creating MSIHANDLE (846) of type 790531 for thread 2068
CAQuietExec: Error 0x80070001: CAQuietExec Failed
MSI (s) (80!14) [10:43:55:775]: Closing MSIHANDLE (846) of type 790531 for thread 2068
MSI (s) (80!14) [10:43:55:775]: Closing MSIHANDLE (843) of type 790541 for thread 2068
MSI (s) (80:E8) [10:43:55:775]: Closing MSIHANDLE (842) of type 790542 for thread 2116
Action ended 10:43:55: MigrateIIS7. Return value 1.
Here's a follow up. I was able to get appcmd to work by requiring the installer be run as admin. Recently, I added an additional custom command which fails. Here's the relevant portion of the log. Note that the other appcmd.exe commands run fine. If I copy and past the failing appcmd from the log to a command line prompt, it works. Any thoughts?
MSI (s) (1C:B0) [15:56:46:510]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIB74D.tmp, Entrypoint: CAQuietExec
MSI (s) (1C!B8) [15:56:46:570]: PROPERTY CHANGE: Deleting QtExecCmdLine property. Its current value is '"C:\Windows\system32\inetsrv\appcmd" migrate config "Default Web Site/sdportal"'.
CAQuietExec: Error 0x80070001: Command line returned an error.
CAQuietExec: Error 0x80070001: CAQuietExec Failed
Action ended 15:56:47: MigrateIIS7. Return value 1.
MSI (s) (1C:14) [15:56:47:001]: Doing action: DisableRapidFailCmd
Action 15:56:47: DisableRapidFailCmd.
Action start 15:56:47: DisableRapidFailCmd.
MSI (s) (1C:14) [15:56:47:011]: PROPERTY CHANGE: Adding QtExecCmdLine property. Its value is '"C:\Windows\system32\inetsrv\appcmd" set apppool "WssAppPool" /failure.rapidFailProtection:false'.
Action ended 15:56:47: DisableRapidFailCmd. Return value 1.
MSI (s) (1C:14) [15:56:47:021]: Doing action: DisableRapidFail
Action 15:56:47: DisableRapidFail. Disabling Rapid Fail
Action start 15:56:47: DisableRapidFail.
MSI (s) (1C:30) [15:56:47:061]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIB988.tmp, Entrypoint: CAQuietExec
MSI (s) (1C!64) [15:56:47:141]: PROPERTY CHANGE: Deleting QtExecCmdLine property. Its current value is '"C:\Windows\system32\inetsrv\appcmd" set apppool "WssAppPool" /failure.rapidFailProtection:false'.
CAQuietExec: APPPOOL object "WssAppPool" changed
Action ended 15:56:47: DisableRapidFail. Return value 1.
MSI (s) (1C:14) [15:56:47:502]: Doing action: ConfigureAppPoolLoggingCmd
Action 15:56:47: ConfigureAppPoolLoggingCmd.
Action start 15:56:47: ConfigureAppPoolLoggingCmd.
MSI (s) (1C:14) [15:56:47:522]: PROPERTY CHANGE: Adding QtExecCmdLine property. Its value is '"C:\Windows\system32\inetsrv\appcmd" set config /section:applicationPools /[name='WssAppPool'].recycling.logEventOnRecycle:Memory,Schedule,Requests,Time,PrivateMemory'.
Action ended 15:56:47: ConfigureAppPoolLoggingCmd. Return value 1.
MSI (s) (1C:14) [15:56:47:522]: Doing action: ConfigureAppPoolLogging
Action 15:56:47: ConfigureAppPoolLogging. Configuring App Pool Logging
Action start 15:56:47: ConfigureAppPoolLogging.
MSI (s) (1C:C0) [15:56:47:562]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIBB7E.tmp, Entrypoint: CAQuietExec
MSI (s) (1C!A8) [15:56:47:602]: PROPERTY CHANGE: Deleting QtExecCmdLine property. Its current value is '"C:\Windows\system32\inetsrv\appcmd" set config /section:applicationPools /[name='WssAppPool'].recycling.logEventOnRecycle:Memory,Schedule,Requests,Time,PrivateMemory'.
CAQuietExec: ERROR ( message:Unknown attribute ".recycling.logEventOnRecycle". Replace with -? for help. )
CAQuietExec: Error 0x80070585: Command line returned an error.
CAQuietExec: Error 0x80070585: CAQuietExec Failed
First, you cannot use CAQuietExec even if UAC is disabled, since it will not run with the correct rights.
Simply execute the appcmd without using CAQuietExec.
Secondly, here is how to do it correctly:
http://esmithy.net/2010/07/02/iis-configuration-with-wix-and-appcmd/
Copy/paste in case the blog disappears:
<InstallExecuteSequence><Custom Action="ConfigureAppPools" Before="InstallFinalize"><![CDATA[NOT Installed AND VersionNT64 >= 600]]></Custom></InstallExecuteSequence>
<CustomAction Id="ConfigureAppPools" Execute="deferred" Impersonate="no" Return="check" Directory="TARGETDIR" ExeCommand="[SystemFolder]inetsrv\appcmd set apppool /apppool.name:"[APPPOOLNAME]" /enable32BitAppOnWin64:true" />
This is what I found on a wix-users mail archive. It seems to be very similar problem. Try to define the custom action the way Phil suggests.