ruby - How can I sign an application packaged by OCRA and Inno Setup? -


i using following command have ocra build installer using inno setup:

ocra bin/rails . --output fvc.exe                   --add-all-core                   --gemfile gemfile                   --no-dep-run                   --gem-full                   --chdir-first                   --no-lzma                   --innosetup fvc.iss                   -- runner -e production fvc.rb 

i sign installer package, can done in inno setup's script editor, or on command line. simple getting arguments compiler, can't find documentation how through ocra.

the sign tool has indeed defined in inno setup ide or on iscc.exe command-line.

ocra does not allow customization of iscc.exe command-line.

if cannot define sign tool in ide (e.g. because build script has standalone), have cheat bit:

  • automatically import sign tool configuration registry before running build (or part of build).

    [hkey_current_user\software\jordan russell\inno setup\signtools] "signtool0"="sign=..." 
  • put iscc.bat wrapper path instead of iscc.exe , make run iscc.exe parameters , sign tool configuration:

    iscc.exe %* /ssign=... 

Comments

Popular posts from this blog

sql server - Cannot query correctly (MSSQL - PHP - JSON) -

php - trouble displaying mysqli database results in correct order -

C++ Linked List -