• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Windows installer build fails for unknown reason?

It is beyond me what the problem is. I'm using a local worker, Windows building to windows, VM output(yyc also fails but does not output anything), default config, and no compile errors as far as I know. the build is successful when I build as a zip. respond if I'm missing something.

here is the output:
"cmd" /c subst Z: "C:\Users\jorda\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE"

elapsed time 00:00:00.0583224s for command "cmd" /c subst Z: "C:\Users\jorda\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE" started at 04/28/2021 21:58:57
"cmd" /c subst Y: "C:\Users\jorda\AppData\Local\GameMakerStudio2\GMS2TEMP"

elapsed time 00:00:00.0392355s for command "cmd" /c subst Y: "C:\Users\jorda\AppData\Local\GameMakerStudio2\GMS2TEMP" started at 04/28/2021 21:58:57
"cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.3.2.426"

elapsed time 00:00:00.0366616s for command "cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.3.2.426" started at 04/28/2021 21:58:57
"C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.3.2.426/bin/Igor.exe" -j=8 -options="C:\Users\jorda\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Windows PackageNsis

Loaded Macros from C:\Users\jorda\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\maze_eu_38E27257\macros.json
Options: X:/bin\platform_setting_defaults.json
Options: C:\Users\jorda\AppData\Roaming/GameMakerStudio2\jordankrobison05_1521931\local_settings.json
Options: C:\Users\jorda\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\maze_eu_38E27257\targetoptions.json
Setting up the Asset compiler
X://bin/GMAssetCompiler.exe /c /mv=1 /zpex /iv=0 /rv=0 /bv=0 /j=8 /gn="maze eu" /td="Y:/" /cd="Z:/maze_eu_38E27257" /zpuf="C:\Users\jorda\AppData\Roaming/GameMakerStudio2\jordankrobison05_1521931" /m=windows /tgt=64 /nodnd /cfg="Default" /o="Y:/maze_eu_7ECD806_VM" /sh=True /optionsini="Y:/maze_eu_7ECD806_VM\options.ini" /cvm /baseproject="X:/BaseProject\BaseProject.yyp" "C:\Users\jorda\game dev stufffffffffffffffffffffffffff\projets\maze eu\maze eu.yyp" /preprocess="Z:/maze_eu_38E27257"
We have a Zeus Project!
Found Project Format 2
Core Resources : Debug Info - Subresource not found 6c467cdf-be21-4855-acb6-e63d7b115cbd on Sprite42
ProjectFileWatcher:StartWatching:C:\Users\jorda\game dev stufffffffffffffffffffffffffff\projets\maze eu
Started: 4/28/2021 9:58:58 PM
Finished: 4/28/2021 9:59:00 PM
Diff: 00:00:01.1207687
Loaded Project: maze eu
finished.
Release build
Options: Z:/maze_eu_38E27257\ExtensionOptions.json
OptionsIni
Options: Z:/maze_eu_38E27257\PlatformOptions.json
[Compile] Run asset compiler
X://bin/GMAssetCompiler.exe /c /mv=1 /zpex /iv=0 /rv=0 /bv=0 /j=8 /gn="maze eu" /td="Y:/" /cd="Z:/maze_eu_38E27257" /zpuf="C:\Users\jorda\AppData\Roaming/GameMakerStudio2\jordankrobison05_1521931" /m=windows /tgt=64 /nodnd /cfg="Default" /o="Y:/maze_eu_7ECD806_VM" /sh=True /optionsini="Y:/maze_eu_7ECD806_VM\options.ini" /cvm /baseproject="X:/BaseProject\BaseProject.yyp" "C:\Users\jorda\game dev stufffffffffffffffffffffffffff\projets\maze eu\maze eu.yyp" /bt=exe /rt=vm /64bitgame=false
Compile Constants...finished.
Remove DnD...finished.
Compile Scripts...finished.
Compile Rooms...finished.
Compile Objects...finished.
Compile Timelines...finished.
Compile Triggers...finished.
Compile Extensions...finished.
Global scripts...finished.
finished.
collapsing enums.
Final Compile...finished.
Looking for built-in particle images in C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.3.2.426\bin\ParticleImages
Saving IFF file... Y:/maze_eu_7ECD806_VM\maze eu.win
Writing Chunk... GEN8
option_game_speed=60
Writing Chunk... OPTN
Writing Chunk... LANG
Writing Chunk... EXTN
Writing Chunk... SOND
Writing Chunk... AGRP
Writing Chunk... SPRT
Writing Chunk... BGND
Writing Chunk... PATH
Writing Chunk... SCPT
Writing Chunk... GLOB
Writing Chunk... SHDR
Writing Chunk... FONT
Writing Chunk... TMLN
Writing Chunk... OBJT
Writing Chunk... ACRV
Writing Chunk... SEQN
Writing Chunk... TAGS
Writing Chunk... ROOM
Writing Chunk... DAFL
Writing Chunk... EMBI
Writing Chunk... TPAGE
Texture Group - Default
Writing Chunk... TGIN
Writing Chunk... CODE
Writing Chunk... VARI
Writing Chunk... FUNC
Writing Chunk... STRG
Writing Chunk... TXTR
0 Compressing texture... writing texture texture_0.png...
1 Compressing texture... writing texture texture_1.png...
Writing Chunk... AUDO
Stats : GMA : Elapsed=2274.1673
Stats : GMA : sp=44,au=14,bk=2,pt=0,sc=12,sh=0,fo=3,tl=0,ob=56,ro=12,da=1,ex=1,ma=545,fm=0xB30C4CFD2A24
DoSteam
Igor complete.
PlatformOptions
DoVersion
DoIcon
X:/\windows\makensis\makensis.exe /DPRODUCT_NAME="tank game 1.4" /DMAKENSIS="X:/\windows\makensis" /DINSTALLER_FILENAME="C:\Users\jorda\game dev stufffffffffffffffffffffffffff\builds\tank game\Tonk setup 1.4.exe" /DSOURCE_DIR="Y:/maze_eu_7ECD806_VM" /DLICENSE_NAME="C:\Users\jorda\game dev stufffffffffffffffffffffffffff\projets\maze eu\options\windows\C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.3.0.401\BaseProject\options\windows\installer\license.txt" /DFULL_VERSION="1.4.0.11" /DEXE_NAME="tank game 1.4.0" /DFILE_DESC="Installer for name has not been decided" /DCOPYRIGHT_TXT="(c) 2021 Jordan(whataboutme)" /DPRODUCT_PUBLISHER="whataboutme" /DICON_FILE="C:\Users\jorda\game dev stufffffffffffffffffffffffffff\projets\maze eu\options\windows\icons\icon.ico" /DIMAGE_FINISHED="X:\\BaseProject\options\windows\installer\finished.bmp" /DIMAGE_HEADER="X:\\BaseProject\options\windows\installer\header.bmp" C:\Users\jorda\game dev stufffffffffffffffffffffffffff\projets\maze eu\options/windows/installer/nsis_sc
ript.nsi
MakeNSIS v2.46 - Copyright 1995-2009 Contributors
See the file COPYING for license details.
Credits can be found in the Users Manual.

