Git Product home page Git Product logo

Comments (5)

savornicesei avatar savornicesei commented on July 17, 2024 1

@dten
You need to run the build.bat / build-all.bat and build-package.bat (.sh ones if you're running them on linux)

from cruisecontrol.net.

dten avatar dten commented on July 17, 2024

Ah thanks, that got further, nicely populated Dist directory now. Can't see how to actually call nsis properly though. i have tried

  • Copying cctray.nsi.template to cctray.nsi and replacing @Version@ with a version number
  • running Tools\NSIS\NSIS.exe install\cctray.nsi

but i'm just prompted with a white box, which is more than before :)

image

from cruisecontrol.net.

dten avatar dten commented on July 17, 2024

Oh sorry i realise i'm supposed to run makensis.exe but i get the following end of log

...
SetCompressor: lzma
!define: "MUI_ABORTWARNING"=""
!define: "MUI_ICON"="project\CCTrayLib\ResourceIcons\Green.ico"
!define: "MUI_UNICON"="project\CCTrayLib\ResourceIcons\Green.ico"
!define: "MUI_HEADERIMAGE"=""
!define: "MUI_HEADERIMAGE_BITMAP"="install\install_logo.bmp"
!define: "MUI_HEADERIMAGE_RIGHT"=""
!define: "MUI_COMPONENTSPAGE_SMALLDESC"=""
!insertmacro: MUI_PAGE_WELCOME
Error: File doesn't exist or is an invalid icon file
Error in macro MUI_INTERFACE on macroline 61
Error in macro MUI_PAGE_INIT on macroline 3
Error in macro MUI_PAGE_WELCOME on macroline 5
Error in script "install\ccnet.nsi" on line 34 -- aborting creation process```

from cruisecontrol.net.

dten avatar dten commented on July 17, 2024

tried updating nsis and get a clearer error.

...
SetCompressor: lzma
!define: "MUI_ABORTWARNING"=""
!define: "MUI_ICON"="project\CCTrayLib\ResourceIcons\Green.ico"
!define: "MUI_UNICON"="project\CCTrayLib\ResourceIcons\Green.ico"
!define: "MUI_HEADERIMAGE"=""
!define: "MUI_HEADERIMAGE_BITMAP"="install\install_logo.bmp"
!define: "MUI_HEADERIMAGE_RIGHT"=""
!define: "MUI_COMPONENTSPAGE_SMALLDESC"=""
!insertmacro: MUI_PAGE_WELCOME
Error while loading icon from "project\CCTrayLib\ResourceIcons\Green.ico": can't open file
Error in macro MUI_INTERFACE on macroline 64
Error in macro MUI_PAGE_INIT on macroline 2
Error in macro MUI_PAGE_WELCOME on macroline 5
Error in script "..\..\install\cctray.nsi" on line 35 -- aborting creation process

which lead me to beleive it wants some relative path.

moved cctray.nsi to the root directory and it worked 👍

from cruisecontrol.net.

savornicesei avatar savornicesei commented on July 17, 2024

@dten I'm glad that you've sorted it out.

The build-package.bat should have created the installer. See target 'packageCCTray' in /Tools/ccnet-packaging.inc.build that's included in the main ccnet.build script.

from cruisecontrol.net.

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.