Click here to Skip to main content
11,489,574 members (70,670 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C#4.0
how to force multiple apps to install the the same program files dir using publish

How to force multiple small apps to use the same \Program Files\ sub-directory in an install using publish in VS2010 c# the reason is shared SQL Server Express databases

an answer was given, but I still need to know where Viewing "Target System on Local Machine" is in the publish properties or wizard, or where it is so I can set it

answer given

"You can set a default for the Application Directory by

Viewing "Target System on Local Machine"
right clicking on "Application Folder" and selecting properties.
Set the value of DefaultLocation to the directory where you want the application installed.

Also set the flag AlwaysCreate to false"
Posted 4-Jun-12 12:15pm
Edited 5-Jun-12 10:29am
SAKryukov at 4-Jun-12 21:14pm
Not clear.
Sandeep Mewara at 5-Jun-12 11:18am
This is not a well framed question! We cannot work out what you are trying to do/ask from the post. Please elaborate and be specific.
Use the "Improve question" link to edit your question and provide better information

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 530
1 OriginalGriff 238
2 Maciej Los 190
3 Andy Lanng 183
4 _duDE_ 141
0 Sergey Alexandrovich Kryukov 9,488
1 OriginalGriff 8,425
2 Sascha Lefèvre 3,344
3 Maciej Los 3,066
4 Richard Deeming 2,370

Advertise | Privacy | Mobile
Web01 | 2.8.150520.1 | Last Updated 5 Jun 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100