-
[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
-
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.
-
Re: Running an application made in vs2005
Quote:
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???
-
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.
-
5 Attachment(s)
Re: Running an application made in vs2005
Here are the snapshot of the steps that i followed to create a set up of my project:
Attachment 75580
Attachment 75581
then i added the database and the exe of my project as shown in the sanpshot:
Attachment 75582
then i created a shortcut to the desktop:
Attachment 75583
finally i build my project to get the setup:
Attachment 75584
in this way i created a setup of my project.......
now how to install the setup in a machine where vs is not installed?
do i need some third party software?
-
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.
-
1 Attachment(s)
Re: Running an application made in vs2005
Quote:
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:
Attachment 75585
-
1 Attachment(s)
Re: Running an application made in vs2005
i had a look at my project properties but i dont know how to check the .NET Framework in the prerequisites:(
can you say how to check it.....
Attachment 75586
i want my installer to install the .net framework.......
-
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.
-
1 Attachment(s)
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:
Attachment 75588
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?
-
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.
-
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?
-
Re: Running an application made in vs2005
Quote:
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.
-
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?
-
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
-
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..........
-
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.
-
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?
-
1 Attachment(s)
Re: Running an application made in vs2005
ok i did it sir:
Attachment 75590
-
Re: Running an application made in vs2005
but what is the purpose of making the build configuration to release?
-
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?
-
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
-
Re: Running an application made in vs2005
Copy it to a disc and hand it to the user to install.
-
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?
-
Re: Running an application made in vs2005
Quote:
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?
-
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?