0

I have an installer created with Windows installer project using Visual Studio. This project need a couple of prerequisites like Crystal Reports and Framework 4.0.

I am able to digital sign the .msi installer of my application when compiles (using a command on PostBuildEvent), but the problem is that, in order to incluide the prerequisites, the compilation outputs several files and folders:

enter image description here

In order to distribute my application in one single file that include prerequisites, i create a Self Extranting file using 7z tool. This final file automatically uncompress the files and executes the setup.exe file.

The problem is that when i do this, the signature on the msi file generated and signed at compilation time is voided, since this last .exe file is unsigned, and Windows may show an User Account Control message, due the unknown publiser.

I tried to sign this last file, but it shows a 7z Setup SFX as description of the file:

enter image description here

How can i achieve generate an installer including prerequisities in one single and signed file?

Stein Åsmul
  • 37,754
  • 24
  • 87
  • 158

0 Answers0