Solved

How to set destination install directory in visual studio 2008 publish...

Posted on 2008-06-17
17
646 Views
Last Modified: 2013-11-26
Hi!

Have made a application in visual studio 2008.
And have made a publish for this app.

But have tryed to install this app on a client PC.
But always give me errors.... ?

How can i setup the publish files in visual studio 2008.
How to set destination install directory ?

Please help ASAP.

Thanks
0
Comment
Question by:team2005
  • 9
  • 8
17 Comments
 
LVL 29

Expert Comment

by:Gautham Janardhan
ID: 21801359
what sort of errors are u getting?
0
 
LVL 2

Author Comment

by:team2005
ID: 21801402
Hi!

The one from microsoft, that say that i must close application
And i can send error to microsoft....

But also when i run the setup, it dosent ask for destination direktory.
Where i want to install software ?

0
 
LVL 29

Expert Comment

by:Gautham Janardhan
ID: 21801432
are u getting any error when trying to publish the application.. what is ur publish location ?
when u are using click once publishing it wont ask u for path it'will install itself into users app data section..not like any other application which will ask u where to install..
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
LVL 2

Author Comment

by:team2005
ID: 21801471
Hi

No, i get no errors when publish app. And the location for published files is on my local PC
C drive. But where to change that i can set destination installation directory ?

Thanks for helping me out...

0
 
LVL 29

Expert Comment

by:Gautham Janardhan
ID: 21801509
when installing application thru click once deployment , i dont think u can change the destination installation folder
0
 
LVL 2

Author Comment

by:team2005
ID: 21801528
Hi!

Is there some tools out there. To make a complete setup ?
Tool that takes my MSI from Visual studio 2008 ?

0
 
LVL 29

Expert Comment

by:Gautham Janardhan
ID: 21801554
u can use the setup and deploayment project type to do this..
create a new project by selecting the project type 'Setup' from 'Other Project Type' -> 'Setup and Deployment' -> 'Setup'
0
 
LVL 2

Author Comment

by:team2005
ID: 21801617
Hi'1

Found this project...
But how do i import the project (MSI) to this setup ?
0
 
LVL 29

Expert Comment

by:Gautham Janardhan
ID: 21801640
right click on the project and then selct add-> Project Out put.
from the combo box select the project for which u want to create the setup..click ok and the build...after build in the bin folder u will get one setup.exe and setup.msi
0
 
LVL 2

Author Comment

by:team2005
ID: 21801675
Hi!

Found select add, but the combo box have NO projects in it. ???

0
 
LVL 29

Expert Comment

by:Gautham Janardhan
ID: 21801704
the setup project must be in the same solution as the project whose setup has to be created
0
 
LVL 2

Author Comment

by:team2005
ID: 21801767
Hi!

Aha, found out this now. Thanks

Now its make a setup.exe....

But when i install this, it install the setup.exe only ????

0
 
LVL 29

Expert Comment

by:Gautham Janardhan
ID: 21801788
there will be a setup.msi also.. u can use this also for installations.
0
 
LVL 2

Author Comment

by:team2005
ID: 21801924
Hi!

Tryed both exe and msi
But same result, install only the setup.exe + msi

Why ?
0
 
LVL 29

Accepted Solution

by:
Gautham Janardhan earned 500 total points
ID: 21801940
<But when i install this, it install the setup.exe only>

what did u add to the setup project ?.. if u had added ur project then when u run the setup.exe/msi the o/p of the project will get installed.
0
 
LVL 2

Author Comment

by:team2005
ID: 21802083
Hi!

Tryed to recompile the holde project.
And then build setup again, and now its working
Strange....

So i thank you for all your help, and give you the points...

Thanks
0
 
LVL 2

Author Closing Comment

by:team2005
ID: 31467902
Thanks
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question