sccm 2012 r2 msi packages failing with error 0x643(1603) - sccm

I have a question with sccm 2012 r2 and failed packages. For every package I try to deploy there is the odd one that always returns a generic error message 0x643(1603).
I know that this is a generic msi package message, but something has me confused. When i tried to deploy adobe flash.msi it would download the package, seem to install it but will give an error past due - will be retried.
I have set the time for the package to expire 6 hours ahead of the deployment, so a timeout isn't an issue.
When i looked at the appenforce.log on the client machine ( located at c:\windows\CCM\logs\Appenforce.log) I found the following in the log
[LOG[++++++ App enforcement completed (11 seconds) for App DT "Adobe Flash Player 21 ActiveX - Windows Installer (*.msi file)" [ScopeId_C8F1F365-A3C5-47CB-BD87-DB1E3BCFB76D/DeploymentType_a629d54a-d453-49a1-84c1-0192f983f1e4], Revision: 1, User SID: ] ++++++]LOG]!><time="15:45:20.777+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="29796" file="appprovider.cpp:2448">
[LOG[+++ Starting Install enforcement for App DT "Adobe Flash Player 21 ActiveX - Windows Installer (*.msi file)" ApplicationDeliveryType - ScopeId_C8F1F365-A3C5-47CB-BD87-DB1E3BCFB76D/DeploymentType_a629d54a-d453-49a1-84c1-0192f983f1e4, Revision - 1, ContentPath - C:\WINDOWS\ccmcache\13, Execution Context - System]LOG]!><time="15:49:09.871+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appprovider.cpp:1702">
[LOG[ A user is logged on to the system.]LOG]!><time="15:49:09.872+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appprovider.cpp:2083">
[LOG[ Performing detection of app deployment type Adobe Flash Player 21 ActiveX - Windows Installer (*.msi file)(ScopeId_C8F1F365-A3C5-47CB-BD87-DB1E3BCFB76D/DeploymentType_a629d54a-d453-49a1-84c1-0192f983f1e4, revision 1) for system.]LOG<time="15:49:09.874+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appprovider.cpp:2148">
[LOG[+++ MSI application not discovered [MSI Product Code: {FA944726-00F8-43B5-BB97-33E6FF409C22}, MSI Product version: ]]LOG]!>
<time="15:49:09.875+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="msihandler.cpp:131">
[LOG[ App enforcement environment:
Context: Machine
Command line: msiexec /i "install_flash_player_21_active_x.msi" /q
Allow user interaction: No
UI mode: 0
User token: null
Session Id: 3
Content path: C:\WINDOWS\ccmcache\13
Working directory: ]LOG]!><time="15:49:09.875+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appcontext.cpp:85">
[LOG[ Prepared working directory: C:\WINDOWS\ccmcache\13]LOG]!><time="15:49:09.876+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appcontext.cpp:189">
<![LOG[Found executable file msiexec with complete path C:\WINDOWS\system32\msiexec.exe]LOG]!><time="15:49:09.878+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="executility.cpp:188">
[LOG[ Prepared command line: "C:\WINDOWS\system32\msiexec.exe" /i "install_flash_player_21_active_x.msi" /q /qn]LOG]!><time="15:49:09.879+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appcontext.cpp:338">
[LOG[Valid MSI Package path = C:\WINDOWS\ccmcache\13\install_flash_player_21_active_x.msi]LOG]!><time="15:49:09.880+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appcontext.cpp:765">
[LOG[ Advertising MSI package [C:\WINDOWS\ccmcache\13\install_flash_player_21_active_x.msi] to the system.]LOG]!><time="15:49:09.881+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appcommon.cpp:125">
[LOG[ Executing Command line: "C:\WINDOWS\system32\msiexec.exe" /i "install_flash_player_21_active_x.msi" /q /qn with user context]LOG]!><time="15:49:10.268+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appexcnlib.cpp:201">
[LOG[ Working directory C:\WINDOWS\ccmcache\13]LOG]!><time="15:49:10.269+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appexcnlib.cpp:215">
[LOG[ Post install behavior is BasedOnExitCode]LOG]!><time="15:49:10.272+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appcommon.cpp:1094">
[LOG[ Waiting for process 27844 to finish. Timeout = 120 minutes.]LOG]!><time="15:49:10.273+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appexcnlib.cpp:1958">
[LOG[ Process 27844 terminated with exitcode: 1603]LOG]!><time="15:49:21.074+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appexcnlib.cpp:1967">
[LOG[ Looking for exit code 1603 in exit codes table...]LOG]!><time="15:49:21.075+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appexcnlib.cpp:505">
[LOG[ Unmatched exit code (1603) is considered an execution failure.]LOG]!><time="15:49:21.075+420" date="05-27-2016" component="AppEnforce" context="" type="2" thread="31144" file="appexcnlib.cpp:591">
[LOG[++++++ App enforcement completed (11 seconds) for App DT "Adobe Flash Player 21 ActiveX - Windows Installer (*.msi file)" [ScopeId_C8F1F365-A3C5-47CB-BD87-DB1E3BCFB76D/DeploymentType_a629d54a-d453-49a1-84c1-0192f983f1e4], Revision: 1, User SID: ] ++++++]LOG]!><time="15:49:21.076+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appprovider.cpp:2448">
[LOG[+++ Starting Install enforcement for App DT "Adobe Flash Player 21 ActiveX - Windows Installer (*.msi file)" ApplicationDeliveryType - ScopeId_C8F1F365-A3C5-47CB-BD87-DB1E3BCFB76D/DeploymentType_a629d54a-d453-49a1-84c1-0192f983f1e4, Revision - 1, ContentPath - C:\WINDOWS\ccmcache\13, Execution Context - System]LOG]!><time="15:49:27.388+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appprovider.cpp:1702">
[LOG[ A user is logged on to the system.]LOG]!><time="15:49:27.388+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appprovider.cpp:2083">
[LOG[ Performing detection of app deployment type Adobe Flash Player 21 ActiveX - Windows Installer (*.msi file)(ScopeId_C8F1F365-A3C5-47CB-BD87-DB1E3BCFB76D/DeploymentType_a629d54a-d453-49a1-84c1-0192f983f1e4, revision 1) for system.]LOG]!><time="15:49:27.391+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appprovider.cpp:2148">
[LOG[+++ MSI application not discovered [MSI Product Code: {FA944726-00F8-43B5-BB97-33E6FF409C22}, MSI Product version: ]]LOG]!><time="15:49:27.391+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="msihandler.cpp:131">
[LOG[ App enforcement environment:
Context: Machine
Command line: msiexec /i "install_flash_player_21_active_x.msi" /q
Allow user interaction: No
UI mode: 0
User token: null
Session Id: 3
Content path: C:\WINDOWS\ccmcache\13
Working directory: ]LOG]!><time="15:49:27.392+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appcontext.cpp:85">
[LOG[ Prepared working directory: C:\WINDOWS\ccmcache\13]LOG]!><time="15:49:27.393+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appcontext.cpp:189">
[LOG[Found executable file msiexec with complete path C:\WINDOWS\system32\msiexec.exe]LOG]!><time="15:49:27.394+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="executility.cpp:188">
[LOG[ Prepared command line: "C:\WINDOWS\system32\msiexec.exe" /i "install_flash_player_21_active_x.msi" /q /qn]LOG]!><time="15:49:27.395+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appcontext.cpp:338">
[LOG[Valid MSI Package path = C:\WINDOWS\ccmcache\13\install_flash_player_21_active_x.msi]LOG]!><time="15:49:27.395+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appcontext.cpp:765">
[LOG[ Advertising MSI package [C:\WINDOWS\ccmcache\13\install_flash_player_21_active_x.msi] to the system.]LOG]!><time="15:49:27.396+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appcommon.cpp:125">
[LOG[ Executing Command line: "C:\WINDOWS\system32\msiexec.exe" /i "install_flash_player_21_active_x.msi" /q /qn with user context]LOG]!><time="15:49:27.800+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appexcnlib.cpp:201">
[LOG[ Working directory C:\WINDOWS\ccmcache\13]LOG]!><time="15:49:27.801+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appexcnlib.cpp:215">
[LOG[ Post install behavior is BasedOnExitCode]LOG]!><time="15:49:27.803+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appcommon.cpp:1094">
[LOG[ Waiting for process 29956 to finish. Timeout = 120 minutes.]LOG]!><time="15:49:27.805+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appexcnlib.cpp:1958">
[LOG[ Process 29956 terminated with exitcode: 1603]LOG]!><time="15:49:38.441+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appexcnlib.cpp:1967">
[LOG[ Looking for exit code 1603 in exit codes table...]LOG]!><time="15:49:38.441+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appexcnlib.cpp:505">
[LOG[ Unmatched exit code (1603) is considered an execution failure.]LOG]!><time="15:49:38.442+420" date="05-27-2016" component="AppEnforce" context="" type="2" thread="31144" file="appexcnlib.cpp:591">
[LOG[++++++ App enforcement completed (11 seconds) for App DT "Adobe Flash Player 21 ActiveX - Windows Installer (*.msi file)" [ScopeId_C8F1F365-A3C5-47CB-BD87-DB1E3BCFB76D/DeploymentType_a629d54a-d453-49a1-84c1-0192f983f1e4], Revision: 1, User SID: ] ++++++]LOG]!><time="15:49:38.443+420" date="05-27-2016" component="AppEnforce" context="" type="1" thread="31144" file="appprovider.cpp:2448">
In the error codes for the package i have:
0 - success (no reboot)
1707- success (no reboot)
3010 - soft reboot
1641 - hard reboot
1618 - fast retry
I guess my main question is why does this package keep failing? This has me scratching my head. I am sorry for the formatting of the log files, I tried to clear it up as best as i could.
Thanks!

