Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2008-06-17
17
Medium Priority
?
653 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

 
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 2000 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

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

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

Flash (http://en.wikipedia.org/wiki/Adobe_Flash) has evolved over the years to where it has become a masterful tool for displaying content screen.  It has excellent layout placement, UI precision as well as rendering capabilities. This, along with t…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

618 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