当前位置:网站首页>Test of NSI script
Test of NSI script
2022-07-01 20:09:00 【juluwangriyue】
NSI Script testing
Use the official script to test 

Drag the script to Compile script page

Compile testing
Modify the script to test moving and deleting files
; example1.nsi
;
; This script is perhaps one of the simplest NSIs you can make. All of the
; optional settings are left to their default settings. The installer simply
; prompts the user asking them where to install, and drops a copy of example1.nsi
; there.
;
; example2.nsi expands on this by adding a uninstaller and start menu shortcuts.
;--------------------------------
; The name of the installer
Name "Example1"
; The file to write
OutFile "example1.exe"
; Request application privileges for Windows Vista
RequestExecutionLevel user
; Build Unicode installer
Unicode True
; The default installation directory
InstallDir $DESKTOP\Example1
;--------------------------------
; Pages
Page directory
Page instfiles
;--------------------------------
; The stuff to install
Section "" ;No components page, name is not important
; Set output path to the installation directory.
SetOutPath $INSTDIR
; Put file there
File example1.nsi
CopyFiles $DOCUMENTS\FemurSeg-new.onnx $DESKTOP\FemurSeg-new.onnx
Delete $DESKTOP\FemurSeg-new.onnx
SectionEnd ; end the section

边栏推荐
- Solve the problem of slow or failed vscode download
- Realize pyramids through JS (asterisk pyramid, palindrome symmetric digital pyramid)
- SQL getting started plan-1-select
- Error in installing sharp
- docker ubuntu容器中安装mysql遇到的问题
- Getting started with fastdfs
- 利用QEventLoop实现同步等待槽函数返回
- Win11暂停更新点不了怎么办?Win11暂停更新是灰色的如何解决?
- After adding cocoapods successfully, the header file cannot be imported or an error is reported in not found file
- How can I know if I want to get the preferential link of stock account opening? Is it safe to open an account online?
猜你喜欢

Error in installing sharp

有意思了!数据库也搞Serverless!

毕业季 | 华为专家亲授面试秘诀:如何拿到大厂高薪offer?

漏洞复现-.Net-ueditor上传

1592 example 1 King (sgu223 loj10170 luogu1896 increase + / provincial election -) violent thinking pressure DP 01 Backpack

On the next generation entrance of the metauniverse -- the implementation of brain computer interface

EasyCVR集群视频广场页面切换时,请求流未能终止的问题优化

windows环境 redis安装和启动(后台启动)

【多线程】 实现单例模式 ( 饿汉、懒汉 ) 实现线程安全的单例模式 (双重效验锁)

牛客编程题--必刷101之字符串(高效刷题,举一反三)
随机推荐
全国职业院校技能大赛网络安全“splunk“详细配置
利用QEventLoop实现同步等待槽函数返回
强大、好用、适合程序员/软件开发者的专业编辑器/笔记软件综合评测和全面推荐
Understand the structure in C language in one article
windows环境 redis安装和启动(后台启动)
switch 有四样写法你知道么
面试题篇一
Arduino stepper library drive 28byj-48 stepper motor test program
Realize pyramids through JS (asterisk pyramid, palindrome symmetric digital pyramid)
Anaconda installs the virtual environment to the specified path
[research data] observation on the differences of health preservation concepts among people in 2022 - Download attached
架构师毕业总结
Sum the amount
人脸识别系统 —— OpenCV人脸检测
February 15, 2022: sweeping robot. There is a floor sweeping robot in the room (represented by a grid). Each grid in the grid has two possibilities: empty and obstacles. The sweeping robot provides fo
开发那些事儿:EasyCVR平台添加播放地址鉴权功能
1592 example 1 King (sgu223 loj10170 luogu1896 increase + / provincial election -) violent thinking pressure DP 01 Backpack
What else do you not know about new set()
EURA欧瑞E1000系列变频器使用PID实现恒压供水功能的相关参数设置及接线
【C语言】详解 memset() 函数用法