Create Inno Setup installer using Jenkins without preinstalling on agents

I want to add Inno Setup to my assembly, however the assembly works on Jenkins with many agents on different machines.

I would prefer my assembly to be autonomous and not require me to install elements for each agent in order to create it.

Can you run Inno Setup without installing it?
for example, can I just copy the installation directory into the subdirectory of my project and run it iscc.exein the build agent without registering any DLLs, etc.?

Does this put a bad idea into the project?
for example, would it be better to fasten the installation directory and place it in nexus and load it as part of the assembly?

What are the minimum files I need to run iscc.exe?

+4
source share
1 answer

Yes, you can simply copy the Inno Setup installation folder anywhere and run it from there. He will work. The Inno Setup command-line compiler is independent of any registry entries or any other external configuration or registration.

You need the following files:

  • ISCC.exe, ISCmplr.dll, ISPP.dll, ISPPBuiltins.iss, Setup.e32, SetupLdr.e32,Default.isl
  • is*.dll/ is*.exefor the compression algorithm used (directive Compression); islzma*.exeused when turned on LZMAUseSeparateProcess; zipand nonealgorithms do not require any DLL.
  • WizModern*Image*.bmpif you are not using your own images.
  • Languages/*.isl for the languages ​​/ translations that you use.
+4
source

Source: https://habr.com/ru/post/1653030/


All Articles