How to prepare a .exe and .app file of a php gtk application for Windows and Mac? - php-gtk

I have written an application using php gtk. How can I make it distributable in form of installers for Windows and Mac?

Related

Why is the debian installer an exe file

I recently downloaded the debian installer iso to use with virtualbox. For security reasons, I mounted it to ensure it was legit. I noticed a file labeled setup.exe. Why would a linux installer be a windows file, and how would the computer be able to run it?
I then decided to look throught the microsoft windows installer. It too used an exe file. How could it run the exe to install windows without windows instlled?
The Debian project has an installer for Microsoft Windows that provides a UI for installing GNU/Linux beginning on a MS Windows platform.
The Windows kernel can be loaded from disk and once it is loaded, like on install, it can start running a .exe file. For similar reasons Linux is an elf format binary. This is how a "Live" disk works, it loads the kernel and then loads up the entire OS including window manager from disk.
To your first question :
I bet you are running VirtualBox on a Windows client right? So there is nothing wrong with using a windows file :)

Create .exe file that can execute on linux and windows By QT creator

I am trying to Create an application by using Qt Creator under Linux, I want to have an .exe file that can be run on both Windows and Linux platform ,how can I do this?
Qt Creator provides support for building and running Qt applications for desktop environments (Windows, Linux, FreeBSD and Mac OS) and mobile devices (Android, BlackBerry, Maemo, and MeeGo). Build settings allow you to switch between build targets. For mobile device targets, Qt Creator can generate an installation package, install it to a mobile device that is attached to the development computer and run it there. Installation packages can be published on the Ovi Store.
So you have to seperately build application for windows and linux to run your QT application. You can see more on Creating executable for Windows using Qt on Linux
Thanks & Regards,
Alok Thaker

Installing .exe package in background within c++ windows service

I have written windows service in VC++ that download files from server as per received file list in XML. File list contains 1) .net framework setup .exe package name 2) msi package name.
Requirement is to install these files in background, here I could perform silent installation for .msi package using msiexec and CreateProcess but for .exe package (ie. for .net framework installer) I can't do it using CreateProcess in background. How I can perform .exe installation in background within windows service application.
Most exe installs allow a silent installation, but have own and different parameters. You have to read their documentation and/or google.
Every .NET framework has slightly different parameters, but some work with "/q /norestart" for example.
E.g. google for "Aaron Stebner's WebLog".

TideSDK app on Mac

I developed an app via TideSDK on OSX. I have a .app and It is working on OSX. However, you know it cannot work on linux or windows. I want to run my app on linux or windows. How can I do that?
In short, you package for each platform. As you are aware mac apps do not run on Windows and it is the same with TideSDK since you are creating something native for each platform.
TideSDK must be installed on each platform to create an executable and bundle for it.
To generate an installer for each system, you need to run commands on each system (windows / linux 32bit / linux 64bit) using tidebuilder.py on the command line.
We will have more to speak about concerning packaging quite soon that will make the task of building and distributing your apps easier. Stay tuned for updates !!

How to run .exe file converted from .jar file using Launch4J tool without Jre

I converted my jar file into .exe using Launch4J. Now as per my need I have to run this exe file on system with no JRE installed. Is it possible to run .exe file converted from jar file without JRE or is there any way to embed JRE with the .exe file?
the exe is just a facility to run the program on windows, it is also needed the JRE.
[]'s
I think you don't need JRE for running a .exe file.But if you create a .exe file from a jar file, you should have JAVA in your system or in any other PC you want to run the .exe file. So JRE comes with the JAVA when installed(only basic thing). I think you can include JRE by using launch4j. I used it long back ago. But I won't personally recommend it. I always use Jar2EXE for converting the jar file to an .exe file.
it's not possible to run the exe without JRE (since the exe is just wrapper of jar)
I would suggest you to use a setup tool to create an Installer. It's the easiest way. Launch4j is not capable of putting JRE into exe, so you would have to send 2 parts (exe + JRE). However if you create an Installer, you'll have just 1 exe file where you have packaged everything. I'd recommend Inno Setup Compiler.
I don't know with Launch4J.
But you can do it with NetBeans and a couple of tools. The result is a standalone installer that packages everything you need (included java files), so your software can run without installing JRE. But in the end it does need JRE to run, only that everything is included, and it's totally portable.
here is this solution

Resources