简体   繁体   English

如何制作自定义安装程序?

[英]how to make a custom installer ?

so what i want to do is make a installer .exe file for windows pc. 所以我要做的是为Windows pc创建一个installer .exe文件。 its for a company. 对于一家公司。

now, what i want is that, there is 2 folder i got which needs to be copied to C:\\ProgramData and C:\\Program Files automatically. 现在,我想要的是,有2个文件夹需要自动复制到C:\\ ProgramData和C:\\ Program Files。 and thats it. 就是这样。

in other words. 换一种说法。 its my company programs. 这是我的公司计划。 so there is a setup.exe file and 2 folders. 因此,有一个setup.exe文件和2个文件夹。 everybody can install a setup.exe file easily but thing is most people wont be able to copy and paste these 2 folders to C:\\ProgramData and C:\\Program Files manually (its a food company so you the're not that much into computers and stuff) . 每个人都可以轻松安装setup.exe文件,但是大多数人无法手动将这2个文件夹复制并粘贴到C:\\ ProgramData和C:\\ Program Files(这是一家食品公司,所以您的工作量就不那么多了)电脑和其他东西)。 and thats why i need a make a installer just for these 2 folders which will automatically copy these folders to the given location. 这就是为什么我需要为这2个文件夹制作安装程序,这将自动将这些文件夹复制到给定位置的原因。

is it possible to make it with smart install maker? 可以用智能安装制造商来制作它吗? if so confirm me and ill buy that. 如果是这样的话,请确认我,然后买下来。 and whats other way to do this a? 还有什么其他方法可以做到这一点? and im not programmer so i won't be able to make it writing codes. 我不是程序员,所以我将无法使其编写代码。

thanks. 谢谢。

You don't need to buy anything, basically this is a simple file copy operation which is available in the free edition of any professional tool. 您无需购买任何东西,基本上这是一个简单的文件复制操作,任何专业工具的免费版本中都提供此操作。 Here is an example of how you could use Advanced Installer (the free edition): 以下是如何使用Advanced Installer(免费版)的示例:

http://www.advancedinstaller.com/user-guide/tutorial-simple.html http://www.advancedinstaller.com/user-guide/tutorial-simple.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM