当前位置:网站首页>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

边栏推荐
- list分割成满足和不满足条件的集合(partitioningBy)
- Interview question 1
- 2022/6/8-2022/6/12
- 优质笔记软件综合评测和详细盘点(一) Notion、Obsidian、RemNote、FlowUs
- 墨天轮沙龙 | 清华乔嘉林:Apache IoTDB,源于清华,建设开源生态之路
- 振弦采集模塊測量振弦傳感器的流程步驟
- Arduino stepper library drive 28byj-48 stepper motor test program
- Gaussdb (for MySQL):partial result cache, which accelerates the operator by caching intermediate results
- 运动捕捉系统原理
- Error in installing sharp
猜你喜欢

Is Dao safe? Build finance encountered a malicious governance takeover and was looted!

Easycvr accesses the equipment through the national standard gb28181 protocol. What is the reason for the automatic streaming of the equipment?

Win11怎么关闭开机自启动软件

牛客编程题--必刷101之字符串(高效刷题,举一反三)

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

uniapp使用腾讯地图选点 没有window监听回传用户的位置信息,怎么处理

Richview trvdocparameters page parameter settings

Example explanation: move graph explorer to jupyterlab

RichView 文档中的 ITEM

优质笔记软件综合评测和详细盘点(一) Notion、Obsidian、RemNote、FlowUs
随机推荐
C # joint Halcon application - Dahua camera acquisition class
【蓝桥杯Web】2022年第十三届蓝桥杯Web大学组国赛真题解析
实战项目笔记(一)——虚拟机的创建
Stack overflow 2022 developer survey: where is the industry going?
Myslq ten kinds of locks, an article will take you to fully analyze
The large list set is divided into multiple small list sets in equal proportion
Image acquisition and playback of coaxpress high speed camera based on pxie interface
Bind this of the current scope for callback functions in other cases such as timers and delayers
Related concepts of cookies and sessions
Source code series of authentic children -inheritablethreadlocal (line by line source code takes you to analyze the author's ideas)
[multithreading] lock strategy
list大集合等比分割成多个小list集合
Write blog documents
振弦采集模块测量振弦传感器的流程步骤
What if the win11 shortcut key switching input method doesn't respond? Shortcut key switching input method does not respond
PowerDesigner design name and comment replacement
C#联合halcon应用——大华相机采集类
一个悄然崛起的国产软件,低调又强大!
大厂做狼,小厂做狗?