RigsOfRods / rigs-of-rods

Main development repository for Rigs of Rods soft-body physics simulator
https://www.rigsofrods.org
GNU General Public License v3.0
991 stars 175 forks source link

📦 Build installer with Inno setup #3086

Open AnotherFoxGuy opened 9 months ago

AnotherFoxGuy commented 9 months ago

Updated the CPack config to use Inno setup instead of wix, so now CPack will produce a useable installer

Now you can also build multiple versions of the installer:

This replaces https://github.com/AnotherFoxGuy/ror-installer

ohlidalp commented 5 months ago

I tried with CMakeGui: 1. Select installer type "Offline" 2. Click "Configure". The contentpack download completed but hash didn't match.

  -- verifying file...

         file='C:/Users/Petr/builds/rigs-of-rods/_deps/cp_heavyequipment-subbuild/cp_heavyequipment-populate-prefix/src/archive.tar'

  -- MD5 hash of

      C:/Users/Petr/builds/rigs-of-rods/_deps/cp_heavyequipment-subbuild/cp_heavyequipment-populate-prefix/src/archive.tar
    does not match expected value
      expected: 'ef25dc781ad148359cbcec7a67281747'
        actual: '49a6edcce914f3d5fd57204342091c62'
  -- Hash mismatch, removing...

  CMake Error at C:/Users/Petr/builds/rigs-of-rods/_deps/cp_heavyequipment-subbuild/cp_heavyequipment-populate-prefix/src/cp_heavyequipment-populate-stamp/download-cp_heavyequipment-populate.cmake:170 (message):

    Each download failed!

cmakegui-installertypeOffline.zip