简体   繁体   English

从 dll 文件为 Excel 创建加载项安装程序

[英]Creating an add-in installer for Excel from dll files

I created my Excel add-in using C # and Visual Studio.我使用 C# 和 Visual Studio 创建了我的 Excel 加载项。 But how can I install it on another pc?但是我怎样才能在另一台电脑上安装它呢? There are only dll files in the release folder.发布文件夹中只有dll文件。 How can I convert them to an installer or other file?如何将它们转换为安装程序或其他文件?

Am I missing something?我错过了什么吗? Perhaps somewhere in the visual studio itself there is an opportunity to create an installer or another file that Excel can install.也许在 Visual Studio 本身的某个地方,有机会创建 Excel 可以安装的安装程序或其他文件。

Release Folder发布文件夹

First option:第一个选项:

If the issue is only to deploy files to a specific location in another PC, I think that the option of "Inno-Setup" installer will be helpful to you.如果问题只是将文件部署到另一台PC的特定位置,我认为“Inno-Setup”安装程序的选项会对您有所帮助。

https://jrsoftware.org/isinfo.php https://jrsoftware.org/isinfo.php

  1. Completely free for use完全免费使用
  2. Very intuitive非常直观
  3. An existing wizard for creating an installer from scratch从头开始创建安装程序的现有向导

Much easier option: Use winrar Self extracting archive: Example更简单的选项:使用 winrar 自解压存档:示例

It will allow the user to select installation location and deploy files.它将允许用户选择安装位置和部署文件。

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

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