Uploaded image for project: 'Puppet Development Kit'
  1. Puppet Development Kit
  2. PDK-1468

Windows MSI installer fails with PDK 1.12.0



    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PDK 1.13.0
    • Component/s: None
    • Template:
    • Team:
      Puppet Developer Experience
    • Method Found:
      Needs Assessment
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Resolved an issue that prevented the PDK MSI (Windows) package from being installed on systems where legacy "8dot3" style file name creation is disabled.
    • QA Risk Assessment:
      Needs Assessment


      From https://github.com/puppetlabs/pdk/issues/721

      *Describe the bug*
      Tried to install the latest PDK for Windows. Using windows 10, latest stable release.

      The installation fails without much details. Tried to install with chocolatey, same story. Added debug log to a file, as suggested by chocolatey. It seems that the default installation path (ie. "C:\Program Files\Puppet Labs\DevelopmentKit" induces an issue during the installation where the installer tries to call an executable from the installation directory but the path contains a space and thus is fails and cancels the installation. I changed the install path (eg. removed the space in "Puppet Labs") and it worked.

      Here is what seems relevant in the 35KB log generated:

      MSI (s) (94:98) [16:25:10:235]: Generating random cookie.
      MSI (s) (94:98) [16:25:10:238]: Created Custom Action Server with PID 29640 (0x73C8).
      MSI (s) (94:70) [16:25:10:243]: Running as a service.
      MSI (s) (94:70) [16:25:10:243]: Hello, I'm your 64bit Elevated Non-remapped custom action server.
      1: InstallDir is C:\Program Files\Puppet Labs\DevelopmentKit\ 
      1: DEVKIT_BASEDIR is C:\PROGRA~1\Puppet Labs\DevelopmentKit 
      1: Ruby 2.4.5 has the PDK gem 
      1: DEVKIT_BASEDIR is C:\PROGRA~1\Puppet Labs\DevelopmentKit 
      1: RUBY_DIR is C:\PROGRA~1\Puppet Labs\DevelopmentKit\private\ruby\2.4.5 
      1: SSL_CERT_FILE is C:\PROGRA~1\Puppet Labs\DevelopmentKit\ssl\cert.pem 
      1: SSL_CERT_DIR is C:\PROGRA~1\Puppet Labs\DevelopmentKit\ssl\certs 
      1: Creating process level environment variables... 
      1: Executing Command : C:\WINDOWS\system32\cmd.exe /C C:\PROGRA~1\Puppet Labs\DevelopmentKit\private\ruby\2.4.5\bin\ruby.exe -S -- C:\PROGRA~1\Puppet Labs\DevelopmentKit\share\install-tarballs\extract_all.rb 
      1: 'C:\PROGRA~1\Puppet' n’est pas reconnu en tant que commande interne 
      1: ou externe, un programme exécutable ou un fichier de commandes. 
      MSI (s) (94!04) [16:25:10:367]: Note: 1: 2205 2:  3: Error 
      MSI (s) (94!04) [16:25:10:367]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709 
      MSI (s) (94!04) [16:25:10:367]: Product: Puppet Development Kit -- 1: Execution Failed With Code: 1 
      1: Execution Failed With Code: 1 
      MSI (s) (94!04) [16:25:10:367]: Note: 1: 2205 2:  3: Error 
      MSI (s) (94!04) [16:25:10:367]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709 
      MSI (s) (94!04) [16:25:10:367]: Product: Puppet Development Kit -- 1: Completed with error 
      1: Completed with error 
      MSI (s) (94:04) [16:25:10:367]: Note: 1: 2265 2:  3: -2147287035 
      MSI (s) (94:04) [16:25:10:367]: User policy value 'DisableRollback' is 0
      MSI (s) (94:04) [16:25:10:367]: Machine policy value 'DisableRollback' is 0
      Action ended 16:25:10: InstallFinalize. Return value 3.

      *To Reproduce*
      Install the PDK on windows with the MSI installer or Chocolatey and use default install location.

      *Expected behavior*
      Should install successfully, whether the install location contains spaces or not.

      *Additional context*

      • MSI installer or chocolatey (that uses the MSI installer anyway.
      • Your PDK version: 1.12.0
      • Your operating system / platform: Windows 10 (build 1903)




            glenn.sarti Glenn Sarti
            glenn.sarti Glenn Sarti
            0 Vote for this issue
            2 Start watching this issue



                Zendesk Support