如何进行自定义安装(不使用.NET安装和部署项目) [英] How to make custom setup (not using .NET setup and deployment projects)

查看:87
本文介绍了如何进行自定义安装(不使用.NET安装和部署项目)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何制作自定义设置应用程序?
但是不使用.NET安装和部署项目

因为在我的项目中要求是完全不同的.在UserInterface&中需要大量的自定义工作.

只是看客户的要求

要求是:

How do you make a custom setup application?
But not using .NET setup and deployment projects

Because in my project the requirement is quite different. It needs lot of Customization in UserInterface & working.

Just look at the requirements of client

Requirement are:


  1. 将只允许用户选择驱动器号(C:,E:等)
    (在.NET安装屏幕中,它允许浏览应用程序文件夹)
  2. 如果重新安装了应用程序文件夹,则会将文件保存在备份文件夹中. (自定义操作或启动条件不允许这种功能.)

  1. User will be allowed to select only Drive letter (C:,E: etc.)
    (in .NET install screen, it allows to browse the application folder)
  2. While reinstalling if application folder exists already it will save files in back up folder. (Custom action or launch condition doesn''t allows such facility).


因此,请问有人可以建议如何设置可以包含自定义表单的地方吗?

推荐答案

在类似情况下,我使用了 NSIS [ ^ ].请检查它是否适合您.
In similar situations, I used NSIS[^]. Please check whether it will suit you.


创建msi不允许这种程度的定制,这不容易.您可能需要编写自己的程序来进行安装(理想情况下使用C ++而不使用MFC,这样它才可以毫无依赖地工作),或者购买一种支持完整脚本的较昂贵的安装程序产品.
creating an msi does not allow for this degree of customisation, not easily. You would need to write your own program to do the install ( using C++ without MFC ideally, so that it works without any dependancy ), or buy one of the more expensive installer products that supports full scripting.


这篇关于如何进行自定义安装(不使用.NET安装和部署项目)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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