|
-
Jan 13th, 2010, 10:57 PM
#1
Thread Starter
Fanatic Member
[RESOLVED] Running an application made in vs2005
hi, i did a project in vb.net using the vs2005.I created the set up of the application.But when i install the set up in a machine in which vs is not installed then the set up does not work.Again when the machine has vs installed then the setup works nicely............why is it such?
should i need to install this:
http://www.microsoft.com/downloads/d...displaylang=en
on every client machine in which vs is not installed but still i want to install the set up of my application?
or some other software in order to run my application?
please need some urgent help
thank you
-
Jan 13th, 2010, 11:09 PM
#2
Re: Running an application made in vs2005
You need version 2.0 of the .NET Framework installed to run an app built with VS 2005. If you have an installer for your app then you should have the installer install the Framework for you, which both ClickOnce publishing and Setup projects can do. Otherwise, you or the user will need to install the Framework manually.
-
Jan 13th, 2010, 11:44 PM
#3
Thread Starter
Fanatic Member
Re: Running an application made in vs2005
 Originally Posted by jmcilhinney
If you have an installer for your app then you should have the installer install the Framework for you, which both ClickOnce publishing and Setup projects can do
from where i can get the installer for an application?Is it some kind of a spftware which i need to download and install on the user machine???
-
Jan 13th, 2010, 11:48 PM
#4
Re: Running an application made in vs2005
You said in your first post that you'd already created an installer. You need to explain your situation clearly. If we don't know what you're doing then it's hard to fix the problem.
That said, in VS you can either publish your project to use ClickOnce or else build a Setup project to use Windows Installer. VB Express supports only ClickOnce.
-
Jan 14th, 2010, 12:19 AM
#5
Thread Starter
Fanatic Member
-
Jan 14th, 2010, 12:26 AM
#6
Re: Running an application made in vs2005
You don't install the setup. The Setup project builds an installer and you run that installer to install your app on another machine. That's it. VS is irrelevant. As I said, what you need is the .NET Framework. Obviously the .NET Framework gets installed when you install VS, otherwise it wouldn't work.
If you want your installer to install the .NET Framework for you then you should go into the project properties and check the .NET Framework in the prerequisites. That said, I would have thought that that would be done by default.
-
Jan 14th, 2010, 12:33 AM
#7
Thread Starter
Fanatic Member
Re: Running an application made in vs2005
 Originally Posted by jmcilhinney
If you want your installer to install the .NET Framework for you then you should go into the project properties and check the .NET Framework in the prerequisites
Now i get your point jmc.........I had a look at this:
-
Jan 14th, 2010, 12:41 AM
#8
Thread Starter
Fanatic Member
-
Jan 14th, 2010, 12:54 AM
#9
Re: Running an application made in vs2005
The properties for the Setup project, not your application project. It's the installer that's going to install the Framework, not the app.
-
Jan 14th, 2010, 01:04 AM
#10
Thread Starter
Fanatic Member
Re: Running an application made in vs2005
thanks a lot for guiding me jmc
ok i checked it:
Here is a snapshot of the same:

i can see the last three lines with a radiobutton in fromt of them.......
i did not select of change them while creating the setup.............the first radiobutton was selected by default..........
do i need to change it in order to install the .net framework by the installer itself?
-
Jan 14th, 2010, 01:43 AM
#11
Re: Running an application made in vs2005
That first RadioButton indicates that the Framework will be downloaded and installed on demand, if and when it's needed. That is the preferred option if your installer is being distributed electronically, e.g. via download or email. It requires that the user be online when they install.
If you're distributing your installer on physical media, e.g. CD or DVD, then you should select the second option and rebuild, then put the Framework installer on the media too.
Note that, in order to install those components, the user MUST run the Setup.exe file that gets created when you build your project, NOT the MSI file. The MSI is just the Windows Installer package for your app. Setup.exe is the bootstrapper, which initiates installation of the various components.
-
Jan 14th, 2010, 01:49 AM
#12
Thread Starter
Fanatic Member
Re: Running an application made in vs2005
my client dont have the internet connection so that he can be online while installing the installer.........
which option should i select then?
-
Jan 14th, 2010, 01:56 AM
#13
Re: Running an application made in vs2005
 Originally Posted by Tommy.net
