• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. tatanas
    3. Posts
    T
    • Profile
    • Following 0
    • Followers 0
    • Topics 6
    • Posts 46
    • Best 3
    • Controversial 0
    • Groups 0

    Posts made by tatanas

    • RE: Unable to install printer

      And another one :
      Using the printui command (same as the one used in client source code) remotely with psexec, generate a rights error from windows when -s argument is used (execute as system account).
      As administrator, the printer is installed fine.

      How fog client executes the printui command localy ? as system or logged on user ?

      posted in Bug Reports
      T
      tatanas
    • RE: Unable to install printer

      New test : After upgraded a Windows 7 host (Fog printer ok) to Windows 10, Fog printer installation didn’t work anymore.

      posted in Bug Reports
      T
      tatanas
    • RE: Unable to install printer

      Unfortunately, the problem is still the same after changing 2 registry keys :
      (printer nightmare)
      [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Printers\PointAndPrint]
      “RestrictDriverInstallationToAdministrators”=dword:00000000

      [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print]
      “RpcAuthnLevelPrivacyEnabled”=dword:00000000

      posted in Bug Reports
      T
      tatanas
    • RE: Unable to install printer

      This problem is very strange.
      I was testing on a win7 computer which can’t install printers (fog client 0.12).
      I push a old fog image on it and with the same 0.12 client, it now works.
      It is not really up to date and the problem appears on win10 too (different version).

      posted in Bug Reports
      T
      tatanas
    • RE: Unable to install printer

      @sebastian-roth Sorry I made a mistake, like I said in my previous post, the “Configure” method is called but does nothing (always enter the second “if”).

      posted in Bug Reports
      T
      tatanas
    • RE: Unable to install printer

      Last news :

      • The script never goes in the “Remove” method, so my last suggestion is wrong.
      • I made a mistake about the “Configure” method. It is going into this method but it passes into
      if (string.IsNullOrEmpty(printer.ConfigFile)) return;
      

      and never execute

      PrintUI($"/Sr /n \"{printer.Name}\" /a \"{printer.ConfigFile}\" m f g p", verbose);
      

      EDIT : it is the same behaviour on a computer without problem… I’m lost 🙂

      posted in Bug Reports
      T
      tatanas
    • RE: Unable to install printer

      I made some tests. The same printui command in local works fine.
      So if it’s working in local it should works with fog client which means the added printer is removed/deleted from the host as soon as it’s installed ? It could explain why we can’t see the printer in the host list and why fog client says it’s already configured.

      posted in Bug Reports
      T
      tatanas
    • RE: Unable to install printer

      @sebastian-roth Here are the changes I made in the WindowsPrinterManager.cs at line 41:

      using (Process proc = new Process())
      {
      	proc.StartInfo.FileName = "rundll32.exe";
      	proc.StartInfo.Arguments = $" printui.dll,PrintUIEntry {cmdLine}";
              proc.StartInfo.RedirectStandardOutput = true;
      	proc.StartInfo.UseShellExecute = false;
      	proc.Start();
      	var output = proc.StandardOutput.ReadToEnd();
      	proc.WaitForExit(30*1000);
      
              if (proc.HasExited)
              {
                    Log.Entry(LogName, "PrintUI return code = " + proc.ExitCode);
      	      Log.Entry(LogName, "PrintUI Output = " + output);
              }
              else
              {
                    Log.Entry(LogName, "PrintUI has not finished in a timely fashion, abandoning process");
              }
      }
      

      replacing

      using (var proc = Process.Start("rundll32.exe", $" printui.dll,PrintUIEntry {cmdLine}"))
      {
      ...
      }
      

      Unfortunatly, printui does not return anything…

      Logging the “cmdLine” variable returns this when the first installation attempts:

      cmdLine = /if /b "B503-LASER (fog)" /f "\\@IP_NAS\applications\Imprimantes\HP_LJ_M401\hpcm401u.inf" /r "IP_X.X.X.X" /m "HP LaserJet 400 M401 PCL 6" /q
      

      After that, cmdLine is not used anymore and we’ve got “already configured”.
      I never pass in the procedure

      public override void Configure(Printer printer, bool verbose = false)
      {
      ...
      }
      
      posted in Bug Reports
      T
      tatanas
    • RE: Unable to install printer

      Ok, thanks to you I can build the Fog Client (https://forums.fogproject.org/topic/15757/fog-client-build).
      I would like to log the result of the printui command in WindowsPrinterManager.cs at line 41.
      I added “> c:\printui.log” but it doesn’t work.

      using (var proc = Process.Start("rundll32.exe", $" printui.dll,PrintUIEntry {cmdLine} > c:\\printui.log"))
      

      I don’t know C# so I suppose I could use a method to get Standard Output ?

      posted in Bug Reports
      T
      tatanas
    • RE: Fog client build

      @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
      
      
      posted in Bug Reports
      T
      tatanas
    • RE: Fog client build

      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…

      posted in Bug Reports
      T
      tatanas
    • RE: Fog client build

      @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)
      
      posted in Bug Reports
      T
      tatanas
    • RE: Fog client build

      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)
      
      posted in Bug Reports
      T
      tatanas
    • RE: Fog client build

      @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)
      
      posted in Bug Reports
      T
      tatanas
    • RE: Unable to install printer

      @sebastian-roth I checked Windows event log (spooler log) and didn’t find anything regarding the printer installation.
      Thanks for your time.

      posted in Bug Reports
      T
      tatanas
    • RE: Unable to install printer

      @sebastian-roth We need detailed log of printui command result.
      The command in the client code is the same I have used to test from command line (test was ok), so it’s strange it doesn’t work.

      posted in Bug Reports
      T
      tatanas
    • Fog client build

      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 ?

      posted in Bug Reports
      T
      tatanas
    • 1 / 1