Giter Site home page Giter Site logo

windowsbuilder's Issues

Getting errors on build

I have been getting this error when trying to use WindowsBuilder. It used to work but doesn't now. I have re-downloaded WindowsBuilder, tried a new install.wim, and all of the built in bsd files, and still get this error. I am running in an administrator command prompt.

Importing helper modules...

  • PSJapson/Lizoc.PowerShell.Japson.dll
  • PSTemplate.psm1
  • WindowsBuilder/WindowsBuildHelper.psm1
    Importing default configuration
    Get-Member : You must specify an object for the Get-Member cmdlet.
    At C:\WindowsBuilder\tools\WindowsBuilder\WindowsBuilder.ps1:38 char:36
  • ... dEnv.registryMountPoint | Get-Member -MemberType NoteProperty | selec ...
  •                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : CloseError: (:) [Get-Member], InvalidOperationException
    • FullyQualifiedErrorId : NoObjectInGetMember,Microsoft.PowerShell.Commands.GetMemberCommand

Die : An unknown error has occured.
At C:\WindowsBuilder\tools\Builder\Builder.psm1:358 char:25

  •                     Die '' 'InvokeTaskError' -NoWill
    
  •                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (:) [Die], Exception
    • FullyQualifiedErrorId : InvokeTaskError,Die

Die : An unknown error has occured.
At C:\WindowsBuilder\tools\Builder\Builder.psm1:358 char:25

  •                     Die '' 'InvokeTaskError' -NoWill
    
  •                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (:) [Die], Exception
    • FullyQualifiedErrorId : InvokeTaskError,Die

Die : An unknown error has occured.
At C:\WindowsBuilder\tools\Builder\Builder.psm1:358 char:25

  •                     Die '' 'InvokeTaskError' -NoWill
    
  •                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (:) [Die], Exception
    • FullyQualifiedErrorId : InvokeTaskError,Die

[0450:51] Error: At C:\WindowsBuilder\tools\Builder\Builder.psm1:358 char:25 + Die '' 'InvokeTaskError' -NoWill + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [<<==>>] Exception: An unknown error has occured.

assert statement checks wrong property

src/Package/Install.ps1 contains this statement:

task Precheck {
    assert ($BuildEnv.themeColor) "The themeColor entry is empty or undefined."

It appears this statement has been copied from src/ThemeColor/Install.ps1 and has not been adopted properly. The assert statement should obviously reference the $BuildEnv.package property.

Missing files and functions are not accessible

Hello,

first of all my respect for this crazy project.
When everything is working fine it would be a great tool
for customizing the windows 10 installation media.

Due my testing i found some i think minor problems due missing functions.
Here a short description of my setup

Fresh computer with Win10 1709 and latest updates.
Did change nothing on default configuration.

Followed instructions from walkthrough
Start Building with: build Win10-1709

First error in module LockScreen:
Anylyzed module LockScreen and found out that a function is missing:
Grant-AdminFullFileAccess

During applying Theme the following files are missing:
Resource file not found: aero_pin.cur
Resource file not found: aero_person.cur
Resource file not found: aero_pin_l.cur
Resource file not found: aero_person_l.cur

Next error on module OEMLicense
cmdlet or function: Grant-AdminFullFileAccess is missing

In module Package i also found a missing function called:
Grant-AdminFullRegistryKeyAccess

In module TTS a function called
Grant-AdminFullFileAccess is missing

In module Wallpaper once again function
Grant-AdminFullFileAccess is missing

Afterwards i got no other errors and build process finished like desired.

i think when the missing theme files are copied to the resource folder and
the missing functions are embedded everything works like desired

Error on first command!

Hi. First off, thank you for this project. The potential for it is huge and will be a massive help to SysAdmins everywhere.

I'm currently trying to run this on a Win 10 Ent 64bit OS but it's failing at the first command (build configure).

I've followed the steps from the walkthrough but it's failing at the 3rd step in and I'm not sure what else to try at this point. Appreciate any help or advice you can give. Set-ExecutionPolicy is set to unrestricted and I'm running CMD as an admin.

c:\WindowsBuilder>build configure
Builder 3.1.1024.0
Copyright (c) 2018 Lizoc Inc. All rights reserved.

Precondition was false, not executing task: Help

+----------+
| Precheck |
+----------+

+-------+
| Setup |
+-------+
Importing helper modules...

  • PSJapson/Lizoc.PowerShell.Japson.dll
    [1251:11] Error: At C:\WindowsBuilder\tools\Builder\Builder.psm1:357 char:25 + Die $_ 'InvokeTaskError' -NoWill + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [<<==>>] Exception: Could not load file or assembly 'file:///C:\WindowsBuilder\tools\PSJapson\Lizoc.PowerShell.Japson.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)

c:\WindowsBuilder>

Fails randomly on different modules

When I try building just the sample configuration, I am getting the following on different modules:

[0723:54] Error: C:\WindowsBuilder\tools\Builder\Builder.psm1:357 char:25 + Die $_ 'InvokeTaskError' -NoWill + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [<<==>>] Exception: Cannot bind argument to parameter "Message" because it is an empty string.
I sort of worked around this by disabling most of the modules (tts, unprotect, lockscreen, wallpaper, etc.), but it still fails with driver injection (which is included in my other .bsd file).
What could be the issue here? Error message gives me no hints at all.

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.