Akom's Tech Ruminations

Various tech outbursts - code and solutions to practical problems

Jenkins Windows Slaves cannot install JDK Linux

Posted by Admin • Monday, October 12. 2015 • Category: DevOps, Linux

Despite making the jenkins slave user a local administrator. The slave runs tools\hudson.model.JDK\JDK_1.7\jdk.exe (or 1.6), and fails (see the extended post body for the log).

If you're seeing Error 1722.There is a problem with this Windows Installer package, then most likely you have another (newer?) version of this JDK installed system-wide. Uninstall from Control Panel, try again.

=== Logging started: 10/12/2015  12:40:31 ===
Action start 12:40:31: INSTALL.
Action start 12:40:31: AppSearch.
Action ended 12:40:31: AppSearch. Return value 1.
Action start 12:40:31: LaunchConditions.
Action ended 12:40:31: LaunchConditions. Return value 1.
Action start 12:40:31: FindRelatedProducts.
Action ended 12:40:31: FindRelatedProducts. Return value 0.
Action start 12:40:31: ValidateProductID.
Action ended 12:40:31: ValidateProductID. Return value 1.
Action start 12:40:31: setUserProfileNT.
Action ended 12:40:31: setUserProfileNT. Return value 1.
Action start 12:40:31: setAllUsersProfile2K.
Action ended 12:40:31: setAllUsersProfile2K. Return value 1.
Action start 12:40:31: CostInitialize.
Action ended 12:40:31: CostInitialize. Return value 1.
Action start 12:40:31: FileCost.
Action ended 12:40:31: FileCost. Return value 1.
Action start 12:40:31: IsolateComponents.
Action ended 12:40:31: IsolateComponents. Return value 1.
Action start 12:40:31: CostFinalize.
Action ended 12:40:31: CostFinalize. Return value 1.
Action start 12:40:31: SetARPReadme.
Action ended 12:40:31: SetARPReadme. Return value 1.
Action start 12:40:31: SetODBCFolders.
Action ended 12:40:31: SetODBCFolders. Return value 1.
Action start 12:40:31: MigrateFeatureStates.
Action ended 12:40:31: MigrateFeatureStates. Return value 0.
Action start 12:40:31: InstallValidate.
Action ended 12:40:32: InstallValidate. Return value 1.
Action start 12:40:32: RemoveExistingProducts.
Action ended 12:40:32: RemoveExistingProducts. Return value 0.
Action start 12:40:32: InstallInitialize.
Action ended 12:40:32: InstallInitialize. Return value 1.
Action start 12:40:32: ProcessComponents.
Action ended 12:40:32: ProcessComponents. Return value 1.
Action start 12:40:32: UnpublishComponents.
Action ended 12:40:32: UnpublishComponents. Return value 1.
Action start 12:40:32: MsiUnpublishAssemblies.
Action ended 12:40:32: MsiUnpublishAssemblies. Return value 1.
Action start 12:40:32: UnpublishFeatures.
Action ended 12:40:32: UnpublishFeatures. Return value 1.
Action start 12:40:32: StopServices.
Action ended 12:40:32: StopServices. Return value 1.
Action start 12:40:32: DeleteServices.
Action ended 12:40:32: DeleteServices. Return value 1.
Action start 12:40:32: UnregisterComPlus.
Action ended 12:40:32: UnregisterComPlus. Return value 1.
Action start 12:40:32: SelfUnregModules.
Action ended 12:40:32: SelfUnregModules. Return value 1.
Action start 12:40:32: UnregisterTypeLibraries.
Action ended 12:40:32: UnregisterTypeLibraries. Return value 1.
Action start 12:40:32: RemoveODBC.
Action ended 12:40:32: RemoveODBC. Return value 1.
Action start 12:40:32: RemoveRegistryValues.
Action ended 12:40:32: RemoveRegistryValues. Return value 1.
Action start 12:40:32: UnregisterClassInfo.
Action ended 12:40:32: UnregisterClassInfo. Return value 1.
Action start 12:40:32: UnregisterExtensionInfo.
Action ended 12:40:32: UnregisterExtensionInfo. Return value 1.
Action start 12:40:32: UnregisterProgIdInfo.
Action ended 12:40:32: UnregisterProgIdInfo. Return value 1.
Action start 12:40:32: UnregisterMIMEInfo.
Action ended 12:40:32: UnregisterMIMEInfo. Return value 1.
Action start 12:40:32: RemoveIniValues.
Action ended 12:40:32: RemoveIniValues. Return value 1.
Action start 12:40:32: RemoveShortcuts.
Action ended 12:40:32: RemoveShortcuts. Return value 1.
Action start 12:40:32: RemoveEnvironmentStrings.
Action ended 12:40:32: RemoveEnvironmentStrings. Return value 1.
Action start 12:40:32: RemoveDuplicateFiles.
Action ended 12:40:32: RemoveDuplicateFiles. Return value 1.
Action start 12:40:32: RemoveFiles.
Action ended 12:40:32: RemoveFiles. Return value 1.
Action start 12:40:32: RemoveFolders.
Action ended 12:40:32: RemoveFolders. Return value 1.
Action start 12:40:32: CreateFolders.
Action ended 12:40:32: CreateFolders. Return value 1.
Action start 12:40:32: MoveFiles.
Action ended 12:40:32: MoveFiles. Return value 1.
Action start 12:40:32: InstallFiles.
Action ended 12:40:32: InstallFiles. Return value 1.
Action start 12:40:32: PatchFiles.
Action ended 12:40:32: PatchFiles. Return value 1.
Action start 12:40:32: DuplicateFiles.
Action ended 12:40:32: DuplicateFiles. Return value 1.
Action start 12:40:32: BindImage.
Action ended 12:40:32: BindImage. Return value 1.
Action start 12:40:32: CreateShortcuts.
Action ended 12:40:32: CreateShortcuts. Return value 1.
Action start 12:40:32: RegisterClassInfo.
Action ended 12:40:32: RegisterClassInfo. Return value 1.
Action start 12:40:32: RegisterExtensionInfo.
Action ended 12:40:32: RegisterExtensionInfo. Return value 1.
Action start 12:40:32: RegisterProgIdInfo.
Action ended 12:40:32: RegisterProgIdInfo. Return value 1.
Action start 12:40:32: RegisterMIMEInfo.
Action ended 12:40:32: RegisterMIMEInfo. Return value 1.
Action start 12:40:32: WriteRegistryValues.
Action ended 12:40:32: WriteRegistryValues. Return value 1.
Action start 12:40:32: WriteIniValues.
Action ended 12:40:32: WriteIniValues. Return value 1.
Action start 12:40:32: WriteEnvironmentStrings.
Action ended 12:40:32: WriteEnvironmentStrings. Return value 1.
Action start 12:40:32: InstallODBC.
Action ended 12:40:32: InstallODBC. Return value 0.
Action start 12:40:32: RegisterTypeLibraries.
Action ended 12:40:32: RegisterTypeLibraries. Return value 1.
Action start 12:40:32: RegisterComPlus.
Action ended 12:40:32: RegisterComPlus. Return value 1.
Action start 12:40:32: InstallServices.
Action ended 12:40:32: InstallServices. Return value 1.
Action start 12:40:32: StartServices.
Action ended 12:40:32: StartServices. Return value 1.
Action start 12:40:32: SelfRegModules.
Action ended 12:40:32: SelfRegModules. Return value 1.
Action start 12:40:32: RegisterUser.
Action ended 12:40:32: RegisterUser. Return value 0.
Action start 12:40:32: RegisterProduct.
Action ended 12:40:32: RegisterProduct. Return value 1.
Action start 12:40:32: PublishComponents.
Action ended 12:40:32: PublishComponents. Return value 1.
Action start 12:40:32: MsiPublishAssemblies.
Action ended 12:40:32: MsiPublishAssemblies. Return value 1.
Action start 12:40:32: PublishFeatures.
Action ended 12:40:32: PublishFeatures. Return value 1.
Action start 12:40:32: PublishProduct.
Action ended 12:40:32: PublishProduct. Return value 1.
Action start 12:40:32: unziptools.
Action ended 12:40:32: unziptools. Return value 1.
Action start 12:40:32: preprogress1.
Action ended 12:40:32: preprogress1. Return value 1.
Action start 12:40:32: postprogress1.
Action ended 12:40:32: postprogress1. Return value 1.
Action start 12:40:32: charsets.
Action ended 12:40:32: charsets. Return value 1.
Action start 12:40:32: preprogress2.
Action ended 12:40:32: preprogress2. Return value 1.
Action start 12:40:32: postprogress2.
Action ended 12:40:32: postprogress2. Return value 1.
Action start 12:40:32: javaws.
Action ended 12:40:32: javaws. Return value 1.
Action start 12:40:32: deploy.
Action ended 12:40:32: deploy. Return value 1.
Action start 12:40:32: preprogress3.
Action ended 12:40:32: preprogress3. Return value 1.
Action start 12:40:32: postprogress3.
Action ended 12:40:32: postprogress3. Return value 1.
Action start 12:40:32: jaws.
Action ended 12:40:32: jaws. Return value 1.
Action start 12:40:32: preprogress4.
Action ended 12:40:32: preprogress4. Return value 1.
Action start 12:40:32: postprogress4.
Action ended 12:40:32: postprogress4. Return value 1.
Action start 12:40:32: jsse.
Action ended 12:40:32: jsse. Return value 1.
Action start 12:40:32: preprogress5.
Action ended 12:40:32: preprogress5. Return value 1.
Action start 12:40:32: postprogress5.
Action ended 12:40:32: postprogress5. Return value 1.
Action start 12:40:32: tools.
Action ended 12:40:32: tools. Return value 1.
Action start 12:40:32: preprogress6.
Action ended 12:40:32: preprogress6. Return value 1.
Action start 12:40:32: postprogress6.
Action ended 12:40:32: postprogress6. Return value 1.
Action start 12:40:32: rt.
Action ended 12:40:32: rt. Return value 1.
Action start 12:40:32: preprogress7.
Action ended 12:40:32: preprogress7. Return value 1.
Action start 12:40:32: postprogress7.
Action ended 12:40:32: postprogress7. Return value 1.
Action start 12:40:32: localedata.
Action ended 12:40:32: localedata. Return value 1.
Action start 12:40:32: preprogress8.
Action ended 12:40:32: preprogress8. Return value 1.
Action start 12:40:32: postprogress8.
Action ended 12:40:32: postprogress8. Return value 1.
Action start 12:40:32: jfxrt.
Action ended 12:40:32: jfxrt. Return value 1.
Action start 12:40:32: preprogress9.
Action ended 12:40:32: preprogress9. Return value 1.
Action start 12:40:32: postprogress9.
Action ended 12:40:32: postprogress9. Return value 1.
Action start 12:40:32: preprogress10.
Action ended 12:40:32: preprogress10. Return value 1.
Action start 12:40:32: postprogress10.
Action ended 12:40:32: postprogress10. Return value 1.
Action start 12:40:32: removepackfiles.
Action ended 12:40:32: removepackfiles. Return value 1.
Action start 12:40:32: preprogress12.
Action ended 12:40:32: preprogress12. Return value 1.
Action start 12:40:32: postprogress12.
Action ended 12:40:32: postprogress12. Return value 1.
Action start 12:40:32: InstallFinalize.
CustomAction charsets returned actual error code 3 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (s) (C0:D4) [12:40:35:453]: Product: Java SE Development Kit 7 Update 51 (64-bit) -- 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 charsets, location: C:\Program Files\Java\jdk1.7.0_51\jre\lib\, command: "C:\Program Files\Java\jdk1.7.0_51\jre\lib\\launcher.exe" "C:\Program Files\Java\jdk1.7.0_51\bin\\unpack200.exe" -r -v -l "" "C:\Program Files\Java\jdk1.7.0_51\\jre\lib\charsets.pack" "C:\Program Files\Java\jdk1.7.0_51\\jre\lib\charsets.jar" 

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 charsets, location: C:\Program Files\Java\jdk1.7.0_51\jre\lib\, command: "C:\Program Files\Java\jdk1.7.0_51\jre\lib\\launcher.exe" "C:\Program Files\Java\jdk1.7.0_51\bin\\unpack200.exe" -r -v -l "" "C:\Program Files\Java\jdk1.7.0_51\\jre\lib\charsets.pack" "C:\Program Files\Java\jdk1.7.0_51\\jre\lib\charsets.jar" 
Action ended 12:40:35: InstallFinalize. Return value 3.
Action ended 12:40:35: INSTALL. Return value 3.
MSI (s) (C0:D4) [12:40:35:563]: Product: Java SE Development Kit 7 Update 51 (64-bit) -- Configuration failed.

MSI (s) (C0:D4) [12:40:35:578]: Windows Installer reconfigured the product. Product Name: Java SE Development Kit 7 Update 51 (64-bit). Product Version: 1.7.0.510. Product Language: 1033. Manufacturer: Oracle. Reconfiguration success or error status: 1603.

=== Logging stopped: 10/12/2015  12:40:35 ===

0 Trackbacks

  1. No Trackbacks

0 Comments

Display comments as (Linear | Threaded)
  1. No comments

Add Comment


You can use [geshi lang=lang_name [,ln={y|n}]][/geshi] tags to embed source code snippets.
Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

What is the primary language of this blog? (Anti-SPAM question)


Submitted comments will be subject to moderation before being displayed.