Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 539
  • Last Modified:


I have created an application using VB. I have converted the .vbp file into .exe file. Right now I am intrested to come up with a setup.exe file containing my vb .exe file, database as well as other related files like crystal report so that users can install the file thru a step by step process. How is it done?.

Your help is kindly appreciated.

1 Solution

Use the package and deployment wizard that comes with vb, or winzip.
SirNick is right on the button.

...easily found by:

Start / Programs / Microsoft Visual Basic / Application setup Wizard

A tip is to save the ".SWT" file that gets created such that you can run it again with the same data/files.
SirNick and PNJ are both absolutely correct. However I wopuld like to elaborate a bit.

1) You can use the Package and deployment Wizard thro VB.
2) Select menu option Add-Ins-> AddIn Manager. You will find Package and deployment Wizard asone of the options. Double click on it and click OK.

3) Now again open the menu Add-Ins and u wud find the Package and deployment Wizard option available to you. This is a very simple wizard.

4) In order to add your other files, such as reports, acces database files, etc, one of the steps (2nd or 3rd step) in the wizard, has a button caled "Add". Click it and browse all ur additional files. Then conntinue te rest of the steps with the defaults. This will create ur setup.

Hope it works for u.
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Another option would be to use the Visual Studio Installer.

Freely downloadable from ms, it runs in the same style IDE as InterDev and lets you manage references, shortcuts, extra files, and the installation interface.

Plus it generates its output as a single Microsoft Installer (.msi) file, which is both practical and cool-looking.
eugene007Author Commented:
on in the case of crystal report what are the supportive files that I need to include in the setup.exe file, so
that when it is installed on another machinese I would be able to view my crystal report.
I believe you only need CRPE32.DLL (which I think stands for Crystal Reports Print Engine). I will stand corrected if I'm wrong though in either case!
when you use the package wizard will tell you what you need

Depending on which Crystal reports functions you are using will need different DLLs.

If user is going to be able to create reports will also need to licence......

Try the wizard and go from there. It's not as easy as it sounds....

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now