BugMan
Well-known member
Back in the olden days, when we chiseled our code onto stone, we could create an application and all support files and subfolders could reside in a main folder on the C: drive. For example, the program and data files could all be in C:\BugMansApp.
Now, if I understand it correctly, the program's .exe file should be under the C:\Program Files\ folder, and the data files that are written must be written elsewhere.
My question is, in the installation setup that I create in VS 2008, can I specify a new folder, say C:\BugMansApp, that I can include in the installation with some .INI like files, dictionaries, text files, etc., where the program can write files to also?
It seems like I can only include text files and such into the canned Windows folders, like PersonalFolder, etc. I realize that I shouldn't hardwire pathnames into my code, it would be nice for the end user to know where the data that he generates is easily (C:\BugMansApp), without having to dig through layers of subfolders.
I see the option to "Add Special Folder" and "Custom Folder" in the deployment menus, but don't understand how to assign "C:\BugMansApp" to the Custom Folder option. Is that the right direction to head to?
Thoughts and advice appreciated!
Now, if I understand it correctly, the program's .exe file should be under the C:\Program Files\ folder, and the data files that are written must be written elsewhere.
My question is, in the installation setup that I create in VS 2008, can I specify a new folder, say C:\BugMansApp, that I can include in the installation with some .INI like files, dictionaries, text files, etc., where the program can write files to also?
It seems like I can only include text files and such into the canned Windows folders, like PersonalFolder, etc. I realize that I shouldn't hardwire pathnames into my code, it would be nice for the end user to know where the data that he generates is easily (C:\BugMansApp), without having to dig through layers of subfolders.
I see the option to "Add Special Folder" and "Custom Folder" in the deployment menus, but don't understand how to assign "C:\BugMansApp" to the Custom Folder option. Is that the right direction to head to?
Thoughts and advice appreciated!