Given all the troubles with the cloud and the fact that not everybody has constant access to the internet at all times:
Is there any chance that you add local packaging (network and bundled), at least for the host platform?
What you need to package locally on Windows:
1) WiX (http://wix.sourceforge.net), v3
2) Probably a newer Version of the .Net Framework (if the WiX executables throw an error)
3) Find the right paths: %APPDATA% does not seem to be the right place at least on my XP I finally encountered the sdk in "All Users"
4) Fix hardcoded paths in wix.py if you are on Language Versions other than English (because Program Files is actually named different). It would be better to use %WIX% which seems to be added by the WiX Installation.
5) Work with a batch file to avoid messing up the paths. e.g. (%1 is your project directory, %2 is the directory where you want the package to be prepared and assembled; use something different, like a "install" subdirectory, because the script will copy over all your project files to this destination and you don't want it to overwrite your original "source" project files):
@echo off set TSRC="C:\Documents and Settings\All Users\Program Data\Titanium" set TSDK=%TSRC%\sdk\win32\1.0.0 set PYTHON_DIR=%TSRC%\modules\win32\python\1.0.0 %PYTHON_DIR%\python.exe %TSDK%\tibuild.py -a %TSDK% -t bundle -d %2 -s %TSRC% %1
Hope this helps other people to get started faster, as long as you can find the TSRC directory :)
Also, maybe this can be hacked into the Titanium Developer, because a local packaging button would be really much better than messing with this using the command line.
PS: Your Q&A software shouldn't touch the source section (i.e. backslash escaping) and also note that editing swallows the escapes……
please give us the button!!!
the desktop packaging guide seems to be buggy/uncomplete for windows - i doesn't got it working.
Sorry if it wasn't expressed well enough but what I really meant was a button in the Developer App that does the job.
And honestly, have you ever tried to follow that document, and manage to package something on Windows for example?
Sure, this already exists: http://developer.appcelerator.com/doc/desktop/packaging