473,378 Members | 1,152 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Deploying VB app without package

vdraceil
236 100+
I recently saw a game developed with VB.It just has an exe with some DLLs and support files(pic n sound files) inside a folder.
It runs without installing anything to the computer.
A package with all those files must require a larger disk sapce than this one.
So,does anybody know how to do this kind of application distribution/deployment?
Feb 2 '09 #1
4 1418
Keithuk
10
@vdraceil
Well this will depend on what additional ActiveX's your app uses. If it only uses the standard controls on the VB6 Toolbox then all you need is the VB6 RunTime Files mainly msvbvm60.dll. If you app is going onto a Win2k/XP/Vista system then they are installed as standard.

If your app uses additional ActiveX's e.g. comdlg32.ocx then it maybe on the users system if not then you will have to include it in your own simple package along with a ReadMe note telling the user where to put this file, Win\Sys. Don't worry about registering the ocx there is no need when your app is running. It only has to be registered when you use it in VB IDE.

You haven't said if your app uses any additional files e.g. help files, pictures, text files etc. You could included these in a Resource file and use them from in there. The only thing you have to remember with this is it increases the compiled exe size by the same amount as the filesizes added.
Feb 3 '09 #2
vdraceil
236 100+
In the game which i have all the necessary dlls and other files in the same folder..doesnt that mean it is not necessary to put the dll files in win/sys32 folder?
(if it is mandatory to put the dlls in such folders,then i suppose a package is a must)
Feb 4 '09 #3
Keithuk
10
@vdraceil
It depends how these dll's are called for. As a general rule they should all be in the Win\Sys32 folder. What the installer should do it check if this dll is already in the Win\Sys32 folder and if its older than the date of the newer one you are trying to install.

The advantage of installation packages is it put all the files in the correct place. I've said it before in your other topic on this subject. I wouldn't bother with P&D Wizard because its 10 yeas old now. I would opt for Inno Setup because you can have problems installing in Win2k/XP/Vista with P&D Wizard.
Feb 4 '09 #4
vdraceil
236 100+
Then hw does that game run with all its dlls in its app folder??
Feb 5 '09 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: damjanu | last post by:
Hi; I have spent some time investigating this issue, and I would like to verify with you my findings. I would greatly appreciate someone experianced saying yes to what I concluded, or no and...
1
by: Mister_d | last post by:
When deploying a solution using the Access 2003 runtime engine, do you have to use the packaging wizard that comes with the Access 2003 Developer Extentions, or can you use other packaging software...
1
by: greenfrog | last post by:
Hi there, I'm new to the forum and new to Visual Basic so please forgive my ignorance! I just downloaded Visual Basic Express for free, and made my hello world program. I burned a CD with the...
21
by: Al Christoph | last post by:
I posted this last week end in the MSDN forums. No luck there. Let's see what the experts here have to say:-)))) I have a rather convoluted project. The distributable will come in eight...
4
by: Steve Long | last post by:
Hello, I 'm not sure if this is the correct forum to post this question in but, I using MS' suggested method of using their setup.exe and settings.ini to deploy dotnetfx.exe with my deployment...
0
by: Roger | last post by:
In my previous asp.net app, I am able from the Visual Studio, select "Publish Web Site" by right clicking on the solution and selecting the menu item. But, how do you publish a asp web app that...
6
by: Ryan | last post by:
Is there any way to save a VB 2005 created application as an .MSI install file? The only method I see is to publish as a .EXE. Curious because I want to push out an application with Group Policy....
3
by: pooba53 | last post by:
I have a VB .NET 2003 application that communicates with an Access db. I am deploying the application using the Wizard that creates an install package and it IS properly grabbing the Access db and...
0
by: jimmarq | last post by:
I need reporting functionality in my app, but for several reasons, I don't want to have to package any DLL files in a setup. I want to deploy my application straight to a shared network drive with...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.