New installer
This commit is contained in:
parent
bf4a113f0c
commit
bf21ff1121
4
windows/pipscript.bat
Normal file
4
windows/pipscript.bat
Normal file
@ -0,0 +1,4 @@
|
||||
# install dependencies using pip
|
||||
py -m pip install typedload
|
||||
py -m pip install xtermcolor
|
||||
py -m pip install PyQt5
|
@ -1,17 +1,11 @@
|
||||
; 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={{6F127615-6AD4-4BD7-8135-2444A335B5CD}
|
||||
AppName=Relational
|
||||
AppVerName=Relational ver. 3.0
|
||||
AppPublisher=Salvo 'LtWorf' Tomaselli
|
||||
AppPublisherURL=http://ltworf.github.io/relational/
|
||||
AppSupportURL=http://ltworf.github.io/relational/
|
||||
AppUpdatesURL=http://ltworf.github.io/relational/
|
||||
AppPublisherURL=https://ltworf.github.io/relational/
|
||||
AppSupportURL=https://ltworf.github.io/relational/
|
||||
AppUpdatesURL=https://ltworf.github.io/relational/
|
||||
DefaultDirName={pf}\Relational
|
||||
DefaultGroupName=Relational
|
||||
AllowNoIcons=yes
|
||||
@ -31,23 +25,26 @@ Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescrip
|
||||
[Run]
|
||||
; add the Parameters, WorkingDir and StatusMsg as you wish, just keep here
|
||||
; the conditional installation Check
|
||||
Filename: "{tmp}\vcredist_x86.exe"; Parameters: "/passive /norestart";
|
||||
Filename: "{tmp}\python-3.8.5-amd64.exe"; Parameters: "/passive InstallAllUsers=1";
|
||||
Filename: "powershell"; Parameters: "-file {tmp}\pipscript.bat"
|
||||
|
||||
[Files]
|
||||
Source: "dist\relational_gui.exe"; DestDir: "{app}"; Flags: ignoreversion
|
||||
Source: "dist\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||
; Source: "windows\font dejavu\*"; DestDir: "{fonts}"; FontInstall: "Dejavu Sans"
|
||||
Source: "samples\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||
Source: "vcredist_x86.exe"; DestDir: {tmp}; Flags: deleteafterinstall
|
||||
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
|
||||
Source: "windows\python-3.8.5-amd64.exe"; DestDir: {tmp}; Flags: deleteafterinstall
|
||||
Source: "windows\pipscript.bat"; DestDir: {tmp}; Flags: deleteafterinstall
|
||||
|
||||
Source: "relational.py"; DestDir: "{app}"; Flags: ignoreversion
|
||||
Source: "relational\*"; DestDir: "{app}\relational"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||
Source: "relational_gui\*"; DestDir: "{app}\relational_gui"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||
Source: "samples\*"; DestDir: "{app}\samples"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||
|
||||
|
||||
[Icons]
|
||||
Name: "{group}\Relational"; Filename: "{app}\relational_gui.exe"
|
||||
Name: "{group}\{cm:ProgramOnTheWeb,Relational}"; Filename: "http://ltworf.github.io/relational/"
|
||||
Name: "{group}\Relational"; Filename: "pyw"; Parameters: "relational.py"; WorkingDir: "{app}"
|
||||
Name: "{group}\{cm:ProgramOnTheWeb,Relational}"; Filename: "https://ltworf.github.io/relational/"
|
||||
Name: "{group}\{cm:UninstallProgram,Relational}"; Filename: "{uninstallexe}"
|
||||
Name: "{commondesktop}\Relational"; Filename: "{app}\relational_gui.exe"; Tasks: desktopicon
|
||||
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\Relational"; Filename: "{app}\relational_gui.exe"; Tasks: quicklaunchicon
|
||||
Name: "{commondesktop}\Relational"; Tasks: desktopicon; Filename: "pyw"; Parameters: "relational.py"; WorkingDir: "{app}"
|
||||
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\Relational"; Tasks: quicklaunchicon; Filename: "pyw"; Parameters: "relational.py"; WorkingDir: "{app}"
|
||||
|
||||
[Run]
|
||||
Filename: "{app}\relational_gui.exe"; Description: "{cm:LaunchProgram,Relational}"; Flags: nowait postinstall skipifsilent
|
||||
|
||||
Description: "{cm:LaunchProgram,Relational}"; Flags: nowait postinstall skipifsilent; Filename: "pyw"; Parameters: "relational.py"; WorkingDir: "{app}"
|
||||
|
Loading…
Reference in New Issue
Block a user