Solved

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

Posted on 2008-06-17
17
641 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
 
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
DevOps Toolchain Recommendations

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

 
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

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.

Question has a verified solution.

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

Summary Displaying images in RichTextBox is a common requirement with limited solutions available. Pasting through clipboard or embedding into RTF content only support static images.  This article describes how to insert Windows control objects int…
Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

910 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now