1 #define AppName
= 'VapourSynth'
2 #define Version
= 'R14'
6 OutputBaseFilename
=vapoursynth_installer
8 InternalCompressLevel
=max
10 LZMAUseSeparateProcess
=yes
11 VersionInfoDescription
={#= AppName} {#= Version} Installer
14 AppVersion
={#= Version}
15 AppVerName
={#= AppName} {#= Version}
16 AppPublisher
=Fredrik Mellbin
17 AppPublisherURL
=http
://www
.vapoursynth
.com
/
18 AppSupportURL
=http
://www
.vapoursynth
.com
/
19 AppUpdatesURL
=http
://www
.vapoursynth
.com
/
20 VersionInfoVersion
=0.9.0.2
21 DefaultDirName
={pf}\VapourSynth
22 DefaultGroupName
=VapourSynth
23 AllowCancelDuringInstall
=no
27 PrivilegesRequired
=poweruser
28 FlatComponentsList
=yes
31 Name
: Full; Description
: Full installation
34 Name
: Core
; Description
: {#= AppName} {#= Version}; Types
: Full; Flags
: fixed
37 Name
: newvpyfile
; Description
: "Add new .vpy shortcut"; GroupDescription
: "New File Shortcuts:"
40 Source
: vapoursynth
.dll
; DestDir
: {code:GetPythonPath}; Flags
: ignoreversion uninsrestartdelete restartreplace
41 Source
: vapoursynth
.dll
; DestDir
: {app}; Flags
: ignoreversion uninsrestartdelete restartreplace
42 Source
: vapoursynth
.pyd
; DestDir
: {code:GetPythonPath}; Flags
: ignoreversion uninsrestartdelete restartreplace
43 Source
: QtCore4
.dll
; DestDir
: {code:GetPythonPath}; Flags
: ignoreversion uninsrestartdelete restartreplace
44 Source
: vsfs
.dll
; DestDir
: {app}; Flags
: ignoreversion uninsrestartdelete restartreplace
45 Source
: template
.vpy
; DestDir
: {app}; Flags
: ignoreversion uninsrestartdelete restartreplace
46 Source
: vsvfw
.dll
; DestDir
: {sys}; Flags
: ignoreversion uninsrestartdelete restartreplace
47 Source
: msvcr100
.dll
; DestDir
: {sys}; Flags
: restartreplace uninsneveruninstall sharedfile
48 Source
: msvcp100
.dll
; DestDir
: {sys}; Flags
: restartreplace uninsneveruninstall sharedfile
51 Name
: {group}\VapourSynth Website
; Filename
: http
://www
.vapoursynth
.com
/
52 Name
: {group}\VapourSynth Documentation
; Filename
: http
://www
.vapoursynth
.com
/doc
/
55 Root
: HKLM
; Subkey
: SOFTWARE\Classes\CLSID\
{{58F74CA0-BD0E-4664-A49B-8D10E6F0C131}; ValueType
: string; ValueName
: ""; ValueData
: "VapourSynth"; Flags
: uninsdeletevalue uninsdeletekeyifempty
56 Root
: HKLM
; Subkey
: SOFTWARE\Classes\CLSID\
{{58F74CA0-BD0E-4664-A49B-8D10E6F0C131}\InProcServer32
; ValueType
: string; ValueName
: ""; ValueData
: "vsvfw.dll"; Flags
: uninsdeletevalue uninsdeletekeyifempty
57 Root
: HKLM
; Subkey
: SOFTWARE\Classes\CLSID\
{{58F74CA0-BD0E-4664-A49B-8D10E6F0C131}\InProcServer32
; ValueType
: string; ValueName
: "ThreadingModel"; ValueData
: "Apartment"; Flags
: uninsdeletevalue uninsdeletekeyifempty
58 Root
: HKLM
; Subkey
: SOFTWARE\Classes\Media
Type\Extensions\
.vpy
; ValueType
: string; ValueName
: ""; ValueData
: ""; Flags
: uninsdeletevalue uninsdeletekeyifempty
59 Root
: HKLM
; Subkey
: SOFTWARE\Classes\Media
Type\Extensions\
.vpy
; ValueType
: string; ValueName
: "Source Filter"; ValueData
: "{{D3588AB0-0781-11CE-B03A-0020AF0BA770}"; Flags
: uninsdeletevalue uninsdeletekeyifempty
60 Root
: HKLM
; Subkey
: SOFTWARE\Classes\
.vpy
; ValueType
: string; ValueName
: ""; ValueData
: "vsfile"; Flags
: uninsdeletevalue uninsdeletekeyifempty
61 Root
: HKLM
; Subkey
: SOFTWARE\Classes
\vsfile
; ValueType
: string; ValueName
: ""; ValueData
: "VapourSynth Python Script"; Flags
: uninsdeletevalue uninsdeletekeyifempty
62 Root
: HKLM
; Subkey
: SOFTWARE\Classes
\vsfile\DefaultIcon
; ValueType
: string; ValueName
: ""; ValueData
: "vsvfw.dll,0"; Flags
: uninsdeletevalue uninsdeletekeyifempty
63 Root
: HKLM
; Subkey
: SOFTWARE\Classes\AVIFile\Extensions\VPY
; ValueType
: string; ValueName
: ""; ValueData
: "{{58F74CA0-BD0E-4664-A49B-8D10E6F0C131}"; Flags
: uninsdeletevalue uninsdeletekeyifempty
64 Root
: HKLM
; Subkey
: SOFTWARE\Classes\
.vpy\ShellNew
; ValueType
: string; ValueName
: "FileName"; ValueData
: "{app}\template.vpy"; Flags
: uninsdeletevalue uninsdeletekeyifempty; Tasks
: newvpyfile
68 var PythonPath
: string;
70 function InitializeSetup(): Boolean;
72 Result
:= RegQueryStringValue(HKLM
, 'SOFTWARE\Python\PythonCore\3.3\InstallPath', '', PythonPath
);
74 MsgBox('Python 3.3 installation not found.', mbCriticalError
, MB_OK
);
77 function GetPythonPath(Param
: String): String;
79 Result
:= PythonPath
+ '\Lib\site-packages';