7zip Self Extracting Archive (SFX) without administrator privileges

前端 未结 6 2024
情书的邮戳
情书的邮戳 2021-02-20 05:28

I use 7zip to create the SFX as follows:

7z.exe a -r archive.7z *

Then I do a binary copy with the 7zS.sfx file (used to create a self extracti

6条回答
  •  悲&欢浪女
    2021-02-20 06:25

    Put MiscFlags="4" in your config file. That should fix your problem.

    It should look like this:

    ;!@Install@!UTF-8!
    RunProgram="setup.exe"
    GUIMode="1"
    Path="%tmp%\\mytemp"
    MiscFlags="4"
    ;!@InstallEnd@!
    

提交回复
热议问题