Git Product home page Git Product logo

Comments (4)

carlpett avatar carlpett commented on May 27, 2024

Hi @frankie64!
The installer is built using the installer/build.ps1 script. You can use that to build it locally, and check the AppVeyor configuration for some notes on how it is called.
Alternatively, you can start wmi_exporter with a number of flags on the commandline to customize its behavior. Try wmi_exporter.exe -help to get a listing of the available flags.

Hope this helps!

from windows_exporter.

frankie64 avatar frankie64 commented on May 27, 2024

Hi Carl,

thx for quick answer. I try to create a wmi_exporter. the build.ps1 stop after a while mit errormessage: wmi_exporter.wxs(36) : error LGHT0103 : The system cannot find the file 'Work\wmi_exporter.exe'.
in folder installer\Work I found a folder not a file wmi_exporter.exe.

do you have an idea?
~Frank

from windows_exporter.

carlpett avatar carlpett commented on May 27, 2024

Hi,
Hm, that is odd. How did you invoke build.ps1? In our automated builds, we do this:
.\installer\build.ps1 -PathToExecutable .\wmi_exporter.exe -Version $Version -Arch amd64

This assumes that the PathToExecutable parameter points to an existing .exe file, which you get from your go build.

from windows_exporter.

frankie64 avatar frankie64 commented on May 27, 2024

Hi,

Sorry, I missunderstand the Paramter PathToExecutable. I give him only the Path ;-(

thx
Frank

from windows_exporter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.