my client dont have the internet connection so that he can be online while installing the installer.........
which option should i select then?
Um, I gave you two options. I said that the user must be online to use the first option. If the user isn't online then you can't use the first option. How many options does that leave? So, why exactly are you asking me which option you should choose? Please try thinking for yourself first.
-
Jan 14th, 2010, 02:01 AM
#14
Thread Starter
Fanatic Member
Re: Running an application made in vs2005
Sorry for irritating you jmc.......
I have to select the second option and give him the setup.exe of my application as well as the set up of the framewrok installer.......am i right?
one more thing..........if i give my client the two installers namely my setup and the .net framework in a Dvd,then is there something like this that he needs to installer the .net framework installer first and then my applications setup.exe......
or he can also install the setup.exe first and then the later?
-
Jan 14th, 2010, 02:46 AM
#15
Thread Starter
Fanatic Member
Re: Running an application made in vs2005
after building the setup project,i got these folders namely Debug,Release and the Setup1(a file with extension .vdproj)
now within the Debug folder there are an .exe and a .msi files........
now if i only take this .exe file and the .net framework installer in a cd and give it to my client then will it work?
or i need to give all the debug folder(containing .msi and .exe) and the release folder and the .vdproj file along with the .net framework installer?
please help
-
Jan 14th, 2010, 04:43 AM
#16
Fanatic Member
Re: Running an application made in vs2005
i think you need only the setup.exe and the .net framework installer.......
No need of the .msi .........
but i am not sure about it..........
-
Jan 14th, 2010, 04:51 AM
#17
Re: Running an application made in vs2005
What you need is to set the build configuration to Release, build the solution and then deploy the entire contents of the Release folder under your Setup project.
-
Jan 14th, 2010, 04:55 AM
#18
Thread Starter
Fanatic Member
Re: Running an application made in vs2005
How to set the build configuration to release sir?Where can i find the build configuration?
what is the purpose of release sir?
-
Jan 14th, 2010, 04:59 AM
#19
Thread Starter
Fanatic Member
Re: Running an application made in vs2005
ok i did it sir:
-
Jan 14th, 2010, 04:59 AM
#20
Thread Starter
Fanatic Member
Re: Running an application made in vs2005
but what is the purpose of making the build configuration to release?
-
Jan 14th, 2010, 05:06 AM
#21
Thread Starter
Fanatic Member
Re: Running an application made in vs2005
ok jmc sir ........
i builded my project and finally i get three things in my release folder namely:
1)dotnetfx folder containing the dotnetfx.exe
2)setup.exe
3).msi
now how to deploy the entire contents of the Release folder under the Setup project?
i mean what does the term deploy means here?
Last edited by Tommy.net; Jan 14th, 2010 at 05:14 AM.
-
Jan 14th, 2010, 07:35 AM
#22
Fanatic Member
Re: Running an application made in vs2005
I had a go through this thread and i also did the same.......
but i am also hung up with how to deploy the contents of the release folder to the setup project 
how to???
please help
-
Jan 14th, 2010, 08:55 AM
#23
Re: Running an application made in vs2005
Copy it to a disc and hand it to the user to install.
-
Jan 14th, 2010, 09:00 AM
#24
Fanatic Member
Re: Running an application made in vs2005
oops......so the contents of the release folder are ready to be installed?
which files of the release folder should be installed?
-
Jan 14th, 2010, 09:16 AM
#25
Re: Running an application made in vs2005
 Originally Posted by HowTo
oops......so the contents of the release folder are ready to be installed?
which files of the release folder should be installed?
I've already answered that question and I'm not fond of repeating myself. Please read the information that's already been provided before asking questions. What's the point of answering questions if the answers don't get read?
-
Jan 14th, 2010, 09:22 AM
#26
Thread Starter
Fanatic Member
Re: Running an application made in vs2005
@HowTo---it has already been told that only the .net installer and the applications installer are needed to be installed in the client machine to run your application.........
@jmc sir what is the meaning of deploying?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|