You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run ocra:
ocra xlsx2dxf.rb --no-lzma --chdir-first --innosetup xlsx2dxf.iss --windows
I got
xlsx2dxf.iss: inno setup installer creation failed: undefined method encode for #<Ocra::Pathname:...
I want to know why and how solve it.
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
[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={{5EF3D4BF-0B29-4C06-9C06-CD60892FDAA8}
AppName=ExcelToDXF
AppVersion=1.0
;AppVerName=ExcelToDXF 1.0
AppPublisher=FSTL
AppPublisherURL=[email protected]
AppSupportURL=[email protected]
AppUpdatesURL=[email protected]
DefaultDirName={autopf}\xlsx2DXF
DisableProgramGroupPage=yes
InfoAfterFile=D:\ruby-project\xlsx2dxf\encprted\xlsx2dxf\注册及使用说明.txt
; Uncomment the following line to run in non administrative install mode (install for current user only.)
;PrivilegesRequired=lowest
OutputBaseFilename=mysetup
Compression=lzma
SolidCompression=yes
WizardStyle=modern
When I run ocra:
ocra xlsx2dxf.rb --no-lzma --chdir-first --innosetup xlsx2dxf.iss --windows
I got
xlsx2dxf.iss: inno setup installer creation failed: undefined method encode for #<Ocra::Pathname:...
I want to know why and how solve it.
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
[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={{5EF3D4BF-0B29-4C06-9C06-CD60892FDAA8}
AppName=ExcelToDXF
AppVersion=1.0
;AppVerName=ExcelToDXF 1.0
AppPublisher=FSTL
AppPublisherURL=[email protected]
AppSupportURL=[email protected]
AppUpdatesURL=[email protected]
DefaultDirName={autopf}\xlsx2DXF
DisableProgramGroupPage=yes
InfoAfterFile=D:\ruby-project\xlsx2dxf\encprted\xlsx2dxf\注册及使用说明.txt
; Uncomment the following line to run in non administrative install mode (install for current user only.)
;PrivilegesRequired=lowest
OutputBaseFilename=mysetup
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\xlsx2dxf\encprted\xlsx2dxf\xlsx2dxf.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\ruby-project\xlsx2dxf\encprted\xlsx2dxf\drw.so"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\ruby-project\xlsx2dxf\encprted\xlsx2dxf\jydisk.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\ruby-project\xlsx2dxf\encprted\xlsx2dxf\pub_key.pem"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\ruby-project\xlsx2dxf\encprted\xlsx2dxf\test_kk.xlsx"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\ruby-project\xlsx2dxf\encprted\xlsx2dxf\注册及使用说明.txt"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\ruby-project\xlsx2dxf\encprted\rgloader*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons]
Name: "{autoprograms}\ExcelToDXF"; Filename: "{app}\xlsx2dxf.exe"
Name: "{autodesktop}\ExcelToDXF"; Filename: "{app}\xlsx2dxf.exe"; Tasks: desktopicon
[Run]
Filename: "{app}\xlsx2dxf.exe"; Description: "{cm:LaunchProgram,ExcelToDXF}"; Flags: nowait postinstall skipifsilent
The text was updated successfully, but these errors were encountered: