Re: Digest for titanium-desktop-transition@googlegroups.com - 7 Messages in 2 Topics

50 views
Skip to first unread message

Guadalupe Estrada Flores

unread,
Sep 3, 2012, 6:15:29 PM9/3/12
to titanium-desk...@googlegroups.com
A few months ago I had some troubles packaging on the cloud, so I had to use a script I found to package on windows, maybe someone can find it useful:
This should be the content of the .bat file:

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
@echo off
REM Dependencies:
REM  WiX v3
REM  .NET Framework Version 2
REM  Imagick's convert.exe
REM  ReplaceVistaIcon.exe
REM
REM Usage: local_build_win32.bat "G:\TitaniumWorkspace\ProjectName" "G:\TitaniumWorkspace\Installers"
 
set TSRC="C:\Users\owner\AppData\Roaming\Titanium"
set TSDK=%TSRC%\sdk\win32\1.1.0
set PYTHON_DIR=%TSRC%\modules\win32\python\1.1.0
 
%PYTHON_DIR%\python.exe %TSDK%\tibuild.py -p %TSDK%\installer_template.wxs -a %TSDK% -t bundle -d %2 -s %TSRC%  %1
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
You need to install the utils described in comments.
Also, you need to remove these lines from "installer_template.wxs", otherwise it will fail:
<Custom Action="NetInstall.Params" After="InstallFiles">NOT Installed</Custom>
<Custom Action="NetInstall.Setup" After="NetInstall.Params">NOT Installed</Custom>
<Custom Action="NetInstall" After="NetInstall.Setup">NOT Installed</Custom>
....
<Binary Id="TitaniumInstallerDll" SourceFile=${titanium_installer_dll}/>

This will generate a .msi installer of your desktop application.

Regards

Lupita


On Mon, Sep 3, 2012 at 4:43 PM, <titanium-desk...@googlegroups.com> wrote:

Group: http://groups.google.com/group/titanium-desktop-transition/topics

    Luis Specian <lspe...@gmail.com> Sep 02 06:44PM -0300  

    Rodrigo,
     
    Inside your Titanium IDE you go to the menu item on top *Help *and then
    choose* Install specific Titanium SDK** *then from the browse file menu,
    you choose the .zip file downloaded from TideSDK website.
     
    [image: Inline image 1]
     
    After that you should be able to create a New Project with TideSDK on your
    titanium.
     
    [image: Inline image 2]
     
    About Apple Lion, the second ss was tooked from a lion 10.7.4 vm
     
    :D
     
     
     
     
     

     

    Rodrigo Costa <rod...@rscdev.net> Sep 02 03:41PM -0700  

    Wow,
     
    Thank you very much for the screenshots Luis!
     
    BTW, I`ve got it but for some reason (that I do not know why) when I open
    my *Titanium Studio >> NEW*, there isn`t that option to build for *Desktop
    Project* as your screenshot shows. Instead, to get the option to start a
    NEW Desktop Project I have to go FILE>> NEW >> OTHER >> TITANIUM and so
    there are shown 3 options to build for that are: *Mobile Project*, *Mobile
    Module Project* AND also the *Desktop Project. *:)
     
    So, I started a new desktop project but I was surprised to see that there
    were not any .js file (as the normal app.js) to start coding/editing. I
    only found a .html file to start with and so I assume that I can build for
    desktop but I have to "program" in HTML, am wrong? :S
     
     
    Thanks one more time!
    Cheers,
    Rodrigo.
     
    Em domingo, 2 de setembro de 2012 18h44min48s UTC-3, Luis Specian escreveu:

     

    Rodrigo Costa <rod...@rscdev.net> Sep 03 07:10AM -0700  

    Thanks Luis.
     
    BTW I`ve found only Python, Ruby and PHP at the link you passed, not
    JavaScript. :(
     
    I think my question would be: The apps that I code for mobile can be built
    for desktop?
     
     
    Cheers,
    Rodrigo.
     
    Em segunda-feira, 3 de setembro de 2012 10h11min16s UTC-3, Luis Specian
    escreveu:

     

    Luis Specian <lspe...@gmail.com> Sep 03 03:11PM -0300  

    Ok, I don´t think you will be able to do that, since the code for mobile is
    based on the TiApi that is build around the Device you are using (IOS or
    Android), they have some in common but you have to be careful to run a app
    in both, if I´m not mistaken there are some parts of the api that just run
    on IOS and some just run on Android.
     
    What you can do is a html desing that is responsive, and the publish as a
    HTML view on mobile, and use the same to the desktop.
     
    Regards.
     

     

    Rodrigo Costa <rod...@rscdev.net> Sep 03 11:36AM -0700  

    OK!
     
    Luis, I really appreciate all the info you`ve shared with me here. I`ll
    keep look into it and see what I can do.
     
    Cheers,
     
    Em segunda-feira, 3 de setembro de 2012 15h11min07s UTC-3, Luis Specian
    escreveu:

     

You received this message because you are subscribed to the Google Group titanium-desktop-transition.
You can post via email.
To unsubscribe from this group, send an empty message.
For more options, visit this group.




--
<<...Maybe I'm not at the height of your desires. Maybe I've caused more disappointments than reasons for you to be proud of me. Maybe I'm just a burden. Maybe you just wish I didn't exist. Maybe it's just the rain that makes me... cry...>>
Reply all
Reply to author
Forward
0 new messages