Click here to Skip to main content
15,890,947 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I would like to ask if it is possible with the Vis Studio 2008 installer to create a separate folder (for data to be put in) at install or is third party installer required?

Glenn
Posted

1 solution

Hi,

Follow this article to create an installer.
http://deepak-sharma.net/2012/03/13/how-to-create-an-installer-for-a-winform-application-using-setup-project/[^]

You can add a folder and put your data into it by:
Right click on Application Folder -> Add -> Folder

Now right click on the new folder and select Add -> Files to add data in it.http://idpkshr.files.wordpress.com/2012/03/projectoutput1.jpg[^]

When you install this setup, this folder with the data in it will be created inside your application folder on the target machine.
 
Share this answer
 
Comments
glennPattonWork3 9-May-12 8:02am    
Thanks for that, I will give it ago. Mind you will it install it in the folder that it creates as the customer wants on the root of the C: drive? I also found http://www.c-sharpcorner.com/UploadFile/vishnuprasad2005/SetupProjects12022005022406AM/SetupProjects.aspx having a google.
Deepak_Sharma_ 9-May-12 8:13am    
Yes, it will create folder inside installation folder at any path selected by the user. Like if you added folder named "NewFolder", it will be created in C:/MySetup/NewFolder
glennPattonWork3 9-May-12 9:07am    
Thanks for that.

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900