Inno installer script to build windows installer. First draft-still needs some work...
[blender.git] / release / windows / inno / blender.iss
1 ; Script generated by the Inno Setup Script Wizard.\r
2 ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!\r
3 \r
4 \r
5 [Setup]\r
6 #define VERSION "2.49b"\r
7 \r
8 ; NOTE: The value of AppId uniquely identifies this application.\r
9 ; Do not use the same AppId value in installers for other applications.\r
10 ; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)\r
11 AppId={{C45CB76D-AD5F-49CC-86DE-72B168A6A888}\r
12 AppName=Blender\r
13 AppVerName=Blender {#VERSION}\r
14 AppPublisher=Blender Foundation\r
15 AppPublisherURL=http://www.blender.org\r
16 AppSupportURL=http://www.blender.org\r
17 AppUpdatesURL=http://www.blender.org\r
18 DefaultDirName={pf}\Blender\r
19 DefaultGroupName=Blender Foundation\r
20 AllowNoIcons=true\r
21 LicenseFile=.\copyright.txt\r
22 OutputBaseFilename=blender-{#VERSION}\r
23 Compression=lzma\r
24 SolidCompression=true\r
25 ChangesAssociations=true\r
26 WizardImageFile=.\installer.bmp\r
27 WizardSmallImageFile=.\header.bmp\r
28 SetupIconFile=.\installer.ico\r
29 MinVersion=,5.01.2600sp1\r
30 PrivilegesRequired=none\r
31 AllowRootDirectory=true\r
32 ShowLanguageDialog=auto\r
33 \r
34 [Dirs]\r
35 Name: {userdocs}\Blender; Flags: uninsneveruninstall; Tasks: ; Languages: \r
36 \r
37 [Languages]\r
38 Name: english; MessagesFile: compiler:Default.isl\r
39 \r
40 [Tasks]\r
41 Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked\r
42 Name: quicklaunchicon; Description: {cm:CreateQuickLaunchIcon}; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked\r
43 \r
44 [Files]\r
45 Source: ..\..\..\..\build\bin\release\blender.exe; DestDir: {app}; Flags: ignoreversion\r
46 Source: ..\..\..\..\build\bin\release\blender.html; DestDir: {app}; Flags: ignoreversion\r
47 Source: ..\..\..\..\build\bin\release\BlenderQuickStart.pdf; DestDir: {app}; Flags: ignoreversion\r
48 Source: ..\..\..\..\build\bin\release\copyright.txt; DestDir: {app}; Flags: ignoreversion\r
49 Source: ..\..\..\..\build\bin\release\GPL-license.txt; DestDir: {app}; Flags: ignoreversion\r
50 Source: ..\..\..\..\build\bin\release\Python-license.txt; DestDir: {app}; Flags: ignoreversion\r
51 Source: ..\..\..\..\build\bin\release\release_249.txt; DestDir: {app}; Flags: ignoreversion\r
52 Source: ..\..\..\..\build\bin\release\*.dll; DestDir: {app}; Flags: ignoreversion\r
53 Source: ..\..\..\..\build\bin\release\plugins\*; DestDir: {app}; Flags: ignoreversion recursesubdirs createallsubdirs\r
54 Source: ..\..\..\..\build\bin\release\.blender\*; DestDir: {app}; Flags: ignoreversion recursesubdirs createallsubdirs\r
55 ; NOTE: Don't use "Flags: ignoreversion" on any shared system files\r
56 \r
57 [Icons]\r
58 Name: {group}\Blender; Filename: {app}\blender.exe\r
59 Name: {group}\ReleaseNotes; Filename: {app}\release_249.txt\r
60 Name: {group}\Blender.org; Filename: {app}\blender.html\r
61 Name: {group}\Copyright; Filename: {app}\copyright.txt\r
62 Name: {group}\GPL; Filename: {app}\GPL-license.txt\r
63 Name: {group}\Uninstall; Filename: {uninstallexe}; Tasks: ; Languages: \r
64 Name: {commondesktop}\Blender; Filename: {app}\blender.exe; Tasks: desktopicon\r
65 Name: {userappdata}\Microsoft\Internet Explorer\Quick Launch\Blender; Filename: {app}\blender.exe; Tasks: quicklaunchicon\r
66 \r
67 [Registry]\r
68 Root: HKCR; Subkey: .blend; ValueType: string; ValueName: ; ValueData: BlenderFile; Flags: uninsdeletevalue\r
69 Root: HKCR; Subkey: BlenderFile; ValueType: string; ValueName: ; ValueData: Blender File; Flags: uninsdeletekey\r
70 Root: HKCR; Subkey: BlenderFile\DefaultIcon; ValueType: string; ValueName: ; ValueData: {app}\blender.exe,0\r
71 Root: HKCR; Subkey: BlenderFile\shell\open\command; ValueType: string; ValueName: ; ValueData: """{app}\blender.exe"" ""%1"""\r
72 \r
73 [Run]\r
74 Filename: {app}\blender.exe; Description: {cm:LaunchProgram,Blender}; Flags: nowait postinstall skipifsilent\r
75 \r
76 \r
77 [_ISToolDownload]\r
78 \r
79 [UninstallDelete]\r
80 Name: {app}\blender.exe; Type: files\r
81 Name: {app}\*.dll; Type: files\r
82 Name: {app}\blender.html; Type: files; Tasks: ; Languages: \r
83 Name: {app}\BlenderQuickStart.pdf; Type: files\r
84 Name: {app}\copyright.txt; Type: files\r
85 Name: {app}\GPL-license.txt; Type: files\r
86 Name: {app}\Python-license.txt; Type: files\r
87 Name: {app}\release_249.txt; Type: files\r
88 Name: {app}\.blender\*; Type: filesandordirs\r
89 Name: {app}\plugins\*; Type: filesandordirs\r
90 Name: {app}\.blender; Type: dirifempty\r
91 Name: {app}\plugins; Type: dirifempty\r
92 Name: {app}; Type: dirifempty\r