• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

deploying App

 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello !
i have finished an App., just a samples, now i don't know how to deploy it, how an can make an install file as any other Appliactions?
one more thing, in java file how i can know where my App is installed by user?
thank you !!!
 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well,I dont think there is any _Short_ way of making a Installer, the best way will be to create a Executable Jar.
If you Insist to make a Installer you can use windows API's in VB or something ( Not sure ) to make user friendly Installer to copy jars and modify classpath kind of things.
Cheers
 
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
how an can make an install file as any other Appliactions?
You might want to take a look at Zero G's InstallAnywhere (http://www.installanywhere.com).
one more thing, in java file how i can know where my App is installed by user?
The following example is a bit of a hack way to determine the location that a Java app is running in. Perhaps someone else would have a different idea.
[ July 19, 2003: Message edited by: Dirk Schreckmann ]
 
Bartender
Posts: 1844
Eclipse IDE Ruby Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I use a .properties file to hold things like "where the app is installed by the user". I use the (free) InnoSetup installer program, and after installation, it runs a little program that modifies that .properties file to record the directory where it was installed.
Granted, this doesn't help if the user moves the application after install, but I document that properties file. I figure that if they're advanced enough to be mucking about moving things after install, they advanced enough to change that little file. It's not foolproof, but (truthfully) my mother can manage to use it, so...
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic