Deploying VB 2005 applications easily?

Hello folks,

I've written some VB Express 2005 applications and I'm looking for the best way/method of deploying them. Many of the machines I'm running these applications on do not have internet access and thus, do not have .net 2.0. Is there a way I can re-compile these programs in c++ express 2005 to relieve this requirement, or can I include ALL of the dependencies on a CD

Thanks!



Answer this question

Deploying VB 2005 applications easily?

  • Jero

    I'll try your suggestion again, but I think I've had problems with this in the past. I get an error that the setup files cannot be found.

    Also, the CD autorun stuff doesn't seem to work at all.


  • Peter L

    I know this works in regular Visual Studio 2005, but I'm not completely sure about the Express version - I hear their Click-once deployment is basically identical.

    In the Solutions Properties page, click the Prerequisites button. In the dialog that comes up, select "Download prerequisites from the same location as my application". Be sure ".Net Framework 2.0" is checked as a prerequisite. When you publish your solution to a CD, the setup file for the framework should be there with your application. The CD setup program should install the framework if it's not already there.

    This can be done with SQL Server Express and similar files as well.


  • AlexJD

    Ok, I'm trying the suggestion and I'm getting the errors I spoke of earlier. Here's the text from all of the errors, in order:

    Error 1 Cannot publish because a project failed to build. 1 1 CoBox Utility

    Error 2 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX\instmsia.exe' in item '.NET Framework 2.0' can not be located on disk. See Help for more information. CoBox Utility

    Error 3 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX\WindowsInstaller-KB893803-v2-x86.exe' in item '.NET Framework 2.0' can not be located on disk. See Help for more information. CoBox Utility

    Error 4 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX\dotnetfx.exe' in item '.NET Framework 2.0' can not be located on disk. See Help for more information. CoBox Utility

    Error 5 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe' in item 'Windows Installer 3.1' can not be located on disk. See Help for more information. CoBox Utility

    Now, I've downloaded the WindowsInstaller-KB893803-v2-x86.exe and the dotnetfx.exe from the Microsoft website, but don't know where to put them.

    Any help please


  • ACSM99

    Hi. This has all been covered in another post. Search for (Publish Can't Find Redist Files.) That Post will tell you How to put the redistributable file in the bootstrapper packages. You can also clear the check box for making a setup program for the redistributables and don't include them when you publish. Then burn the dotnetfx onto your CD. When you open the CD on the other computer just double click the dotnetfx to open the installer that's already with it and install it. Then you can install your program with the installer that's on that computer. you won't need Windows installer 3.1 that way. If your thinking of using Visual C++ with the Platform SDK You'd best be experenced with C++. The Visual C++ Express with the Platform SDK is the most crippled version of the Express versions I've found. You will Have to write all the code for your controls and it gets pretty confusing with all the header files and Cpp files.

    Roger G.


  • Deploying VB 2005 applications easily?