Software Packaging

A Member? Please Login  
type your username and password to login
Date: September 06, 2008, 05:17 PM
237089 members and 136841 Topics
Latest Member: logikal
Nairaland [Nigerian Forum] Home Help Search Who is currently online? Login Register
Nairaland Forum  |  Technology  |  Programming  |  Software Packaging
Pages: (1) Go Down Send this topic Notify of replies
Author Topic: Software Packaging  (Read 1071 views)
adexbols
Software Packaging
« on: October 15, 2007, 01:41 PM »

Hi gurus. 
I have a project  but I don't really know how to package it.
Packaging in the aspect of it become a bundled project. 
Probably making it an executable file.
I'll be happy to know the procedures to going about it.
Kobojunkie
Re: Software Packaging
« #1 on: October 16, 2007, 12:34 AM »

Quote from: adexbols on October 15, 2007, 01:41 PM
Hi gurus. I have a project but I don't really know how to package it. packaging in the aspect of it become a bundled project. probably makinh it an exectuable file. i'll be happy to know the procedures to going about it.

There is no way from what you posted there that anyone can give you the very best answer possible. You will have to ELABORATE more on what you actually intend to accomplish in your bid to PACKAGE this software of yours. Give more detail so we will not have to spend the next 5 days trying to figure out what exactly it is you need help with. We tech people are not necessarily mind readers.
adexbols
Re: Software Packaging
« #2 on: October 16, 2007, 07:34 AM »

What I mean is that I have a web application but it's in a folder form. I want to make it an executable program(.exe) that is, in a bundled/package form(a file) which means that whenever I click the file, it autorun itself by starting the server and then opening a web browser. hope u got that?
Kamali (m)
Re: Software Packaging
« #3 on: October 16, 2007, 09:39 AM »

What is your development platform ,i mean ASP,ASP.Net,JSP etc
adexbols
Re: Software Packaging
« #4 on: October 16, 2007, 12:32 PM »

It's actually an OFBiz application which involves jsp, java and also xml files.
Kobojunkie
Re: Software Packaging
« #5 on: October 16, 2007, 12:35 PM »

What exactly do you mean when you say it should auto run itself?? You mean the first page opens and then you input content to trigger events and what nots??
adexbols
Re: Software Packaging
« #6 on: October 16, 2007, 12:41 PM »

for the application to work,  i need to start the server , then also put the the url.  so I want there to be a way that  I can do all these processes at once .itself


i.e starting the server, then loading a web browser and the web browser to navigate to the url link all automatically.
Kobojunkie
Re: Software Packaging
« #7 on: October 16, 2007, 02:19 PM »

I believe in the case of web applications, you will need to have the server be on before you can run any application. I am not sure if there is a way around that at all. If you can write code to automatically turn on the server on click, then that is one thing but I am not sure I would go that way.
If your server is not already running,  it will be unable to handle the incoming request resulting from someone browsing your URL. Why would you want to turn it on and off on-demand anyway?

churchill5 (m)
Re: Software Packaging
« #8 on: October 16, 2007, 06:25 PM »

i understand what u wanted to do, but u are in a local server , u don't have to make your web application to launch the server automatically. when u host your application, u can now call up your application by the address.
IG
Re: Software Packaging
« #9 on: October 16, 2007, 06:33 PM »

I don't know which server you are using but I know there must be a way of starting it from the command line.
Put the command in a batch file followed by a command to launch your browser with the appopriate url.

1- create a file with any name and a .bat extension e.g startapp.bat
2- Put the following in it

    a. command to launch your webserver e.g c:\apache\bin\apache.exe
    b. command to launch your browser e.g iexplore http:\\localhost:pathtoapp

Note that iexplore launches internet explorer and opens any url passed to it.

the bat file acts like a program executing the commands inside it. Run it to lauch your app.

but I believe there is a way of making your web sever run as a system service such it starts when the
operating system starts and stops when the operating system stops. If you can make it that way the
you don't have to worry about starting the server. All you need then is a web shortcut on your desktop
pointing to the url of your app.

Hope that helps
adexbols
Re: Software Packaging
« #10 on: October 16, 2007, 11:13 PM »

@ IG

I'm really very greatful for your assistance  and i also appreciate the other people's efforts.


but i still need help on how the server can start automatically as u said earlier. i tried the solution u gave but the iexplore http://localhost:port/app  batch file didnt work
IG
Re: Software Packaging
« #11 on: October 17, 2007, 02:49 PM »

To be sure that the problem is from the iexplore line, try this

First make sure your web server is running

go to start menu -> run and enter the command  iexplore <url of you app>

Inernet explorer should start and go to the url you specified.

By the way, which webserver are you using ?
adexbols
Re: Software Packaging
« #12 on: October 17, 2007, 03:23 PM »

that one worked but the batch file didnt. i'm using OFBiz as my webserver

or better still.  tell me the commands to put again in my batch file to upload my url.10x
IG
Re: Software Packaging
« #13 on: October 18, 2007, 07:40 PM »

I've never used OFBiz server but I understand that it's some kind of application server.
Now you need to research a little and find out how to start OFBIz server from the command line.

