Updated windows instructions

to include the 2010 redistributable.

<rant>Windows is several GiB large, but they felt like having to
save space when they had to include a 5MiB library that is used
by everything.</rant>
master
Salvo 'LtWorf' Tomaselli 2015-06-07 09:57:46 +07:00
parent 0a9bdb12a7
commit 54ffbbdc3c
2 changed files with 8 additions and 2 deletions

@ -4,8 +4,7 @@ Requirements:
3)Py2exe
4)Innosetup
It might be necessary to have the: Microsoft Visual C++ 2008 Redistributable Package, because python 2.6 uses it and it's not installed by default in windows. I don't know if python 3 still needs it.
It is necessary to have the: Microsoft Visual C++ 2010 Redistributable Package.
Create an exe file
- Move the file windows/input.py to ../
@ -18,6 +17,7 @@ At the end, there should be a directory named "dist" containing the exe file and
Create the setup with Inno Setup
- Move windows/ss.iss to ../
- Download the Microsoft Visual C++ 2010 Redistributable, call it vcredist_x86.exe and save it in the relational main directory
- Open ss.iss with Inno Setup, Build and Compile
A directory named "Output" will be created, which will contain the installer.

@ -28,11 +28,17 @@ Name: "english"; MessagesFile: "compiler:Default.isl"
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Run]
; add the Parameters, WorkingDir and StatusMsg as you wish, just keep here
; the conditional installation Check
Filename: "{tmp}\vcredist_x86.exe"; Check: VCRedistNeedsInstall
[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
[Icons]