Signed inno exe extremely slow on windows 7+

后端 未结 1 617
我寻月下人不归
我寻月下人不归 2021-01-03 00:20

I find that under certain conditions my signed, inno created installer.exe takes about 10 minutes to open or view properties. When I run as administrator it is immediate, s

相关标签:
1条回答
  • 2021-01-03 00:52

    Try steps described here: Offline Environment and Authenticode:

    To work with UAC-enabled Windows, winsw ships with a digital signature. This causes Windows to automatically verify this digital signature when the application is launched (see more discussions). This adds some delay to the launch of the service, and more importantly, it prevents winsw from running in a server that has no internet connection. This is because a part of the signature verification involves checking certificate revocation list.

    To prevent this problem, create myapp.exe.config in the same directory as myapp.exe (renamed winsw.exe) and put the following in it:

    <configuration>
      <runtime>
        <generatePublisherEvidence enabled="false"/> 
      </runtime>
    </configuration>
    

    See KB 936707 for more details.

    Note, this may not work, if your installer already has embedded manifest (more details). In this case you should try to modify your embedded manifest instead.

    0 讨论(0)
提交回复
热议问题