Click here to Skip to main content
15,895,772 members
Home / Discussions / C#
   

C#

 
QuestionInstall application without install SQLSERVER Pin
dharmaa.m2-Jul-13 8:38
dharmaa.m2-Jul-13 8:38 
AnswerRe: Install application without install SQLSERVER Pin
Ron Beyer2-Jul-13 9:18
professionalRon Beyer2-Jul-13 9:18 
GeneralRe: Install application without install SQLSERVER Pin
dharmaa.m2-Jul-13 9:44
dharmaa.m2-Jul-13 9:44 
GeneralRe: Install application without install SQLSERVER Pin
Ron Beyer2-Jul-13 9:50
professionalRon Beyer2-Jul-13 9:50 
AnswerRe: Install application without install SQLSERVER Pin
Manu V Nath3-Jul-13 23:30
professionalManu V Nath3-Jul-13 23:30 
GeneralRe: Install application without install SQLSERVER Pin
Eddy Vluggen4-Jul-13 0:01
professionalEddy Vluggen4-Jul-13 0:01 
QuestionC# deployment creating a porject folder Pin
classy_dog2-Jul-13 6:38
classy_dog2-Jul-13 6:38 
AnswerRe: C# deployment creating a porject folder Pin
NickPace3-Jul-13 6:30
NickPace3-Jul-13 6:30 
I'm not sure about VS2010 as I am still using VS2008, however in the setup project, open the primary output file and click on the 'File System on Target Machine'. There you can add a 'Custom Folder' through the right-click menu. Name the new folder whatever you want, and then click on properties for the new folder and set the default location to the directory path you want to use.

Having said that, if this is a folder that your application is going to use during runtime, I would highly recommend that your application check for the existence of the folder and create it if needed before writing the "log files" to it (see the System.IO.Directory class). For instance, will your application crash if after it is installed the user then deletes the "log files" folder?

Also, keep in mind that not all users may have permissions to create folders on the C:\ drive. I've run into that issue with Windows7 several times and the permissions we use. You may need to come up with a work-around or use a user's folder instead.
-NP

Never underestimate the creativity of the end-user.

QuestionHow to combine ClickOnce and normal installer Pin
MathijsBeentjes2-Jul-13 5:47
MathijsBeentjes2-Jul-13 5:47 
AnswerRe: How to combine ClickOnce and normal installer Pin
GuyThiebaut3-Jul-13 0:08
professionalGuyThiebaut3-Jul-13 0:08 
QuestionRadio buttons in PropertyGrid Pin
lukeer1-Jul-13 21:02
lukeer1-Jul-13 21:02 
AnswerRe: Radio buttons in PropertyGrid Pin
Eddy Vluggen1-Jul-13 22:30
professionalEddy Vluggen1-Jul-13 22:30 
GeneralRe: Radio buttons in PropertyGrid Pin
lukeer11-Jul-13 1:21
lukeer11-Jul-13 1:21 
AnswerRe: Radio buttons in PropertyGrid Pin
Eddy Vluggen15-Jul-13 8:53
professionalEddy Vluggen15-Jul-13 8:53 
QuestionHow to lock only one request and release all pending requests at once Pin
amjegan1-Jul-13 18:14
amjegan1-Jul-13 18:14 
AnswerRe: How to lock only one request and release all pending requests at once Pin
Eddy Vluggen1-Jul-13 22:33
professionalEddy Vluggen1-Jul-13 22:33 
AnswerRe: How to lock only one request and release all pending requests at once Pin
jschell2-Jul-13 8:07
jschell2-Jul-13 8:07 
GeneralRe: How to lock only one request and release all pending requests at once Pin
amjegan2-Jul-13 17:41
amjegan2-Jul-13 17:41 
GeneralRe: How to lock only one request and release all pending requests at once Pin
jschell3-Jul-13 8:27
jschell3-Jul-13 8:27 
QuestionRead Content From MMF File Pin
reethu_test1-Jul-13 13:15
reethu_test1-Jul-13 13:15 
AnswerRe: Read Content From MMF File Pin
Mycroft Holmes1-Jul-13 15:53
professionalMycroft Holmes1-Jul-13 15:53 
QuestionNSF File Reading in C# Pin
reethu_test1-Jul-13 12:44
reethu_test1-Jul-13 12:44 
AnswerRe: NSF File Reading in C# Pin
Garth J Lancaster1-Jul-13 12:55
professionalGarth J Lancaster1-Jul-13 12:55 
GeneralRe: NSF File Reading in C# Pin
reethu_test1-Jul-13 13:03
reethu_test1-Jul-13 13:03 
GeneralRe: NSF File Reading in C# Pin
Garth J Lancaster1-Jul-13 13:05
professionalGarth J Lancaster1-Jul-13 13:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.