Solved

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

Posted on 2008-06-17
17
635 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
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

744 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

13 Experts available now in Live!

Get 1:1 Help Now