I havn't require prawn, the iss file as fellowing:
[Setup]
; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{B6451E12-FFEC-41B4-B39A-37B019B3A293}
AppName=SwingAngleCalc
AppVersion=1.0
;AppVerName=SwingAngleCalc 1.0
AppPublisher=FSTL
AppPublisherURL=151711064@qq.com
AppSupportURL=151711064@qq.com
AppUpdatesURL=151711064@qq.com
DefaultDirName={autopf}\SwingAngleCalc
DisableProgramGroupPage=yes
; Uncomment the following line to run in non administrative install mode (install for current user only.)
;PrivilegesRequired=lowest
OutputDir=D:\ruby-project\SwingAngleCalcV1.0\trail_license_version_encypted_20200415
OutputBaseFilename=SwingAngleCalc_V1.0_setup
SetupIconFile=D:\ruby-project\SwingAngleCalcV1.0\trail_license_version_encypted_20200415\trail_license_version\ybj.ico
Compression=lzma
SolidCompression=yes
WizardStyle=modern
and I got this info:
=== Adding library files
=== Running InnoSetup compiler ISCC
Error on line 2947 in D:\ruby-project\SwingAngleCalcV1.0\trail_license_version_encypted_20200415\trail_license_version\ocratemp.iss: No files found matching "d:/Ruby25/lib/ruby/gems/2.5.0/gems/prawn-2.2.2/data/fonts/鏂规绮楅粦瀹嬬畝浣?ttf"
Compile aborted.
I havn't require prawn, the iss file as fellowing: [Setup] ; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications. ; (To generate a new GUID, click Tools | Generate GUID inside the IDE.) AppId={{B6451E12-FFEC-41B4-B39A-37B019B3A293} AppName=SwingAngleCalc AppVersion=1.0 ;AppVerName=SwingAngleCalc 1.0 AppPublisher=FSTL AppPublisherURL=151711064@qq.com AppSupportURL=151711064@qq.com AppUpdatesURL=151711064@qq.com DefaultDirName={autopf}\SwingAngleCalc DisableProgramGroupPage=yes ; Uncomment the following line to run in non administrative install mode (install for current user only.) ;PrivilegesRequired=lowest OutputDir=D:\ruby-project\SwingAngleCalcV1.0\trail_license_version_encypted_20200415 OutputBaseFilename=SwingAngleCalc_V1.0_setup SetupIconFile=D:\ruby-project\SwingAngleCalcV1.0\trail_license_version_encypted_20200415\trail_license_version\ybj.ico Compression=lzma SolidCompression=yes WizardStyle=modern
[Languages] Name: "english"; MessagesFile: "compiler:Default.isl"
[Tasks] Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
Source: "D:\ruby-project\SwingAngleCalcV1.0\trail_license_version_encypted_20200415\trail_license_version\scconverter32_523.exe"; DestDir: "{app}\src"; Flags: ignoreversion
Source: "D:\ruby-project\SwingAngleCalcV1.0\trail_license_version_encypted_20200415\trail_license_version\lsp2acad.exe"; DestDir: "{app}\src"; Flags: ignoreversion Source: "D:\ruby-project\SwingAngleCalcV1.0\trail_license_version_encypted_20200415\trail_license_version\0622.tmp.rn"; DestDir: "{app}\src"; Flags: ignoreversion Source: "D:\ruby-project\SwingAngleCalcV1.0\trail_license_version_encypted_20200415\trail_license_version\app_path.txt"; DestDir: "{app}\src"; Flags: ignoreversion Source: "D:\ruby-project\SwingAngleCalcV1.0\trail_license_version_encypted_20200415\trail_license_version\CodeYear.ini"; DestDir: "{app}\src"; Flags: ignoreversion Source: "D:\ruby-project\SwingAngleCalcV1.0\trail_license_version_encypted_20200415\trail_license_version\conductors.db"; DestDir: "{app}\src"; Flags: ignoreversion Source: "D:\ruby-project\SwingAngleCalcV1.0\trail_license_version_encypted_20200415\trail_license_version\currentSwingAnglesList.ybj"; DestDir: "{app}\src"; Flags: ignoreversion Source: "D:\ruby-project\SwingAngleCalcV1.0\trail_license_version_encypted_20200415\trail_license_version\defaultCdr.js"; DestDir: "{app}\src"; Flags: ignoreversion Source: "D:\ruby-project\SwingAngleCalcV1.0\trail_license_version_encypted_20200415\trail_license_version\defaultClimate.json"; DestDir: "{app}\src"; Flags: ignoreversion Source: "D:\ruby-project\SwingAngleCalcV1.0\trail_license_version_encypted_20200415\trail_license_version\defaultProvince.ini"; DestDir: "{app}\src"; Flags: ignoreversion Source: "D:\ruby-project\SwingAngleCalcV1.0\trail_license_version_encypted_20200415\trail_license_version\GB50736.db"; DestDir: "{app}\src"; Flags: ignoreversion Source: "D:\ruby-project\SwingAngleCalcV1.0\trail_license_version_encypted_20200415\trail_license_version\jydisk.dll"; DestDir: "{app}\src"; Flags: ignoreversion Source: "D:\ruby-project\SwingAngleCalcV1.0\trail_license_version_encypted_20200415\trail_license_version\lastCdr.js"; DestDir: "{app}\src"; Flags: ignoreversion Source: "D:\ruby-project\SwingAngleCalcV1.0\trail_license_version_encypted_20200415\trail_license_version\lastClimate.json"; DestDir: "{app}\src"; Flags: ignoreversion Source: "D:\ruby-project\SwingAngleCalcV1.0\trail_license_version_encypted_20200415\trail_license_version\lastGapArcData.jxy"; DestDir: "{app}\src"; Flags: ignoreversion Source: "D:\ruby-project\SwingAngleCalcV1.0\trail_license_version_encypted_20200415\trail_license_version\lastSwingAngleInput.qjs"; DestDir: "{app}\src"; Flags: ignoreversion Source: "D:\ruby-project\SwingAngleCalcV1.0\trail_license_version_encypted_20200415\trail_license_version\lsp2acad.exe"; DestDir: "{app}\src"; Flags: ignoreversion Source: "D:\ruby-project\SwingAngleCalcV1.0\trail_license_version_encypted_20200415\trail_license_version\pub_key.pem"; DestDir: "{app}\src"; Flags: ignoreversion Source: "D:\ruby-project\SwingAngleCalcV1.0\trail_license_version_encypted_20200415\trail_license_version\slm_runtime_easy.dll"; DestDir: "{app}\src"; Flags: ignoreversion Source: "D:\ruby-project\SwingAngleCalcV1.0\trail_license_version_encypted_20200415\trail_license_version\state.ini"; DestDir: "{app}\src"; Flags: ignoreversion Source: "D:\ruby-project\SwingAngleCalcV1.0\trail_license_version_encypted_20200415\trail_license_version\sysbits.exe"; DestDir: "{app}\src"; Flags: ignoreversion Source: "D:\ruby-project\SwingAngleCalcV1.0\trail_license_version_encypted_20200415\trail_license_version\window.txt"; DestDir: "{app}\src"; Flags: ignoreversion Source: "D:\ruby-project\SwingAngleCalcV1.0\trail_license_version_encypted_20200415\trail_license_version\ybj.ico"; DestDir: "{app}\src"; Flags: ignoreversion Source: "D:\ruby-project\SwingAngleCalcV1.0\trail_license_version_encypted_20200415\trail_license_version\generalDesign*"; DestDir: "{app}\src"; Flags: ignoreversion recursesubdirs createallsubdirs Source: "D:\ruby-project\SwingAngleCalcV1.0\trail_license_version_encypted_20200415\trail_license_version\images*"; DestDir: "{app}\src"; Flags: ignoreversion recursesubdirs createallsubdirs Source: "D:\ruby-project\SwingAngleCalcV1.0\trail_license_version_encypted_20200415\trail_license_version\plugins*"; DestDir: "{app}\src"; Flags: ignoreversion recursesubdirs createallsubdirs Source: "D:\ruby-project\SwingAngleCalcV1.0\trail_license_version_encypted_20200415\trail_license_version\ReadMe*"; DestDir: "{app}\src"; Flags: ignoreversion recursesubdirs createallsubdirs Source: "D:\ruby-project\SwingAngleCalcV1.0\trail_license_version_encypted_20200415\trail_license_version\result*"; DestDir: "{app}\src"; Flags: ignoreversion recursesubdirs createallsubdirs Source: "D:\ruby-project\SwingAngleCalcV1.0\trail_license_version_encypted_20200415\trail_license_version\scConverter*"; DestDir: "{app}\src"; Flags: ignoreversion recursesubdirs createallsubdirs Source: "D:\ruby-project\SwingAngleCalcV1.0\trail_license_version_encypted_20200415\trail_license_version\userCustomedClimatesDataBase*"; DestDir: "{app}\src"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons] Name: "{autoprograms}\SwingAngleCalc"; Filename: "{app}\SwingAngleCalc.exe" Name: "{autodesktop}\SwingAngleCalc"; Filename: "{app}\SwingAngleCalc.exe"; Tasks: desktopicon
[Run] Filename: "{app}\scconverter32_523.exe"; Description: "{cm:LaunchProgram,scconverter32_523}"; Flags: nowait postinstall skipifsilent
and I got this info: === Adding library files === Running InnoSetup compiler ISCC Error on line 2947 in D:\ruby-project\SwingAngleCalcV1.0\trail_license_version_encypted_20200415\trail_license_version\ocratemp.iss: No files found matching "d:/Ruby25/lib/ruby/gems/2.5.0/gems/prawn-2.2.2/data/fonts/鏂规绮楅粦瀹嬬畝浣?ttf" Compile aborted.