Go to Menu->Accessories->command prompt

type in the command to see if it works.

Now open a new text file using notepad

Type in the command that starts OFBiz server
Type in the command to open your url in the browser like you did using the run menu

save the file with a .bat extension. Note that notepad appends .txt to whatever file you save.
To avoid that put the file name in quotation e.g "startapp.bat" to avoid getting startapp.bat.txt from notepad.

Now double click on the batch file to run the commands inside it.

Hope that helps.
@tomX (m)
Re: Software Packaging
« #14 on: October 19, 2007, 06:48 PM »

The batch file should work but you need to include the keyword "start" before iexplorer; like this

start iexplore http://localhost/mysite.com

enjoy!
adexbols
Re: Software Packaging
« #15 on: October 22, 2007, 03:45 PM »

I'm really very grateful forr your support. It really helped me to solving the proble m.



 Wink ;)but I still have a problem which I would still need your help for Smiley Smiley

I do install the application folder manually(copy and paste )whenever i want to deploy it on a new system. Can you please tell me how I can do an auto installer, that runs whenever i insert my CD so that it will auto run and also request the directory where the folder should be installed Huh Huh 10x a  lot
adexbols
Re: Software Packaging
« #16 on: October 30, 2007, 10:16 AM »

@tomx

i'm really gr8ful but i need the server to start first before the explorer.Huh
@tomX (m)
Re: Software Packaging
« #17 on: October 30, 2007, 12:39 PM »

Hi,
If you intend to start the server first, just put the line of bat command to start the server before that of the one to start explorer.
I would advice you try a server like Apache (it bundle in WAMP5). It's a free, powerful open source server and ussualy auto runs with your system.

To create a folder or manipulate folders on your system you can use so many scripts. If you want to use your bat file to do that do something like:-

if not exist "C:\Documents and Settings\User Name\Desktop\Your Folder" mkdir "C:\Documents and Settings\User Name\Desktop\Your Folder"

most programing languages support these thing . To learn more on bat file use your F1 key to launch windows help and run a search on .bat, or bat files or cmd file.
buddie (m)
Re: Software Packaging
« #18 on: October 30, 2007, 05:05 PM »

Talk to Guru BODE,what you need is a batch file to exe. Grin, at a little cost anyway.I'm presently not in the country.i dey my village.we talk anyway.
theboy0808 (m)
Re: Software Packaging
« #19 on: October 31, 2007, 04:03 AM »

Since your topic says "software packaging" this is useful if you are packaging sofware
Installshield
It will help you organize, package your software and and then make it an executable file
"setup.exe"

One catch though it ain't free!

Try google, there might be free ones or even a torrent download for installshield
Binary (m)
Gates loses title as world's richest man
« #20 on: October 31, 2007, 01:54 PM »

Gates loses title as world's richest man.accordint g to cnn. you can read more from this link.
www.news.com/2100-1001-239838.html
Smart K. (m)
Re: Software Packaging
« #21 on: October 31, 2007, 02:24 PM »

Quote
Gates loses title as world's richest man.accordint g to cnn. you can read more from this link.
www.news.com/2100-1001-239838.html
 

Pleeeeaaaseee, next time u are posting information try and confirm how updated the information is. This article was written in the year 2000, u can guess how current it is.

Good luck.
IG
Re: Software Packaging
« #22 on: October 31, 2007, 03:02 PM »

Installshield ain't free but you can try NSIS (nsis.sourceforge.net)
It's free and very powerful.
buddie (m)
Re: Software Packaging
« #23 on: October 31, 2007, 05:05 PM »

Have you made any progress so far? Cool
buddie (m)
Re: Software Packaging
« #24 on: October 31, 2007, 05:11 PM »

http://www.ezau.com/latest/articles/autorun.shtml

[autorun]
open=Filename.exe
icon=Filename.icon


thats about all,just edit and make sure the exe files is in the parent directory.
akinelias
Re: Software Packaging
« #25 on: October 31, 2007, 10:06 PM »

hi,

u people are wonderful, i wish am able to make reasonable contribution like you.

please how do i go about it,where to start and how, please help
proxies (m)
Software Packaging
« #26 on: November 06, 2007, 03:07 PM »

thank you guys for the contributions but i think we wont mind getting more here
 Porting PHP/MYSQL Applications to Micro-Controller Based Devices  Tracking Position Via The Internet  Oracle Stored Procedure  Page 2
Pages: (1) Go Up Send Topic to Friend by E-mail Reply 
Google
 
Web www.nairaland.com
Sections: TV/Movies (2) Music/Radio (2) Celebrities Job Talk Jobs/Vacancies (2) Career Talk Romance Books Politics Sports Fashion Travel
Health Schooling Religion General(2) Business Webmaster Programming Computers Phones Cars & Trucks

Links: Page1 Page2 Page3 Page4 Page5 Page6 Page7 Page8 Page9 Page10

Nairaland is owned by Oluwaseun Osewa
Nairaland Forum | Powered by SMF 1.0.12.
© 2001-2005, Lewis Media. All Rights Reserved.