开发者

Move files to a specific folder when run the setup file for VB.Net Application

I have created deployment package for VB.Net appolication and it runs fine. When setup is rnning, I want deployment package to move a file from bin folder to other specific folder. Please suggest, how can开发者_开发知识库 I move this file to specific folder. Any help would be appreciated.

Thanks, Yogi


In Visual Studio 2008 setup project, Select File System on Target Machine and then from Action menu select Add Special folder and then Custom folder. A new folder will apear on left hand side under the "File System on Traget Machine". Add files, into this custom folder, which you want to copy into into specified location, Now go into the property of this custom folder and set the DefaultLocation where you want to copy files under this custom folder.

Now when you run the setup this file under the custom folder will copy into the specified location which you set in DefaultLocation.

Yogi..

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