Command line defined: "PRODUCT_NAME=tank game 1.4"
Command line defined: "MAKENSIS=X:/\windows\makensis"
Command line defined: "INSTALLER_FILENAME=C:\Users\jorda\game dev stufffffffffffffffffffffffffff\builds\tank game\Tonk setup 1.4.exe"
Command line defined: "SOURCE_DIR=Y:/maze_eu_7ECD806_VM"
Command line defined: "LICENSE_NAME=C:\Users\jorda\game dev stufffffffffffffffffffffffffff\projets\maze eu\options\windows\C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.3.0.401\BaseProject\options\windows\installer\license.txt"
Command line defined: "FULL_VERSION=1.4.0.11"
Command line defined: "EXE_NAME=tank game 1.4.0"
Command line defined: "FILE_DESC=Installer for name has not been decided"
Command line defined: "COPYRIGHT_TXT=(c) 2021 Jordan(whataboutme)"
Command line defined: "PRODUCT_PUBLISHER=whataboutme"
Command line defined: "ICON_FILE=C:\Users\jorda\game dev stufffffffffffffffffffffffffff\projets\maze eu\options\windows\icons\icon.ico"
Command line defined: "IMAGE_FINISHED=X:\\BaseProject\options\windows\installer\finished.bmp"
Command line defined: "IMAGE_HEADER=X:\\BaseProject\options\windows\installer\header.bmp"
Can't open script "C:\Users\jorda\game"


X:/\windows\makensis\makensis.exe exited with non-zero status (1)
elapsed time 00:00:06.1763958s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.3.2.426/bin/Igor.exe" -j=8 -options="C:\Users\jorda\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Windows PackageNsis started at 04/28/2021 21:58:57
"cmd" /c subst Z: /d

elapsed time 00:00:00.0457016s for command "cmd" /c subst Z: /d started at 04/28/2021 21:59:03
"cmd" /c subst Y: /d

elapsed time 00:00:00.0455579s for command "cmd" /c subst Y: /d started at 04/28/2021 21:59:03
"cmd" /c subst X: /d

elapsed time 00:00:00.0342479s for command "cmd" /c subst X: /d started at 04/28/2021 21:59:03
FAILED: Package Program Complete
For the details of why this build failed, please review the whole log above and also see your Compile Errors window.
 

TsukaYuriko

☄️
Forum Staff
Moderator
Core Resources : Debug Info - Subresource not found 6c467cdf-be21-4855-acb6-e63d7b115cbd on Sprite42
Can't open script "C:\Users\jorda\game"
At a glance, these two lines stick out like sore thumbs in terms of "something wrong" probability to me.


Inspect Sprite42 for any potential issues. Delete and recreate it if you find nothing.

The path to your project seems to be cut off. I can see in the log that there's supposed to be a space after "\game" followed by the rest of the path. Try removing all spaces from the file path.
 

Slyddar

Member
The path to your project seems to be cut off. I can see in the log that there's supposed to be a space after "\game" followed by the rest of the path. Try removing all spaces from the file path.
Yeh I've seen this error before. I'm pretty sure the space is causing the issue. Not sure why, as spaces are allowed in projects though, but shortening the path/removing the spaces has fixed it in the past.
 
I have no idea where C:\Users\jorda\game is coming from. there is no script or element of the game outside it's folder. There is no such path on my computer.

I later reset the NSIS and license agreement and suppressed and unsuppressed Sprite42. It made the errors go away but it still failed because of the path. Then I ran the game, then packaged it. And the build was successful. I tried those things before but this time it wasn't successful until I Ran the game and built it. Thanks for the help.
 

TsukaYuriko

☄️
Forum Staff
Moderator
C:\Users\jorda\game comes from C:\Users\jorda\game dev stufffffffffffffffffffffffffff\projets\maze eu being used in a command line environment where spaces are used to separate arguments. This is synonymous to calling a function as
thing("C:\Users\jorda\game", "dev", "stufffffffffffffffffffffffffff\projets\maze", "eu"); rather than thing("C:\Users\jorda\game dev stufffffffffffffffffffffffffff\projets\maze eu");, which is more than likely to break something.
 
Top