[chef-dev] Omnibus and MSI-packages


Chronological Thread 
  • From: Anton Baranov < >
  • To:
  • Subject: [chef-dev] Omnibus and MSI-packages
  • Date: Tue, 6 Aug 2013 21:11:58 +0900

Hello all.

I have one question regarding compilation msi-packages with omnibus-ruby.

As i see, omnibus compiles msi with this command:

    def msi_command
      msi_command = ["light.exe",
                     "-nologo",
                     "-ext WixUIExtension",
                     "-cultures:en-us",
                     "-loc #{install_path}\\msi-tmp\\#{package_name}-en-us.wxl",
                     "#{install_path}\\msi-tmp\\#{package_name}-Files.wixobj",
                     "#{install_path}\\msi-tmp\\#{package_name}.wixobj",
                     "-out #{config.package_dir}\\#{output_package("msi")}"]

      # Don't care about the 204 return code from light.exe since it's
      # about some expected warnings...
      [msi_command.join(" "), {:returns => [0, 204]}]
    end


Could you talk, how i can redefine that and execute light.exe with some additional parameters?

I need to create some complicated msi-installer with help of your instrument, and i need ability to change parameters for light.exe.

--------------------------
With best regards, Anton Baranov.




Archive powered by MHonArc 2.6.16.

§