Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Klugy app deployment

Status
Not open for further replies.

philrock

Programmer
Jan 29, 2004
109
US
My son and I have written a mechanical engineering app in VB 2008. I'm a mechanical engineer; my son's a programmer. We hope to eventually market the app.

We paid no attention to the issue of deployment until very late in the game. My son finally came up with a deployment scheme that doesn't require much user intervention, but takes a lot of time - about 20 minutes.

I've installed a lot of software much more powerful and complicated than ours (MS Office, AutoCad, SolidWorks), that seems to install much more gracefully than ours. If I purchased a program and its install procedure went like ours, I might well abort the installation before it finished, and put it off until I really felt like suffering. My impression is that this is inherent in apps created in VB. Is that correct? Should we be considering porting our program over to C++ or Delphi?
 
I've never created a deployment package for VB.Net or VB6 for that matter which took up to twenty minutes to install.

Are you installing a lot of data in addition to your executable code? This could be things like bitmaps which would take up a lot of space, or database files, etc. If this is the case, then those items are probably larger than your executable code, so I don't see how using another language for your code would make this any better for you. You'd still have large data files to copy.

There are other things to check -- have you tried installing this application on multiple PCs? Perhaps the problem exists on your test machine only.

You could also try a third-party product to create installation packages such as InstallShield if you are so inclined.
 
I've used INNO Setup, which is free and works quite well IMHO. Here's the link:




I used to rock and roll every night and party every day. Then it was every other day. Now I'm lucky if I can find 30 minutes a week in which to get funky. - Homer Simpson

Arrrr, mateys! Ye needs ta be preparin' yerselves fer Talk Like a Pirate Day!
 
Guys,

Thanks for the ideas. I'll talk with my son about whether we're loading lots of data, and I'll check out INNO Setup.

I do remember my son talking about .net framework components for computers that do not already have them.
 
I've never done this, but it is very common that if you do have a lot of data to zip it all and have the program pull from those zip files as needed. Just a though if it turns out it is the number of files causing the problem.

-I hate Microsoft!
-Forever and always forward.
-My kingdom for a edit button!
 
I do remember my son talking about .net framework components for computers that do not already have them."

If you are installing net framework items as well as your app, then you could very well be increasing the amount of time it takes to install dramatically. Especially if you are only using the bootstrap versions of the net framework and the actual data is being downloaded from microsoft's servers on demand. The amount of time the install could take would depend on the particular PCs connection speed to the internet. You can avoid this by using the full redistributable versions of the framework.

All of this can be componded if you have to install more than one version of net framework ( i.e. 1.1, 2.0, 3.0, 3.5 etc... )
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top