• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 691
  • Last Modified:

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

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
team2005
Asked:
team2005
  • 9
  • 8
1 Solution
 
Gautham JanardhanCommented:
what sort of errors are u getting?
0
 
team2005Author Commented:
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
 
Gautham JanardhanCommented:
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
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

 
team2005Author Commented:
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
 
Gautham JanardhanCommented:
when installing application thru click once deployment , i dont think u can change the destination installation folder
0
 
team2005Author Commented:
Hi!

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

0
 
Gautham JanardhanCommented:
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
 
team2005Author Commented:
Hi'1

Found this project...
But how do i import the project (MSI) to this setup ?
0
 
Gautham JanardhanCommented:
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
 
team2005Author Commented:
Hi!

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

0
 
Gautham JanardhanCommented:
the setup project must be in the same solution as the project whose setup has to be created
0
 
team2005Author Commented:
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
 
Gautham JanardhanCommented:
there will be a setup.msi also.. u can use this also for installations.
0
 
team2005Author Commented:
Hi!

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

Why ?
0
 
Gautham JanardhanCommented:
<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
 
team2005Author Commented:
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
 
team2005Author Commented:
Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 9
  • 8
Tackle projects and never again get stuck behind a technical roadblock.
Join Now