• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Fog client build

Scheduled Pinned Locked Moved Solved
Bug Reports
2
14
738
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T
    tatanas
    last edited by Sep 23, 2021, 2:34 PM

    Hi,
    I would like to build my own debug fog client (printer installation problem) following the instructions of GitHub but i can’t get it to work.
    I don’t get the final .zip or .exe, just some files in the bin folder (no fogservice.exe, …)
    I’m using a Windows 7 computer (instructions are for Windows 7 OS).

    Are the instructions up to date ?

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Sep 27, 2021, 9:21 AM

      @tatanas Can you post the full output of the build process here in the forums?

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      T 1 Reply Last reply Sep 27, 2021, 10:28 AM Reply Quote 0
      • T
        tatanas @Sebastian Roth
        last edited by Sep 27, 2021, 10:28 AM

        @sebastian-roth Here is the output of build process :

        PS C:\fog-client> C:\fog-client\build.ps1
        Restoring Packages
        C:\fog-client\.nuget\NuGet.exe : Unable to find version '2.6.4' of package 'NUnit.Runners'.
        At line:1 char:1
        + C:\fog-client\.nuget\NuGet.exe restore
        + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            + CategoryInfo          : NotSpecified: (Unable to find ...NUnit.Runners'.:String) [], RemoteException
            + FullyQualifiedErrorId : NativeCommandError
         
        Cleaning Projects
        Microsoft (R) Build Engine, version 14.0.23107.0
        Copyright (C) Microsoft Corporation. Tous droits r‚serv‚s.
        
        Microsoft (R) Build Engine, version 14.0.23107.0
        Copyright (C) Microsoft Corporation. Tous droits r‚serv‚s.
        
        Microsoft (R) Build Engine, version 14.0.23107.0
        Copyright (C) Microsoft Corporation. Tous droits r‚serv‚s.
        
        Building Solution
        Copying Theme to build
        Zipping Build for installer
        Copy-Item : Cannot find path 'C:\fog-client\bin\EngineIoClientDotNet.dll' because it does not exist.
        At C:\fog-client\build.ps1:126 char:2
        +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\ ...
        +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            + CategoryInfo          : ObjectNotFound: (C:\fog-client\b...lientDotNet.dll:String) [Copy-Item], ItemNotFoundException
            + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
         
        Copy-Item : Cannot find path 'C:\fog-client\bin\FOGService.exe' because it does not exist.
        At C:\fog-client\build.ps1:126 char:2
        +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\ ...
        +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            + CategoryInfo          : ObjectNotFound: (C:\fog-client\bin\FOGService.exe:String) [Copy-Item], ItemNotFoundException
            + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
         
        Copy-Item : Cannot find path 'C:\fog-client\bin\FOGService.exe.config' because it does not exist.
        At C:\fog-client\build.ps1:126 char:2
        +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\ ...
        +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            + CategoryInfo          : ObjectNotFound: (C:\fog-client\bin\FOGService.exe.config:String) [Copy-Item], ItemNotFoundException
            + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
         
        Copy-Item : Cannot find path 'C:\fog-client\bin\FOGUserService.exe' because it does not exist.
        At C:\fog-client\build.ps1:126 char:2
        +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\ ...
        +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            + CategoryInfo          : ObjectNotFound: (C:\fog-client\bin\FOGUserService.exe:String) [Copy-Item], ItemNotFoundException
            + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
         
        Copy-Item : Cannot find path 'C:\fog-client\bin\FOGUserService.exe.config' because it does not exist.
        At C:\fog-client\build.ps1:126 char:2
        +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\ ...
        +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            + CategoryInfo          : ObjectNotFound: (C:\fog-client\b...vice.exe.config:String) [Copy-Item], ItemNotFoundException
            + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
         
        Copy-Item : Cannot find path 'C:\fog-client\bin\Modules.dll' because it does not exist.
        At C:\fog-client\build.ps1:126 char:2
        +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\ ...
        +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            + CategoryInfo          : ObjectNotFound: (C:\fog-client\bin\Modules.dll:String) [Copy-Item], ItemNotFoundException
            + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
         
        Copy-Item : Cannot find path 'C:\fog-client\bin\Modules.dll.config' because it does not exist.
        At C:\fog-client\build.ps1:126 char:2
        +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\ ...
        +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            + CategoryInfo          : ObjectNotFound: (C:\fog-client\bin\Modules.dll.config:String) [Copy-Item], ItemNotFoundException
            + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
         
        Copy-Item : Cannot find path 'C:\fog-client\bin\ProcessPrivileges.dll' because it does not exist.
        At C:\fog-client\build.ps1:126 char:2
        +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\ ...
        +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            + CategoryInfo          : ObjectNotFound: (C:\fog-client\bin\ProcessPrivileges.dll:String) [Copy-Item], ItemNotFoundException
            + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
         
        Copy-Item : Cannot find path 'C:\fog-client\bin\Quartz.dll' because it does not exist.
        At C:\fog-client\build.ps1:126 char:2
        +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\ ...
        +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            + CategoryInfo          : ObjectNotFound: (C:\fog-client\bin\Quartz.dll:String) [Copy-Item], ItemNotFoundException
            + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
         
        Copy-Item : Cannot find path 'C:\fog-client\bin\Common.Logging.dll' because it does not exist.
        At C:\fog-client\build.ps1:126 char:2
        +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\ ...
        +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            + CategoryInfo          : ObjectNotFound: (C:\fog-client\bin\Common.Logging.dll:String) [Copy-Item], ItemNotFoundException
            + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
         
        Copy-Item : Cannot find path 'C:\fog-client\bin\Common.Logging.Core.dll' because it does not exist.
        At C:\fog-client\build.ps1:126 char:2
        +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\ ...
        +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            + CategoryInfo          : ObjectNotFound: (C:\fog-client\b...ogging.Core.dll:String) [Copy-Item], ItemNotFoundException
            + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
         
        Copy-Item : Cannot find path 'C:\fog-client\bin\ICSharpCode.SharpZipLib.dll' because it does not exist.
        At C:\fog-client\build.ps1:126 char:2
        +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\ ...
        +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            + CategoryInfo          : ObjectNotFound: (C:\fog-client\b...SharpZipLib.dll:String) [Copy-Item], ItemNotFoundException
            + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
         
        Building MSI
        Copy-Item : Cannot find path 'C:\fog-client\bin\FOGService.msi' because it does not exist.
        At C:\fog-client\build.ps1:152 char:1
        + Copy-Item "$PSScriptRoot\bin\FOGService.msi" $InstallerMSI
        + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            + CategoryInfo          : ObjectNotFound: (C:\fog-client\bin\FOGService.msi:String) [Copy-Item], ItemNotFoundException
            + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
         
        Copy-Item : Cannot find path 'C:\fog-client\bin\FOGService.msi' because it does not exist.
        At C:\fog-client\build.ps1:153 char:1
        + Copy-Item "$PSScriptRoot\bin\FOGService.msi" "$PSScriptRoot\out\FOGSe ...
        + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            + CategoryInfo          : ObjectNotFound: (C:\fog-client\bin\FOGService.msi:String) [Copy-Item], ItemNotFoundException
            + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
         
        Building Smart Installer
        ILMerging Smart Installer
        An exception occurred during merging:
        ILMerge.Merge: Could not find the file 'C:\fog-client\bin\SmartInstaller.exe'.
           … ILMerging.ILMerge.Merge()
           … ILMerging.ILMerge.Main(String[] args)
        ILMerging Debugger
        An exception occurred during merging:
        ILMerge.Merge: Could not find the file 'C:\fog-client\bin\Debugger.exe'.
           … ILMerging.ILMerge.Merge()
           … ILMerging.ILMerge.Main(String[] args)
        ILMerging PrinterManagerHelper
        An exception occurred during merging:
        ILMerge.Merge: Could not find the file 'C:\fog-client\bin\PrinterManagerHelper.exe'.
           … ILMerging.ILMerge.Merge()
           … ILMerging.ILMerge.Main(String[] args)
        
        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Sep 27, 2021, 9:29 PM

          @tatanas We need to get some further output from the compile process. Please edit build.ps1 and remove the | out-null part in line 88. Build again and post output here.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          T 2 Replies Last reply Sep 28, 2021, 6:16 AM Reply Quote 0
          • T
            tatanas @Sebastian Roth
            last edited by Sep 28, 2021, 6:16 AM

            This post is deleted!
            T 1 Reply Last reply Sep 28, 2021, 6:20 AM Reply Quote 0
            • T
              tatanas @tatanas
              last edited by Sep 28, 2021, 6:20 AM

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • T
                tatanas @Sebastian Roth
                last edited by Sep 28, 2021, 7:14 AM

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • T
                  tatanas
                  last edited by Sep 28, 2021, 8:32 AM

                  I fixed one problem. New log :

                  S C:\fog-client> C:\fog-client\build.ps1
                  Restoring Packages
                  C:\fog-client\.nuget\NuGet.exe : Unable to find version '2.6.4' of package 'NUnit.Runners'.
                  At line:1 char:1
                  + C:\fog-client\.nuget\NuGet.exe restore
                  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      + CategoryInfo          : NotSpecified: (Unable to find ...NUnit.Runners'.:String) [], RemoteException
                      + FullyQualifiedErrorId : NativeCommandError
                   
                  Cleaning Projects
                  Microsoft (R) Build Engine, version 14.0.23107.0
                  Copyright (C) Microsoft Corporation. Tous droits r‚serv‚s.
                  
                  Microsoft (R) Build Engine, version 14.0.23107.0
                  Copyright (C) Microsoft Corporation. Tous droits r‚serv‚s.
                  
                  Microsoft (R) Build Engine, version 14.0.23107.0
                  Copyright (C) Microsoft Corporation. Tous droits r‚serv‚s.
                  
                  Building Solution
                  Microsoft (R) Build Engine, version 14.0.23107.0
                  Copyright (C) Microsoft Corporation. Tous droits r‚serv‚s.
                  
                    Restauration des packages NuGet.
                    Pour empˆcher NuGet de t‚l‚charger des packages lors de la cr‚ation, ouvrez la boŒte de dialogue Options Visual Studio, cliquez sur le noud Gestionnaire de package et d‚cochez 'Allow NuGet 
                  to download missing packages'.
                    AVERTISSEMENTÿ: The underlying connection was closed: An unexpected error occurred on a send.
                    AVERTISSEMENTÿ: The underlying connection was closed: An unexpected error occurred on a send.
                    AVERTISSEMENTÿ: The underlying connection was closed: An unexpected error occurred on a send.
                    AVERTISSEMENTÿ: The underlying connection was closed: An unexpected error occurred on a send.
                  C:\fog-client\.nuget\NuGet.targets(100,9): error : Unable to find version '3.4.1' of package 'Common.Logging'. [C:\fog-client\Modules\Modules.csproj]
                  C:\fog-client\.nuget\NuGet.targets(100,9): error : Unable to find version '3.4.1' of package 'Common.Logging.Core'. [C:\fog-client\Modules\Modules.csproj]
                  C:\fog-client\.nuget\NuGet.targets(100,9): error : Unable to find version '3.0.7' of package 'Quartz'. [C:\fog-client\Modules\Modules.csproj]
                  C:\fog-client\.nuget\NuGet.targets(100,9): error : Unable to find version '1.2.0' of package 'SharpZipLib'. [C:\fog-client\Modules\Modules.csproj]
                  C:\fog-client\.nuget\NuGet.targets(100,9): error MSB3073: La commande ""C:\fog-client\.nuget\NuGet.exe" install "C:\fog-client\Modules\packages.config" -source ""  -NonInteractive -RequireCon
                  sent -solutionDir "C:\fog-client\ "" s'est arrˆt‚e avec le code 1. [C:\fog-client\Modules\Modules.csproj]
                  C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.CSharp.CurrentVersion.targets(133,9): warning MSB3884: le fichier d'ensemble de rŠgles "MinimumRecommendedRules.ruleset" est introuvable. [C:
                  \fog-client\UpdateHelper\UpdateHelper.csproj]
                    UpdateHelper -> C:\fog-client\bin\FOGUpdateHelper.exe
                  C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.CSharp.CurrentVersion.targets(133,9): warning MSB3884: le fichier d'ensemble de rŠgles "MinimumRecommendedRules.ruleset" est introuvable. [C:
                  \fog-client\UpdateWaiter\UpdateWaiter.csproj]
                    UpdateWaiter -> C:\fog-client\bin\FOGUpdateWaiter.exe
                  C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.CSharp.CurrentVersion.targets(133,9): warning MSB3884: le fichier d'ensemble de rŠgles "MinimumRecommendedRules.ruleset" est introuvable. [C:
                  \fog-client\Tray\Tray.csproj]
                    Tray -> C:\fog-client\bin\FOGTray.exe
                    Searching for custom action entry points in SetupHelper.dll
                        Loaded dependent assembly: C:\Program Files (x86)\WiX Toolset v3.11\SDK\Microsoft.Deployment.WindowsInstaller.dll
                        InstallCert=SetupHelper!SetupHelper.CustomActions.InstallCert
                        SaveSettings=SetupHelper!SetupHelper.CustomActions.SaveSettings
                        Cleanup=SetupHelper!SetupHelper.CustomActions.Cleanup
                        UninstallCert=SetupHelper!SetupHelper.CustomActions.UninstallCert
                        InstallFOGCert=SetupHelper!SetupHelper.CustomActions.InstallFOGCert
                        UninstallFOGCert=SetupHelper!SetupHelper.CustomActions.UninstallFOGCert
                        CheckForLegacy=SetupHelper!SetupHelper.CustomActions.CheckForLegacy
                        CleanTasks=SetupHelper!SetupHelper.CustomActions.CleanTasks
                    Searching for an embedded UI class in SetupHelper.dll
                    Modifying SfxCA.dll stub
                    Copying file version info from C:\fog-client\SetupHelper\obj\x86\Release\SetupHelper.dll to C:\fog-client\SetupHelper\obj\x86\Release\SetupHelper.CA.dll
                    Packaging files
                        SetupHelper.dll
                        Microsoft.Deployment.WindowsInstaller.dll
                        Microsoft.Win32.TaskScheduler.dll
                        Newtonsoft.Json.dll
                        Zazzles.dll
                        SuperWebSocket.dll
                        WebSocket4Net.dll
                        SuperSocket.ClientEngine.dll
                        SuperSocket.SocketBase.dll
                        SuperSocket.SocketEngine.dll
                        SuperSocket.Common.dll
                        log4net.dll
                        CustomAction.config
                    MakeSfxCA finished: C:\fog-client\SetupHelper\obj\x86\Release\SetupHelper.CA.dll
                    SetupHelper -> C:\fog-client\bin\SetupHelper.dll
                  C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3277: des conflits entre diff‚rentes versions du mˆme assembly d‚pendant ont ‚t‚ trouv‚s, e
                  t qui n'ont pas pu ˆtre r‚solues. Ces conflits de r‚f‚rence sont r‚pertori‚s dans le fichier journal de g‚n‚ration quand les commentaires sont d‚finis sur d‚taill‚s. [C:\fog-client\ShutdownGU
                  I\ShutdownGUI.csproj]
                  C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.CSharp.CurrentVersion.targets(133,9): warning MSB3884: le fichier d'ensemble de rŠgles "MinimumRecommendedRules.ruleset" est introuvable. [C:
                  \fog-client\ShutdownGUI\ShutdownGUI.csproj]
                    ShutdownGUI -> C:\fog-client\bin\FOGShutdownGUI.exe
                  Copying Theme to build
                  Zipping Build for installer
                  Copy-Item : Cannot find path 'C:\fog-client\bin\EngineIoClientDotNet.dll' because it does not exist.
                  At C:\fog-client\build.ps1:126 char:2
                  +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\ ...
                  +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      + CategoryInfo          : ObjectNotFound: (C:\fog-client\b...lientDotNet.dll:String) [Copy-Item], ItemNotFoundException
                      + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
                   
                  Copy-Item : Cannot find path 'C:\fog-client\bin\FOGService.exe' because it does not exist.
                  At C:\fog-client\build.ps1:126 char:2
                  +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\ ...
                  +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      + CategoryInfo          : ObjectNotFound: (C:\fog-client\bin\FOGService.exe:String) [Copy-Item], ItemNotFoundException
                      + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
                   
                  Copy-Item : Cannot find path 'C:\fog-client\bin\FOGService.exe.config' because it does not exist.
                  At C:\fog-client\build.ps1:126 char:2
                  +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\ ...
                  +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      + CategoryInfo          : ObjectNotFound: (C:\fog-client\bin\FOGService.exe.config:String) [Copy-Item], ItemNotFoundException
                      + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
                   
                  Copy-Item : Cannot find path 'C:\fog-client\bin\FOGUserService.exe' because it does not exist.
                  At C:\fog-client\build.ps1:126 char:2
                  +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\ ...
                  +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      + CategoryInfo          : ObjectNotFound: (C:\fog-client\bin\FOGUserService.exe:String) [Copy-Item], ItemNotFoundException
                      + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
                   
                  Copy-Item : Cannot find path 'C:\fog-client\bin\FOGUserService.exe.config' because it does not exist.
                  At C:\fog-client\build.ps1:126 char:2
                  +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\ ...
                  +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      + CategoryInfo          : ObjectNotFound: (C:\fog-client\b...vice.exe.config:String) [Copy-Item], ItemNotFoundException
                      + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
                   
                  Copy-Item : Cannot find path 'C:\fog-client\bin\Modules.dll' because it does not exist.
                  At C:\fog-client\build.ps1:126 char:2
                  +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\ ...
                  +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      + CategoryInfo          : ObjectNotFound: (C:\fog-client\bin\Modules.dll:String) [Copy-Item], ItemNotFoundException
                      + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
                   
                  Copy-Item : Cannot find path 'C:\fog-client\bin\Modules.dll.config' because it does not exist.
                  At C:\fog-client\build.ps1:126 char:2
                  +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\ ...
                  +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      + CategoryInfo          : ObjectNotFound: (C:\fog-client\bin\Modules.dll.config:String) [Copy-Item], ItemNotFoundException
                      + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
                   
                  Copy-Item : Cannot find path 'C:\fog-client\bin\ProcessPrivileges.dll' because it does not exist.
                  At C:\fog-client\build.ps1:126 char:2
                  +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\ ...
                  +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      + CategoryInfo          : ObjectNotFound: (C:\fog-client\bin\ProcessPrivileges.dll:String) [Copy-Item], ItemNotFoundException
                      + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
                   
                  Copy-Item : Cannot find path 'C:\fog-client\bin\Quartz.dll' because it does not exist.
                  At C:\fog-client\build.ps1:126 char:2
                  +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\ ...
                  +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      + CategoryInfo          : ObjectNotFound: (C:\fog-client\bin\Quartz.dll:String) [Copy-Item], ItemNotFoundException
                      + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
                   
                  Copy-Item : Cannot find path 'C:\fog-client\bin\Common.Logging.dll' because it does not exist.
                  At C:\fog-client\build.ps1:126 char:2
                  +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\ ...
                  +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      + CategoryInfo          : ObjectNotFound: (C:\fog-client\bin\Common.Logging.dll:String) [Copy-Item], ItemNotFoundException
                      + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
                   
                  Copy-Item : Cannot find path 'C:\fog-client\bin\Common.Logging.Core.dll' because it does not exist.
                  At C:\fog-client\build.ps1:126 char:2
                  +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\ ...
                  +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      + CategoryInfo          : ObjectNotFound: (C:\fog-client\b...ogging.Core.dll:String) [Copy-Item], ItemNotFoundException
                      + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
                   
                  Copy-Item : Cannot find path 'C:\fog-client\bin\ICSharpCode.SharpZipLib.dll' because it does not exist.
                  At C:\fog-client\build.ps1:126 char:2
                  +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\ ...
                  +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      + CategoryInfo          : ObjectNotFound: (C:\fog-client\b...SharpZipLib.dll:String) [Copy-Item], ItemNotFoundException
                      + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
                   
                  Building MSI
                  Copy-Item : Cannot find path 'C:\fog-client\bin\FOGService.msi' because it does not exist.
                  At C:\fog-client\build.ps1:152 char:1
                  + Copy-Item "$PSScriptRoot\bin\FOGService.msi" $InstallerMSI
                  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      + CategoryInfo          : ObjectNotFound: (C:\fog-client\bin\FOGService.msi:String) [Copy-Item], ItemNotFoundException
                      + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
                   
                  Copy-Item : Cannot find path 'C:\fog-client\bin\FOGService.msi' because it does not exist.
                  At C:\fog-client\build.ps1:153 char:1
                  + Copy-Item "$PSScriptRoot\bin\FOGService.msi" "$PSScriptRoot\out\FOGSe ...
                  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      + CategoryInfo          : ObjectNotFound: (C:\fog-client\bin\FOGService.msi:String) [Copy-Item], ItemNotFoundException
                      + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
                   
                  Building Smart Installer
                  ILMerging Smart Installer
                  An exception occurred during merging:
                  ILMerge.Merge: Could not find the file 'C:\fog-client\bin\SmartInstaller.exe'.
                     at ILMerging.ILMerge.Merge()
                     at ILMerging.ILMerge.Main(String[] args)
                  ILMerging Debugger
                  An exception occurred during merging:
                  ILMerge.Merge: Could not find the file 'C:\fog-client\bin\Debugger.exe'.
                     at ILMerging.ILMerge.Merge()
                     at ILMerging.ILMerge.Main(String[] args)
                  ILMerging PrinterManagerHelper
                  An exception occurred during merging:
                  ILMerge.Merge: Could not find the file 'C:\fog-client\bin\PrinterManagerHelper.exe'.
                     at ILMerging.ILMerge.Merge()
                     at ILMerging.ILMerge.Main(String[] args)
                  
                  1 Reply Last reply Reply Quote 0
                  • S
                    Sebastian Roth Moderator
                    last edited by Sep 28, 2021, 11:36 AM

                    @tatanas Looks like NuGet is not able to download various packages/libraries. Can you try installing those? Common.Logging, Common.Logging.Core, Quartz, SharpZipLib. Make sure you use the versions mentioned in the log.

                    Please post a directory listing of C:\fog-client\packages\ as well as C:\zazzles\packages…

                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                    T 1 Reply Last reply Sep 28, 2021, 11:59 AM Reply Quote 0
                    • T
                      tatanas @Sebastian Roth
                      last edited by tatanas Sep 28, 2021, 6:55 AM Sep 28, 2021, 11:59 AM

                      @sebastian-roth I don’t know if it’s the right way to download a package :

                      C:\fog-client\.nuget>nuget install Common.Logging -OutputDirectory packages
                      AVERTISSEMENT : La connexion sous-jacente a été fermée : Une erreur inattendue s
                      'est produite lors de l'envoi.
                      AVERTISSEMENT : An error occurred while loading packages from 'https://www.nuget
                      .org/api/v2/': La connexion sous-jacente a été fermée : Une erreur inattendue s'
                      est produite lors de l'envoi.
                      Unable to find package 'Common.Logging'.
                      

                      EDIT : We need some registry keys…
                      https://stackoverflow.com/questions/20445638/nuget-fails-the-underlying-connection-was-closed-an-unexpected-error-occurred

                      New log :

                      PS C:\fog-client> C:\fog-client\build.ps1
                      Restoring Packages
                      C:\fog-client\.nuget\NuGet.exe : The 'Newtonsoft.Json 12.0.3' package requires NuGet client version '2.12' or above, but the current NuGet version is '2.8.60318.667'.
                      Au caractère Ligne:1 : 1
                      + C:\fog-client\.nuget\NuGet.exe restore
                      + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          + CategoryInfo          : NotSpecified: (The 'Newtonsoft...2.8.60318.667'.:String) [], RemoteException
                          + FullyQualifiedErrorId : NativeCommandError
                       
                      Cleaning Projects
                      Microsoft (R) Build Engine, version 14.0.23107.0
                      Copyright (C) Microsoft Corporation. Tous droits r‚serv‚s.
                      
                      Microsoft (R) Build Engine, version 14.0.23107.0
                      Copyright (C) Microsoft Corporation. Tous droits r‚serv‚s.
                      
                      Microsoft (R) Build Engine, version 14.0.23107.0
                      Copyright (C) Microsoft Corporation. Tous droits r‚serv‚s.
                      
                      Building Solution
                      Microsoft (R) Build Engine, version 14.0.23107.0
                      Copyright (C) Microsoft Corporation. Tous droits r‚serv‚s.
                      
                        Restauration des packages NuGet.
                        Pour empˆcher NuGet de t‚l‚charger des packages lors de la cr‚ation, ouvrez la boŒte de dialogue Options Visual Studio, cliquez sur le noud Gestionnaire de package et d‚cochez 'Allow NuGet to download missing p
                      ackages'.
                        Tous les packages r‚pertori‚s dans packages.config sont d‚j… install‚s.
                      C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.CSharp.CurrentVersion.targets(133,9): warning MSB3884: le fichier d'ensemble de rŠgles "MinimumRecommendedRules.ruleset" est introuvable. [C:\fog-client\Modules\M
                      odules.csproj]
                      PowerManagement\Task.cs(55,53): error CS1525: Terme d'expression 'int' non valide [C:\fog-client\Modules\Modules.csproj]
                      PowerManagement\Task.cs(55,57): error CS1003: Erreur de syntaxe, ',' attendu [C:\fog-client\Modules\Modules.csproj]
                      C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.CSharp.CurrentVersion.targets(133,9): warning MSB3884: le fichier d'ensemble de rŠgles "MinimumRecommendedRules.ruleset" est introuvable. [C:\fog-client\UpdateHel
                      per\UpdateHelper.csproj]
                        UpdateHelper -> C:\fog-client\bin\FOGUpdateHelper.exe
                      C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.CSharp.CurrentVersion.targets(133,9): warning MSB3884: le fichier d'ensemble de rŠgles "MinimumRecommendedRules.ruleset" est introuvable. [C:\fog-client\UpdateWai
                      ter\UpdateWaiter.csproj]
                        UpdateWaiter -> C:\fog-client\bin\FOGUpdateWaiter.exe
                      C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.CSharp.CurrentVersion.targets(133,9): warning MSB3884: le fichier d'ensemble de rŠgles "MinimumRecommendedRules.ruleset" est introuvable. [C:\fog-client\Tray\Tray
                      .csproj]
                        Tray -> C:\fog-client\bin\FOGTray.exe
                        Searching for custom action entry points in SetupHelper.dll
                            Loaded dependent assembly: C:\Program Files (x86)\WiX Toolset v3.11\SDK\Microsoft.Deployment.WindowsInstaller.dll
                            InstallCert=SetupHelper!SetupHelper.CustomActions.InstallCert
                            SaveSettings=SetupHelper!SetupHelper.CustomActions.SaveSettings
                            Cleanup=SetupHelper!SetupHelper.CustomActions.Cleanup
                            UninstallCert=SetupHelper!SetupHelper.CustomActions.UninstallCert
                            InstallFOGCert=SetupHelper!SetupHelper.CustomActions.InstallFOGCert
                            UninstallFOGCert=SetupHelper!SetupHelper.CustomActions.UninstallFOGCert
                            CheckForLegacy=SetupHelper!SetupHelper.CustomActions.CheckForLegacy
                            CleanTasks=SetupHelper!SetupHelper.CustomActions.CleanTasks
                        Searching for an embedded UI class in SetupHelper.dll
                        Modifying SfxCA.dll stub
                        Copying file version info from C:\fog-client\SetupHelper\obj\x86\Release\SetupHelper.dll to C:\fog-client\SetupHelper\obj\x86\Release\SetupHelper.CA.dll
                        Packaging files
                            SetupHelper.dll
                            Microsoft.Deployment.WindowsInstaller.dll
                            Microsoft.Win32.TaskScheduler.dll
                            Newtonsoft.Json.dll
                            Zazzles.dll
                            SuperWebSocket.dll
                            WebSocket4Net.dll
                            SuperSocket.ClientEngine.dll
                            SuperSocket.SocketBase.dll
                            SuperSocket.SocketEngine.dll
                            SuperSocket.Common.dll
                            log4net.dll
                            CustomAction.config
                        MakeSfxCA finished: C:\fog-client\SetupHelper\obj\x86\Release\SetupHelper.CA.dll
                        SetupHelper -> C:\fog-client\bin\SetupHelper.dll
                      C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3277: des conflits entre diff‚rentes versions du mˆme assembly d‚pendant ont ‚t‚ trouv‚s, et qui n'ont pas pu ˆt
                      re r‚solues. Ces conflits de r‚f‚rence sont r‚pertori‚s dans le fichier journal de g‚n‚ration quand les commentaires sont d‚finis sur d‚taill‚s. [C:\fog-client\ShutdownGUI\ShutdownGUI.csproj]
                      C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.CSharp.CurrentVersion.targets(133,9): warning MSB3884: le fichier d'ensemble de rŠgles "MinimumRecommendedRules.ruleset" est introuvable. [C:\fog-client\ShutdownG
                      UI\ShutdownGUI.csproj]
                        ShutdownGUI -> C:\fog-client\bin\FOGShutdownGUI.exe
                      Copying Theme to build
                      Zipping Build for installer
                      Copy-Item : Impossible de trouver le chemin d'accès « C:\fog-client\bin\EngineIoClientDotNet.dll », car il n'existe pas.
                      Au caractère C:\fog-client\build.ps1:126 : 2
                      +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\" + $file) -re ...
                      +    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          + CategoryInfo          : ObjectNotFound: (C:\fog-client\b...lientDotNet.dll:String) [Copy-Item], ItemNotFoundException
                          + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
                       
                      Copy-Item : Impossible de trouver le chemin d'accès « C:\fog-client\bin\FOGService.exe », car il n'existe pas.
                      Au caractère C:\fog-client\build.ps1:126 : 2
                      +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\" + $file) -re ...
                      +    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          + CategoryInfo          : ObjectNotFound: (C:\fog-client\bin\FOGService.exe:String) [Copy-Item], ItemNotFoundException
                          + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
                       
                      Copy-Item : Impossible de trouver le chemin d'accès « C:\fog-client\bin\FOGService.exe.config », car il n'existe pas.
                      Au caractère C:\fog-client\build.ps1:126 : 2
                      +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\" + $file) -re ...
                      +    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          + CategoryInfo          : ObjectNotFound: (C:\fog-client\bin\FOGService.exe.config:String) [Copy-Item], ItemNotFoundException
                          + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
                       
                      Copy-Item : Impossible de trouver le chemin d'accès « C:\fog-client\bin\FOGUserService.exe », car il n'existe pas.
                      Au caractère C:\fog-client\build.ps1:126 : 2
                      +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\" + $file) -re ...
                      +    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          + CategoryInfo          : ObjectNotFound: (C:\fog-client\bin\FOGUserService.exe:String) [Copy-Item], ItemNotFoundException
                          + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
                       
                      Copy-Item : Impossible de trouver le chemin d'accès « C:\fog-client\bin\FOGUserService.exe.config », car il n'existe pas.
                      Au caractère C:\fog-client\build.ps1:126 : 2
                      +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\" + $file) -re ...
                      +    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          + CategoryInfo          : ObjectNotFound: (C:\fog-client\b...vice.exe.config:String) [Copy-Item], ItemNotFoundException
                          + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
                       
                      Copy-Item : Impossible de trouver le chemin d'accès « C:\fog-client\bin\Modules.dll », car il n'existe pas.
                      Au caractère C:\fog-client\build.ps1:126 : 2
                      +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\" + $file) -re ...
                      +    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          + CategoryInfo          : ObjectNotFound: (C:\fog-client\bin\Modules.dll:String) [Copy-Item], ItemNotFoundException
                          + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
                       
                      Copy-Item : Impossible de trouver le chemin d'accès « C:\fog-client\bin\Modules.dll.config », car il n'existe pas.
                      Au caractère C:\fog-client\build.ps1:126 : 2
                      +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\" + $file) -re ...
                      +    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          + CategoryInfo          : ObjectNotFound: (C:\fog-client\bin\Modules.dll.config:String) [Copy-Item], ItemNotFoundException
                          + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
                       
                      Copy-Item : Impossible de trouver le chemin d'accès « C:\fog-client\bin\ProcessPrivileges.dll », car il n'existe pas.
                      Au caractère C:\fog-client\build.ps1:126 : 2
                      +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\" + $file) -re ...
                      +    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          + CategoryInfo          : ObjectNotFound: (C:\fog-client\bin\ProcessPrivileges.dll:String) [Copy-Item], ItemNotFoundException
                          + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
                       
                      Copy-Item : Impossible de trouver le chemin d'accès « C:\fog-client\bin\Quartz.dll », car il n'existe pas.
                      Au caractère C:\fog-client\build.ps1:126 : 2
                      +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\" + $file) -re ...
                      +    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          + CategoryInfo          : ObjectNotFound: (C:\fog-client\bin\Quartz.dll:String) [Copy-Item], ItemNotFoundException
                          + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
                       
                      Copy-Item : Impossible de trouver le chemin d'accès « C:\fog-client\bin\Common.Logging.dll », car il n'existe pas.
                      Au caractère C:\fog-client\build.ps1:126 : 2
                      +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\" + $file) -re ...
                      +    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          + CategoryInfo          : ObjectNotFound: (C:\fog-client\bin\Common.Logging.dll:String) [Copy-Item], ItemNotFoundException
                          + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
                       
                      Copy-Item : Impossible de trouver le chemin d'accès « C:\fog-client\bin\Common.Logging.Core.dll », car il n'existe pas.
                      Au caractère C:\fog-client\build.ps1:126 : 2
                      +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\" + $file) -re ...
                      +    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          + CategoryInfo          : ObjectNotFound: (C:\fog-client\b...ogging.Core.dll:String) [Copy-Item], ItemNotFoundException
                          + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
                       
                      Copy-Item : Impossible de trouver le chemin d'accès « C:\fog-client\bin\ICSharpCode.SharpZipLib.dll », car il n'existe pas.
                      Au caractère C:\fog-client\build.ps1:126 : 2
                      +     Copy-Item ("$PSScriptRoot\bin\" + $file) ("$PSScriptRoot\bin\tmp\" + $file) -re ...
                      +    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          + CategoryInfo          : ObjectNotFound: (C:\fog-client\b...SharpZipLib.dll:String) [Copy-Item], ItemNotFoundException
                          + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
                       
                      Building MSI
                      Copy-Item : Impossible de trouver le chemin d'accès « C:\fog-client\bin\FOGService.msi », car il n'existe pas.
                      Au caractère C:\fog-client\build.ps1:152 : 1
                      + Copy-Item "$PSScriptRoot\bin\FOGService.msi" $InstallerMSI
                      + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          + CategoryInfo          : ObjectNotFound: (C:\fog-client\bin\FOGService.msi:String) [Copy-Item], ItemNotFoundException
                          + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
                       
                      Copy-Item : Impossible de trouver le chemin d'accès « C:\fog-client\bin\FOGService.msi », car il n'existe pas.
                      Au caractère C:\fog-client\build.ps1:153 : 1
                      + Copy-Item "$PSScriptRoot\bin\FOGService.msi" "$PSScriptRoot\out\FOGService.msi"
                      + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          + CategoryInfo          : ObjectNotFound: (C:\fog-client\bin\FOGService.msi:String) [Copy-Item], ItemNotFoundException
                          + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
                       
                      Building Smart Installer
                      ILMerging Smart Installer
                      An exception occurred during merging:
                      ILMerge.Merge: Could not find the file 'C:\fog-client\bin\SmartInstaller.exe'.
                         … ILMerging.ILMerge.Merge()
                         … ILMerging.ILMerge.Main(String[] args)
                      ILMerging Debugger
                      An exception occurred during merging:
                      ILMerge.Merge: Could not find the file 'C:\fog-client\bin\Debugger.exe'.
                         … ILMerging.ILMerge.Merge()
                         … ILMerging.ILMerge.Main(String[] args)
                      ILMerging PrinterManagerHelper
                      An exception occurred during merging:
                      ILMerge.Merge: Could not find the file 'C:\fog-client\bin\PrinterManagerHelper.exe'.
                         … ILMerging.ILMerge.Merge()
                         … ILMerging.ILMerge.Main(String[] args)
                      
                      1 Reply Last reply Reply Quote 0
                      • T
                        tatanas
                        last edited by Sep 28, 2021, 1:01 PM

                        Files in fog-client\packages :
                        Common.Logging.3.4.1
                        Common.Logging.Core.3.4.1
                        NUnit.Runners.2.6.4
                        Quartz.3.0.7
                        SharpZipLib.1.2.0

                        No directory c:\zazzles…

                        1 Reply Last reply Reply Quote 0
                        • S
                          Sebastian Roth Moderator
                          last edited by Sep 28, 2021, 10:49 PM

                          @tatanas said in Fog client build:

                          EDIT : We need some registry keys…
                          https://stackoverflow.com/questions/20445638/nuget-fails-the-underlying-connection-was-closed-an-unexpected-error-occurred

                          Well done!

                          Files in fog-client\packages :
                          Common.Logging.3.4.1
                          Common.Logging.Core.3.4.1
                          NUnit.Runners.2.6.4
                          Quartz.3.0.7
                          SharpZipLib.1.2.0

                          You are still missing Newtonsoft.Json.12.0.3 and SuperSocket.ClientEngine.Core.0.10.0 I think.

                          The ‘Newtonsoft.Json 12.0.3’ package requires NuGet client version ‘2.12’ or above, but the current NuGet version is ‘2.8.60318.667’.

                          https://stackoverflow.com/questions/42045536/how-to-upgrade-nuget-in-visual-studio-2013

                          No directory c:\zazzles

                          The fog-client software is made up of two parts. The communication library called Zazzles and the fog-client code itself. If you ever need to change parts of the communication you’d need to get into the Zazzles code as well. In this case you’d pull that code from github as well, install NuGet packages, compile the Zazzles.dll and copy it over to fog-clients/libs.

                          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                          T 1 Reply Last reply Sep 29, 2021, 6:42 AM Reply Quote 0
                          • T
                            tatanas @Sebastian Roth
                            last edited by tatanas Sep 29, 2021, 1:27 AM Sep 29, 2021, 6:42 AM

                            @sebastian-roth I downloaded nuget.exe version 3.3.0 and upgraded the 2 packets you mentioned through command line.
                            No packet error anymore, just some warnings.

                            PS C:\fog-client> C:\fog-client\build.ps1
                            Restoring Packages
                            Cleaning Projects
                            Microsoft (R) Build Engine, version 14.0.23107.0
                            Copyright (C) Microsoft Corporation. Tous droits r‚serv‚s.
                            
                            Microsoft (R) Build Engine, version 14.0.23107.0
                            Copyright (C) Microsoft Corporation. Tous droits r‚serv‚s.
                            
                            Microsoft (R) Build Engine, version 14.0.23107.0
                            Copyright (C) Microsoft Corporation. Tous droits r‚serv‚s.
                            
                            Building Solution
                            Microsoft (R) Build Engine, version 14.0.23107.0
                            Copyright (C) Microsoft Corporation. Tous droits r‚serv‚s.
                            
                              Restauration des packages NuGet.
                              Pour empˆcher NuGet de t‚l‚charger des packages lors de la cr‚ation, ouvrez la boŒte de dialogue Options Visual Studio, cliquez sur le noud Gestionnaire de package et 
                            d‚cochez 'Allow NuGet to download missing packages'.
                              Feeds used:
                                C:\Users\Administrateur\AppData\Local\NuGet\Cache
                                C:\Users\Administrateur\.nuget\packages\
                                https://api.nuget.org/v3/index.json
                              
                              Tous les packages r‚pertori‚s dans C:\fog-client\Modules\packages.config sont d‚j… install‚s.
                            C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.CSharp.CurrentVersion.targets(133,9): warning MSB3884: le fichier d'ensemble de rŠgles "MinimumRecommendedRules.ruleset
                            " est introuvable. [C:\fog-client\Modules\Modules.csproj]
                            SnapinClient\SnapinClient.cs(156,17): warning CS0618: 'ZipConstants.DefaultCodePage' est obsolŠteÿ: 'Use ZipStrings instead' [C:\fog-client\Modules\Modules.csproj]
                            HostnameChanger\Mac\MacHostName.cs(28,33): warning CS0414: Le champ 'MacHostName.Name' est assign‚, mais sa valeur n'est jamais utilis‚e [C:\fog-client\Modules\Modules.c
                            sproj]
                              Modules -> C:\fog-client\bin\Modules.dll
                            C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.CSharp.CurrentVersion.targets(133,9): warning MSB3884: le fichier d'ensemble de rŠgles "MinimumRecommendedRules.ruleset
                            " est introuvable. [C:\fog-client\UpdateHelper\UpdateHelper.csproj]
                              UpdateHelper -> C:\fog-client\bin\FOGUpdateHelper.exe
                            C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.CSharp.CurrentVersion.targets(133,9): warning MSB3884: le fichier d'ensemble de rŠgles "MinimumRecommendedRules.ruleset
                            " est introuvable. [C:\fog-client\UpdateWaiter\UpdateWaiter.csproj]
                              UpdateWaiter -> C:\fog-client\bin\FOGUpdateWaiter.exe
                            C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.CSharp.CurrentVersion.targets(133,9): warning MSB3884: le fichier d'ensemble de rŠgles "MinimumRecommendedRules.ruleset
                            " est introuvable. [C:\fog-client\Service\Service.csproj]
                              Service -> C:\fog-client\bin\FOGService.exe
                            C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.CSharp.CurrentVersion.targets(133,9): warning MSB3884: le fichier d'ensemble de rŠgles "MinimumRecommendedRules.ruleset
                            " est introuvable. [C:\fog-client\Tray\Tray.csproj]
                              Tray -> C:\fog-client\bin\FOGTray.exe
                            C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.CSharp.CurrentVersion.targets(133,9): warning MSB3884: le fichier d'ensemble de rŠgles "MinimumRecommendedRules.ruleset
                            " est introuvable. [C:\fog-client\UserService\UserService.csproj]
                              UserService -> C:\fog-client\bin\FOGUserService.exe
                            C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.CSharp.CurrentVersion.targets(133,9): warning MSB3884: le fichier d'ensemble de rŠgles "MinimumRecommendedRules.ruleset
                            " est introuvable. [C:\fog-client\Debugger\Debugger.csproj]
                              Debugger -> C:\fog-client\bin\Debugger.exe
                              Searching for custom action entry points in SetupHelper.dll
                                  Loaded dependent assembly: C:\Program Files (x86)\WiX Toolset v3.11\SDK\Microsoft.Deployment.WindowsInstaller.dll
                                  InstallCert=SetupHelper!SetupHelper.CustomActions.InstallCert
                                  SaveSettings=SetupHelper!SetupHelper.CustomActions.SaveSettings
                                  Cleanup=SetupHelper!SetupHelper.CustomActions.Cleanup
                                  UninstallCert=SetupHelper!SetupHelper.CustomActions.UninstallCert
                                  InstallFOGCert=SetupHelper!SetupHelper.CustomActions.InstallFOGCert
                                  UninstallFOGCert=SetupHelper!SetupHelper.CustomActions.UninstallFOGCert
                                  CheckForLegacy=SetupHelper!SetupHelper.CustomActions.CheckForLegacy
                                  CleanTasks=SetupHelper!SetupHelper.CustomActions.CleanTasks
                              Searching for an embedded UI class in SetupHelper.dll
                              Modifying SfxCA.dll stub
                              Copying file version info from C:\fog-client\SetupHelper\obj\x86\Release\SetupHelper.dll to C:\fog-client\SetupHelper\obj\x86\Release\SetupHelper.CA.dll
                              Packaging files
                                  SetupHelper.dll
                                  Microsoft.Deployment.WindowsInstaller.dll
                                  Microsoft.Win32.TaskScheduler.dll
                                  Newtonsoft.Json.dll
                                  Zazzles.dll
                                  SuperWebSocket.dll
                                  WebSocket4Net.dll
                                  SuperSocket.ClientEngine.dll
                                  SuperSocket.SocketBase.dll
                                  SuperSocket.SocketEngine.dll
                                  SuperSocket.Common.dll
                                  log4net.dll
                                  CustomAction.config
                              MakeSfxCA finished: C:\fog-client\SetupHelper\obj\x86\Release\SetupHelper.CA.dll
                              SetupHelper -> C:\fog-client\bin\SetupHelper.dll
                            C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3277: des conflits entre diff‚rentes versions du mˆme assembly d‚pend
                            ant ont ‚t‚ trouv‚s, et qui n'ont pas pu ˆtre r‚solues. Ces conflits de r‚f‚rence sont r‚pertori‚s dans le fichier journal de g‚n‚ration quand les commentaires sont d‚fi
                            nis sur d‚taill‚s. [C:\fog-client\ShutdownGUI\ShutdownGUI.csproj]
                            C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.CSharp.CurrentVersion.targets(133,9): warning MSB3884: le fichier d'ensemble de rŠgles "MinimumRecommendedRules.ruleset
                            " est introuvable. [C:\fog-client\ShutdownGUI\ShutdownGUI.csproj]
                              ShutdownGUI -> C:\fog-client\bin\FOGShutdownGUI.exe
                              PrinterManagerHelper -> C:\fog-client\bin\PrinterManagerHelper.exe
                            Copying Theme to build
                            Zipping Build for installer
                            Building MSI
                            Building Smart Installer
                            ILMerging Smart Installer
                            ILMerging Debugger
                            ILMerging PrinterManagerHelper
                            
                            
                            1 Reply Last reply Reply Quote 0
                            • S
                              Sebastian Roth Moderator
                              last edited by Sep 29, 2021, 9:09 AM

                              @tatanas Well done!

                              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                              1 Reply Last reply Reply Quote 0
                              • 1 / 1
                              1 / 1
                              • First post
                                6/14
                                Last post

                              213

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project