脚本:7z解压

优质
小牛编辑
134浏览
2023-12-01
Section "基本文件" SEC01
SetOutPath "$INSTDIR"
SetOverwrite on
File "e:\UserJoy\123.exe"
;此为7Z压缩成的EXE压缩包
ExecWait '"$INSTDIR\123.exe" -y /q /r:n'
Delete "$INSTDIR\123.exe"
SectionEnd 

Section "CHT9000" Sec1743
SetOutPath "$temp"
File "D:\CHT9000\7za.exe"
;此为7Z格式的压缩包
nsExec::Exec '"$temp\7za.exe" e $temp\OS_1743.7z -o$temp\os_1743'
SectionEnd