Hi Guys,
Thank you for the reply but I am still not able to create a setup for my project. When I try to use publish wizard i get the below errors ... In pre requisites I have given the following url
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=fe6f2099-b7b4-4f47-a244-c96d69c35dec&displaylang=en
Error 1 Cannot publish because a project failed to build. Lead_Management_Project
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 (x86)' can not be located on disk. See Help for more information. Lead_Management_Project
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 (x86)' can not be located on disk. See Help for more information. Lead_Management_Project
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 (x86)' can not be located on disk. See Help for more information. Lead_Management_Project
Please give me step by step solution for vb 2008 express edition ...
Hi Ashwin,
Ok, lets get some info on what your using to build and publish your program, what version of Visual Studio or Visual Basic are you using (2006 / 2008).
Lets say your using Visual Basic 2008 express
I am going to tell you what I use in my prerequisites, I was going to mention it last night but I thought you might have left them at default, here is what I use to publish my programs and as daft as it sounds this is what could be causing your problems.
I have selected
Windows Installer 3.1
.NET Framework 3.5
and thats it
Now most computers that run the latest Windows operating system (Vista, Win7) run with the .NET Framework 3.5 as standard, so if its a standard PC installing your software this should work.
NOW lets do some research on your errors.
Error 1. did you get any errors when you originally published your program
Error 2. it seems that all the errors are based around the fact that you are trying to create your setup file to run from a website. Do you want to run your set up from a media like a CD, DVD, DATA STICK or are you wanting the program downloadable from a website.
Lets say you want your program to be deployed from a Media source, this is what I would do.
Project Properties
Compile Tab: bin/release
Security Tab: have clickonce security settings selected and decide weather you want the end user to have partial or full trust settings, read through these and decide for yourself which to select
Publish Tab: select a location for the setup file, I use my projects folder in the VB2008 folder = Install Mode and Settings = select the app is available offline as well (launchable from start menu)
these are the options I choose, I will do some more research but this should give you a start.
Let me know how you get on.
Cheers
John