[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Re: Running SWT Outside Eclipse Instructions
|
I use IzPack for my installer. It installs a directory in Program Files
with my application and a "lib" folder that has the swt jars and other jars.
The installer also makes the shortcuts in the start menu and such.
There's not any compelling reason to have just a single file instead of a
directory, and in this case, being able to put SWT in your app's directory
would be an advantage I think. To prevent the problems you're talking about
you really need to install SWT somewhere outside of the JRE and the most
logical place would be to install it in a folder with your application.
John
"Robert B" <oh1226@xxxxxxxxxxx> wrote in message
news:frelod$fqh$1@xxxxxxxxxxxxxxxxxxxx
>
> "John Huss" <jhuss@xxxxxxxxxx> wrote in message
> news:fre2p3$m4s$1@xxxxxxxxxxxxxxxxxxxx
>> If you're going to bundle SWT with your application, then why bother
>> installing it into the java home area, and just put it in your
>> application directory instead? This way you don't have to worry about
>> them updating the JVM and you only have to install SWT once and it always
>> works. Plus you don't have to deal with versioning conflicts and you can
>> even make changes to the SWT that you distribute if you like. So I would
>> question the wisdom of this approach.
>
> How do you distribute your program?
>
> I make my programs as a single ".exe" file (using JSmooth, etc.) and
> install using Inno setup installer!
> It creates Start up and desktop menus with program icons, exactly what
> Windows users will expect.
> So I don't have application directory. I am not sure whether there is
> better way than I am doing,
> or I am doing the right way for Windows users.
>
> R.
>