Make sure this file exists C:\WINDOWS\ccmcache\13\install_flash_player_21_active_x.msi
Run the msi from this location to see what error you get. Mine was .net3.5 wasn't installed.

You need to set the MSI to create an install log (add "/L*v C:\Windows\Temp\flash-install.log" for example to the command line) and check there to see why the msi is failing.

Delete Hkcu/installer/produits/"active x container" and try again

Related

Installing Dolt on Windows 10

I was trying dolt out for windows for a project ran into this error Access to the path 'C:\ProgramData\chocolatey\lib-bad' is denied. I think its was permissions issue.
Do you want to continue?([Y]es/[N]o): Y
Installing the following packages:
dolt
By installing you accept licenses for the packages.
Progress: Downloading dolt 0.40.0... 100%
dolt not installed. An error occurred during installation:
Access to the path 'C:\ProgramData\chocolatey\lib\dolt\tools' is denied.
dolt package files install completed. Performing other installation steps.
The install of dolt was NOT successful.
dolt not installed. An error occurred during installation:
Access to the path 'C:\ProgramData\chocolatey\lib\dolt\tools' is denied.
This is try 1/3. Retrying after 300 milliseconds.
Error converted to warning:
Access to the path 'C:\ProgramData\chocolatey\lib-bad' is denied.
This is try 2/3. Retrying after 400 milliseconds.
Error converted to warning:
Access to the path 'C:\ProgramData\chocolatey\lib-bad' is denied.
Maximum tries of 3 reached. Throwing error.
Cannot create directory "C:\ProgramData\chocolatey\lib-bad". Error was:
System.UnauthorizedAccessException: Access to the path 'C:\ProgramData\chocolatey\lib-bad' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
at chocolatey.infrastructure.filesystem.DotNetFileSystem.<>c__DisplayClass64.<create_directory>b__63()
at chocolatey.infrastructure.tolerance.FaultTolerance.<>c__DisplayClass1.<retry>b__0()
at chocolatey.infrastructure.tolerance.FaultTolerance.retry[T](Int32 numberOfTries, Func`1 function, Int32 waitDurationMilliseconds, Int32 increaseRetryByMilliseconds, Boolean isSilent)
at chocolatey.infrastructure.filesystem.DotNetFileSystem.create_directory(String directoryPath)
at chocolatey.infrastructure.filesystem.DotNetFileSystem.create_directory_if_not_exists(String directoryPath, Boolean ignoreError)
Chocolatey installed 0/0 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Access to the path 'C:\ProgramData\chocolatey\lib-bad' is denied.
Your attempt had this error:
Access to the path 'C:\ProgramData\chocolatey\lib-bad' is denied.
Running chocolatey with admin privileges should help.
Example:
Run your powershell as admin
You should see installation works

Xcode server bot: pre Scripts error Trigger Error: Trigger exited with non-zero status 1

I wanna setup a Xcode server for archive my project, but i get a tigger issues that tigger error Tigger exited with non-zero status 1.
That is my scripts:
#!/bin/sh
#make sure the encoding is correct
export LANG=en_US.UTF-8
# fix the path so Ruby can find it's binaries
export PATH=/usr/local/bin:$PATH
# echo "PATH: $PATH"
cd "${XCS_PRIMARY_REPO_DIR}/ZHXShop/"
/usr/local/bin/pod install --verbose --no-repo-update
My Project named ZHXShop, also "/usr/local/bin/pod" can search in my computer finder, and i don't use Fastlane in my project
My env:
Xcode -> 11.5
Mac os -> 10.15.5
Cocoapods -> 1.9.1
Ruby -> 2.7.0
rvm -> 1.29.10
The end i hope your answers
Try adding a wait right after you call to pod install. You can add this as a Add Pre-Integration Triggers when you edit your Xcode Server Bot.
#!/bin/sh
# cd to where your Podfile is
cd "${XCS_PRIMARY_REPO_DIR}/ZHXShop/"
# add to the path, or explicitly add the path to your `pod` call
export PATH=/usr/local/bin:$PATH
pod install --verbose --no-repo-update
wait
Notes I found on wait
The wait() function suspends execution of its calling thread until status information is available for a child process or a signal is
received.

Tidal Cycles cabal install failure

I'm trying to install tidal cycles to program live music - but am running into errors when running cabal install tidal via cmd
Logs:
Resolving dependencies...
Downloading mwc-random-0.14.0.0
Starting network-3.0.1.0
Downloaded mwc-random-0.14.0.0
Starting mwc-random-0.14.0.0
Failed to install network-3.0.1.0
Build log ( C:\Users\Moz\AppData\Roaming\cabal\logs\ghc-8.6.3\network-3.0.1.0-KyWTN8R07Nk13a65qAf8xd.log ):
Configuring network-3.0.1.0...
cabal.exe: The package has a './configure' script. If you are on Windows, This
requires a Unix compatibility toolchain such as MinGW+MSYS or Cygwin. If you
are not on Windows, ensure that an 'sh' command is discoverable in your path.
cabal: Leaving directory 'D:\Temp\TMP\cabal-tmp-7496\network-3.0.1.0'
Building mwc-random-0.14.0.0
Completed mwc-random-0.14.0.0
cabal: Error: some packages failed to install:
hosc-0.17-Gak1PuEPYn3IoGtbGyt03X depends on hosc-0.17 which failed to install.
network-3.0.1.0-KyWTN8R07Nk13a65qAf8xd failed during the configure step. The
exception was:
ExitFailure 1
tidal-1.0.7-G7PMBDSlH0ZK2qQ3UODU3y depends on tidal-1.0.7 which failed to
install.
Cheers for any help
All good, needed to add these lines to config file:
extra-prog-path: C:\Program Files\Haskell Platform\8.6.3\msys\usr\bin
extra-lib-dirs: C:\Program Files\Haskell Platform\8.6.3\mingw\lib
extra-include-dirs: C:\Program Files\Haskell Platform\8.6.3\mingw\include
Cheers anyhow

Building QScintilla on Windows fails

I was able to build the most recent version of QScintilla (2.9.1) on Ubuntu 15.10. I have tried building the same version on Windows 10 using Qt 5.6. QMake run to completion without giving errors. A call to Make gives the following error message:
make -f Makefile.Release
make[1]: Entering directory 'G:/Sources/QScintilla/QScintilla_gpl-2.9.2/Qt4Qt5'
Makefile.Release:822: *** missing separator. Stop.
make[1]: Leaving directory 'G:/Sources/QScintilla/QScintilla_gpl-2.9.2/Qt4Qt5'
makefile:34: recipe for target 'release' failed
make: *** [release] Error 2
What am I doing wrong? How can I solve it?
I ran into similar issues. I eventually got a working 'QScintilla' on my Windows 10 machine as described below.
My PC has the following specifications:
Windows 10, 64-bit OS
Anaconda package installed (Python 3.5)
PyQt5 installed (download the .exe installer from https://www.riverbankcomputing.com/software/pyqt/download5)
STEP 1:
Download the file QScintilla-2.9.2-cp35-none-win_amd64.whl from the site https://pypi.python.org/pypi/QScintilla .
Put the file in the folder:
C: \ .. \ Anaconda \ Scripts \
We will use this .whl file to do the installation of QScintilla.
_
STEP 2:
Open the Windows cmd tool with Administrator privileges! Now type the following command:
> cd "C:\..\Anaconda\Scripts"
This brings the cmd shell to the right spot. Now type the following command:
> pip3 install QScintilla
If all goes well, you get the following message:
> pip3 install QScintilla
Collecting QScintilla
Downloading QScintilla-2.9.2-cp35-none-win_amd64.whl (1.6MB)
100% |################################| 1.6MB 984kB/s
Collecting PyQt5 (from QScintilla)
Downloading PyQt5-5.6-cp35-none-win_amd64.whl (74.7MB)
100% |################################| 74.7MB 23kB/s
Collecting sip (from PyQt5->QScintilla)
Downloading sip-4.18-cp35-none-win_amd64.whl (46kB)
100% |################################| 51kB 5.7MB/s
Installing collected packages: sip, PyQt5, QScintilla
..
Successfully installed PyQt5-5.6 QScintilla-2.9.2 sip-4.18
_
STEP 3:
I did not get the message "Successfully installed" from the first shot. Instead I got the following error message:
PermissionError: [Errno 13] Permission denied: 'C:\..\anaconda\Lib\site-packages\sip.pyd'
Apparently the file sip.pyd sitting in the directory C:\..\anaconda\Lib\site-packages could not be accessed. So I opened another Windows command shell (of course again with Administrator privileges!) and typed the following command:
> icacls "C:\..\Anaconda\Lib\site-packages" /grant "Administrators":(OI)(CI)F /T
This command will give full access rights (read - modify and write) to all "Administrator" users for all the files in the site-packages folder, and all the files in its subfolders. While this command executes, you should get the following messages:
...
processed file: C:\..\Anaconda\Lib\site-packages\__pycache__\readline.cpython-35.pyc
processed file: C:\..\Anaconda\Lib\site-packages\__pycache__\simplegeneric.cpython-35.pyc
processed file: C:\..\Anaconda\Lib\site-packages\__pycache__\six.cpython-35.pyc
processed file: C:\..\Anaconda\Lib\site-packages\__pycache__\test_path.cpython-35.pyc
processed file: C:\..\Anaconda\Lib\site-packages\__pycache__\test_pycosat.cpython-35.pyc
...
Successfully processed 38589 files; Failed processing 0 files
Now you can repeat STEP 2, and it should work!

How to build a .sln file using mdtool on OS X

I'm trying to compile a .sln file within /SteamBot-master/SteamBot.sln.
After research I found out that I can only use mdtool within the mdtool directory within Xamarin Studio. So what I enter into the Terminal is the following:
"/Applications/Xamarin\ Studio.app/Contents/MacOS/mdtool" -v build SteamBot-master/SteamBot.sln
This is the error message I get:
-bash: /Applications/Xamarin\ Studio.app/Contents/MacOS/mdtool: No such file or directory
The mdtool.exec application is within the MacOS file, I already checked that. When I try to run the application within Xamarin Studio, I get the following error:
/Users/Johannes/SteamBot-master/.nuget/NuGet.targets: Error: Command 'bash "/Users/Johannes/SteamBot-master/.nuget/../.ci/exec-with-retry.sh" mono --runtime=v4.0.30319 /Users/Johannes/SteamBot-master/.nuget/NuGet.exe install "packages.config" -source "" -RequireConsent -solutionDir "/Users/Johannes/SteamBot-master/"' exited with code: 127. (SteamTrade)
I'd really appreciate if someone could help me fix this so I can use the application. Thank you very much in advance, and I apologize for my lack of programming knowledge.
Edit: New Error Message
jo-macbook:~ Johannes$ /Applications/Xamarin\ Studio.app/Contents/MacOS/mdtool -v build SteamBot-master/SteamBot.sln
Xamarin Studio Build Tool
Projektmappe /Users/Johannes/SteamBot-master/SteamBot.sln wird geladen
Projektmappe /Users/Johannes/SteamBot-master/SteamBot.sln wird geladen
Loading projects ..
Erzeuge Projektmappe: SteamBot (Debug)
SteamTrade (Debug) wird erzeugt
Build started 30.08.2015 14:59:16.
__________________________________________________
Project "/Users/Johannes/SteamBot-master/SteamTrade/SteamTrade.csproj"
(Build target(s)):
Target RestorePackages:
Executing: bash
"/Users/Johannes/SteamBot-master/.nuget/../.ci/exec-with-retry.sh" mono
--runtime=v4.0.30319 /Users/Johannes/SteamBot-master/.nuget/NuGet.exe
install "packages.config" -source "" -RequireConsent -solutionDir
"/Users/Johannes/SteamBot-master/"
bash: /Users/Johannes/SteamBot-master/.nuget/../.ci/exec-with-retry.sh:
No such file or directory
/Users/Johannes/SteamBot-master/.nuget/NuGet.targets: error : Command
'bash "/Users/Johannes/SteamBot-master/.nuget/../.ci/exec-with-retry.sh"
mono --runtime=v4.0.30319
/Users/Johannes/SteamBot-master/.nuget/NuGet.exe install
"packages.config" -source "" -RequireConsent -solutionDir
"/Users/Johannes/SteamBot-master/"' exited with code: 127.
Task "Exec" execution -- FAILED
Done building target "RestorePackages" in project
"/Users/Johannes/SteamBot-master/SteamTrade/SteamTrade.csproj".-- FAILED
Done building project
"/Users/Johannes/SteamBot-master/SteamTrade/SteamTrade.csproj".-- FAILED
Build FAILED.
Errors:
/Users/Johannes/SteamBot-master/SteamTrade/SteamTrade.csproj (Build) ->
/Users/Johannes/SteamBot-master/.nuget/NuGet.targets (RestorePackages
target) ->
/Users/Johannes/SteamBot-master/.nuget/NuGet.targets: error : Command
'bash "/Users/Johannes/SteamBot-master/.nuget/../.ci/exec-with-retry.sh"
mono --runtime=v4.0.30319
/Users/Johannes/SteamBot-master/.nuget/NuGet.exe install
"packages.config" -source "" -RequireConsent -solutionDir
"/Users/Johannes/SteamBot-master/"' exited with code: 127.
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.1292110
/Users/Johannes/SteamBot-master/.nuget/NuGet.targets : error: Command 'bash "/Users/Johannes/SteamBot-master/.nuget/../.ci/exec-with-retry.sh" mono --runtime=v4.0.30319 /Users/Johannes/SteamBot-master/.nuget/NuGet.exe install "packages.config" -source "" -RequireConsent -solutionDir "/Users/Johannes/SteamBot-master/"' exited with code: 127.
I am assuming you are using the SteamBot source code from GitHub:
https://github.com/Jessecar96/SteamBot
The .ci/exec-with-retry.sh file is missing since this is part of the continuous integration build and it is not on GitHub.
Probably the simplest workaround is to edit the .nuget/NuGet.targets file and change the following line:
<RestoreCommand Condition=" '$(OS)' != 'Windows_NT' ">bash "$(NuGetToolsPath)\..\.ci\exec-with-retry.sh" $(NuGetCommand) install "$(PackagesConfig)" -source "$(PackageSources)" $(RequireConsentSwitch) -solutionDir "$(SolutionDirParsed)"</RestoreCommand>
To:
<RestoreCommand Condition=" '$(OS)' != 'Windows_NT' ">$(NuGetCommand) install "$(PackagesConfig)" -source "$(PackageSources)" $(RequireConsentSwitch) -solutionDir "$(SolutionDirParsed)"</RestoreCommand>
This just removes the reference to the file and to bash.
The problem is that you have effectively double-escaped the space. Either enclose a command with spaces in it inside double quotes, or put a backslash in front of each space, but not both!
Use either of these:
/Applications/"Xamarin Studio.app"/Contents/MacOS/mdtool ...
or
/Applications/Xamarin\ Studio.app/Contents/MacOS/mdtool ...

Resources