如何在Windows应用程序中创建安装文件? [英] How to create setup file in windows application?

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

问题描述

亲爱的团队,



如何在Windows应用程序中创建安装文件?



我使用了visual studio 2010安装向导和visual studio 2010项目文件。



1.需要在PC中安装设置文件,如vlc.exe,记事本.exe,stickynote.exe等

2.项目结构如下:

--SolutionName

---- ProjectName

-------索引页

-------日志文件夹

-------临时文件夹

3.我想在PC上安装我的安装文件后制作读写权限Log和Temp文件夹。

请按照我的方案提供解决方案。



提前致谢,



我的尝试:



注意:

在PC中安装安装文件后,安装文件正常工作,但日志文件的生成速度不如Temp文件夹文件(XML文件)没有生成。

=>每次安装设置时都会生成日志文件和xml文件。

=>如何创建和授予文件夹和文件的权限。

=>文件有时会创建10个文件或有时会创建N个文件。

解决方案



你可以从这个链接获得帮助: -



使用Visual Studio 2010安装项目为C#Windows应用程序创建MSI /安装程序包 [ ^ ]



Visual Studio Windows应用程序设置项目 [ ^ ]



扩展Visual St udio设置项目 [ ^ ]

Dear Team,

How to create setup file in windows application?

I have used visual studio 2010 setup wizard and visual studio 2010 project file.

1. Need to install setup file in PC like vlc.exe, notepad.exe, stickynote.exe, etc.
2. Project structure is given below:
--SolutionName
----ProjectName
-------Indexpage
-------Log Folder
-------Temp Folder
3. I want to make read write permission Log and Temp folders after installing my setup file in PC.
Can you please provide solution as per my scenario.

Thanks in advance,

What I have tried:

Note:
Once installed setup file in PC, setup file working fine, but log files are not generating as well as Temp folder files(XML files) are not generating.
=> Log files and xml files are generating each and every time installing setup.
=> How to create and give a permission for folder and files.
=> Files some times 10 files will be create or some times N - files create.

解决方案

Hi,
You can get Help from this Links:-

Creating an MSI/Setup Package for C# Windows Application Using a Visual Studio 2010 Setup Project[^]

Visual Studio Windows Application Setup Project[^]

Extending Visual Studio Setup Project[^]


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

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