Coder Social home page Coder Social logo

Comments (8)

Clarc1984 avatar Clarc1984 commented on June 8, 2024 1

I resolve it :) Error occur at powershell execution. When i try to manually execute generated code i got message that powershell is not recognize. I had to add system variables path to powershell folder and now everything is working. In case of future error i suggest add full path to files (powershell, rc etc.). Thanks for help.

from ribbonframework.

joachimmarder avatar joachimmarder commented on June 8, 2024

When i try to build or preview ribbon, text field on the button of
ribbondesigner.exe blink ones on red and nothing else happen.

Are you sure that no error message like "Cannot find UICC.exe." is added to the text field? Can you attach a screenshot please?

they don't detect automatically

Have you tried setting them explicitly at "File > Settings"?

Downloaded Windows SDK was for Windows 7.
Does path for uicc.exe should contain "Windows Kits\10"?

As far as I know the Win7 SDK normally does not contain "10" in the path. Sounds more like the Win10 SDK to me.

from ribbonframework.

Clarc1984 avatar Clarc1984 commented on June 8, 2024

Are you sure that no error message like "Cannot find UICC.exe." is added to the text field? Can you attach a screenshot please?

There is no error. I'm sending link to video.

Have you tried setting them explicitly at "File > Settings"?

I set it manually but no result.

As far as I know the Win7 SDK normally does not contain "10" in the path. Sounds more like the Win10 SDK to me.

I download and install SDK from link in ribbon designer. File (ISO) was describe as Windows 7 SDK but after installation it install as Windows Kits\10.

Link to video: https://drive.google.com/open?id=0B4kJognoLljVc0k3cmpRNzk2YXM

from ribbonframework.

joachimmarder avatar joachimmarder commented on June 8, 2024

Does it change anything if you use the new release V2.1.5?

Maybe there is an issue with PowerShell, which is used for building the ribbon. What happens if you execute "RibbonFramework\Samples\High Level\07 Text Pad with Action List\Ribbon\CompileRibbon.bat"?

from ribbonframework.

Clarc1984 avatar Clarc1984 commented on June 8, 2024

2.1.5 don't change anything BUT

  1. I recognize that SDK for Windows 7 was not install properly. I had to download SDK for x64 from this link
  2. To install SDK on Windows 10 i had to remove first MS Redistributable c++ 2010 x86/x64
  3. Then i try to execute script from Your post and start to repair errors
  4. There was problem with powershell - on Windows 10 / Serwer 2012 running scripts should be allowed first, instruction how to do this is on this site
  5. Then I had problem with Generate.Ribbon.Markup.pas.ps1, I had to add path for rc to system variables to run script without errors and get pas and res files
  6. Now script run manually is working but when I want to build/preview something with ribbondesigner I got same situation as before - red blink and nothing more

from ribbonframework.

joachimmarder avatar joachimmarder commented on June 8, 2024

I recognize that SDK for Windows 7 was not install properly.

You only need the files UICC.EXE and UICCDLL.DLL, which you can copy next to the RibbonDesigner.exe. Due to copyright restriction we cannot include the files in the archive.

There was problem with powershell - on Windows 10 / Serwer 2012 running scripts should be allowed first,

Indeed, in the .BAT-files the command line option -ExecutionPolicy Bypass was missing, which I have changed now.

I had to add path for rc to system variables to run script without errors and get pas and res files

RAD Studio installer typically takes care of that.

from ribbonframework.

joachimmarder avatar joachimmarder commented on June 8, 2024

Now script run manually is working but when I want to build/preview something with ribbondesigner I got same situation as before - red blink and nothing more

Sorry, I have no clue what could be going on. The RibbonDesginer is included in full source code and should compile without prerequisites on XE8. Please run in in the debugger and set a breakpoint at the beginning of the method TRibbonCompiler.Compile() in the unit "RibbonCompiler.pas". May you can find out what's going on and we can improve error handling based on your findings.

from ribbonframework.

joachimmarder avatar joachimmarder commented on June 8, 2024

Strange. I just mocked this situation and ended up with an error message in the log window. I have now improved the error message.

from ribbonframework.

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.