安装程序在安装C#应用程序时创建directorys [英] Installer creating directorys at install for a C# application

查看:100
本文介绍了安装程序在安装C#应用程序时创建directorys的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我已经完成了一个应用程序,现在需要安装程序。我构建了安装程序,显示了图标,我无法创建保存文件的目录。我在使用Windows XP和此版本的Visual Studio之前已经完成了这项工作。时间进行了,我现在有一台Win 7机器,我已经完成了我之前所做的事情(创建安装程序添加了文件,正确更改了路径只需要创建目录prod nameData我创建了文件夹就像我在右键单击应用程序文件夹之前选择添加文件夹给它正确的名称,构建它然后去!

但是没有创建文件夹!帮助!!!我真的需要一步一步步骤指南昨晚看了一眼,没找到。现在再看看吧!



我确实找到了以下哪个是我做的尝试

http://msdn.microsoft.com/en- us / library / x56s4w8x(v = vs.80).aspx [ ^ ]

但是出了点问题!

Glenn



可能是Windows 7在重命名ver时没有创建目录sion有变化而没有删除吗?

Hi All,

I have finished an application and now need the installer for it. I built the installer got the icons to appear I just can''t get it to create the directory for the save file. I have done this before using Windows XP and this version of Visual Studio. Time marches on and I have now a Win 7 machine, I have done what I did before (created the installer added the files, changed the path correctly just need to get it creating the directory ""prod name" Data" I have created the folder like I did before right click on the Application Folder choose Add Folder give it the correct name, build it and go!
However there is no folder created! HELP!!! I really need a step by step guide had a look last night and didn''t find. Off for another look now!

I did find the following which is what I did try
http://msdn.microsoft.com/en-us/library/x56s4w8x(v=vs.80).aspx[^]
but something is wrong!
Glenn

Could it be Windows 7 hasn''t created the directory as I renamed the version that was there changed and no deleted it?

推荐答案

解决了!!

我的默认位置错了它需要C:\。我只有C:\ stoopid stoopid错误!!!!

Glenn
Solved it!!
I had the Default location wrong it need to C:\name I just had C:\ stoopid stoopid mistake!!!!
Glenn


这篇关于安装程序在安装C#应用程序时创建directorys的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