Solved

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

Posted on 2008-06-17
17
649 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
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Iteration Help (Asp.net VB) 5 37
How to repeat the data 4 30
IDE for Python 5 74
Telerik RadEditor Control Save 8 20
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…
It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

697 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