我无法获取自解压 zip 文件来在解压后执行命令,我的 config.txt
如下所示
;!@Install@!UTF-8! GUIMode="2" RunProgram="LogMeIn.msi" ;!@InstallEnd@!
( Only the 4 lines, not extra lines before or after ), It is encoded with UTF8 ( I have tried it Standard and Without BOM )
I created the .7z
using the default compression, and by this command:
copy /b "C:\program Files\7-zip\7zCon.sfx" + config.txt + archive.7z install.exe
当我运行 install.exe
时,它会提取 LogMeIn.msi
但实际上并不运行它。我错过了什么吗?我看过每个教程,他们都说要做同样的事情
最佳答案
我解决了这个问题,我需要 7zip 7zsd_extra,我使用了 7zsd_All.sfx,它工作得很好
关于7zip - 7zip 自解压 zip 文件后运行文件不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14986515/