In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
In this issue, the editor will bring you the production method of the installation package in the secondary development of Revit. The article is rich in content and analyzes and describes for you from a professional point of view. I hope you can get something after reading this article.
Today, I would like to share with you the production of the installation package. I believe that after a period of secondary development, you all want to share the plug-in with others. In the past, our method was to copy the dll and addin files to disk C. This is troublesome, and it is not easy to upgrade and maintain the plug-in. We use the method of installing the package to install and uninstall the plug-in and enhance the user's sense of experience. Today, the editor explains how to make an installation package:
1. Click the extension update in the Visual studio toolbar, click online, search installer, download and install the installer projects tool.
This is the extension tool below. After installation, there will be a √ on the right as shown below.
two。 Start visualstudio after installation and create a new installer project
Drag the required installation files (dll,addin), including icons, into application folder. Click the application folder on the left and drag the installation file into it. Here, the editor puts the icon and dll file in the folder revitsetup, and then drag this folder into it, which will look more tidy.
4. Modify the system to 64 bits. We are now using 64-bit systems, so we can change the TargetPlatform to 64.
5. Modify the default installation path because we need to put the addin and dll files in the path C:\ ProgramData\ Autodesk\ Revit\ Addins\ 2016, so we need to copy and paste the above address in Defaultlocation. Our default installation location will be modified here.
6. Turn off the user's right to select the installation location and delete the installation path page (to prevent errors caused by the user modifying the installation path)
The specific location is the → editor → user interface. Delete the installation folder in the user interface.
In this way, the user will not be able to customize the installation path, and the installation content will be in our given c disk path by default.
7. Click build solution and two installation files will be generated
One of the following files will call the above EXE file to install, so you can send the EXE file directly to the user, this is the installation package we made. Take a look at the effect: double-click the installation package and the installation page appears
When finished, prompt the user to complete the installation:
Continue to double-click the installation package and the uninstall page appears:
In this way, users can easily uninstall and remove installed plug-ins. The above is the production method of the installation package in the secondary development of Revit shared by the editor. If you happen to have similar doubts, you might as well refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.