note: I don’t have experience publishing outside of the new Windows Store, and only light exp. even for that.
Does it deploy there automatically (or rather by default?)
I’d recommend using an installer tool instead and just build to your working path build folder.
“C:\Work\explottens\Explottens\proj.win32\Debug" (or similar)
SPACES are the devil in paths. I get it (command separator), but still.
You can try prefixing all spaces with a backslash: ‘“C:\Program\ Files\ (x86)"
Beyond that you may have to tweak the deploy python script, which isn’t great, so I’d re-recommend building to a path without spaces and then using an installer tool (e.g. NSIS or similar) to package it up for release that eventually installs to prog files.
hey, Thanks for the help. the build is in the release folder but the size is 2.4gb … I tried NSIS but still the size is too big.
Do you know which script is ran for cocos deploy -p win32 -m release? It does seem to run cocos compile first which i ran manually like this
“C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\devenv.com” “C:\Work\explottens\Explottens\proj.win32\Explottens.sln” /Build “Release” /Project “Explottens”
… but I cant find which script puts it in the bin folder as release and compact version.