From 78d7614e5d0b8b043a91fa34554de963d5171c5a Mon Sep 17 00:00:00 2001 From: Raymond Date: Fri, 9 Apr 2010 22:31:35 +0200 Subject: [PATCH] Added setup file for the installer on windows (Inno Setup) --- Install/win32/Setup.iss | 52 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 Install/win32/Setup.iss diff --git a/Install/win32/Setup.iss b/Install/win32/Setup.iss new file mode 100644 index 0000000..deef0bd --- /dev/null +++ b/Install/win32/Setup.iss @@ -0,0 +1,52 @@ +; 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={{1DBDC946-E964-430C-9BD6-2AE5E426E5AC} +AppName=Simba +AppVerName=Simba 1.0 Beta +AppPublisherURL=http://simba.villavu.com/ +AppSupportURL=http://simba.villavu.com/ +AppUpdatesURL=http://simba.villavu.com/ +DefaultDirName={pf}\Simba +DefaultGroupName=Simba +OutputDir=C:\Remake\Install\win32 +OutputBaseFilename=setup +Compression=lzma +SolidCompression=yes +ChangesAssociations=yes + +[Languages] +Name: "english"; MessagesFile: "compiler:Default.isl" + +[Tasks] +Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; + +[Dirs] +Name: "{app}\Extensions" +Name: "{app}\Includes" +Name: "{app}\Plugins" +Name: "{app}\Scripts" + +[Files] +Source: "C:\Remake\Simba.exe"; DestDir: "{app}"; Flags: ignoreversion +Source: "C:\Remake\Fonts\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs +Source: "C:\Remake\Tests\PS\*"; DestDir:"{app}\Scripts\Tests\"; Flags: ignoreversion +; NOTE: Don't use "Flags: ignoreversion" on any shared system files + +[Icons] +Name: "{group}\Simba"; Filename: "{app}\Simba.exe" +Name: "{group}\{cm:UninstallProgram,Simba}"; Filename: "{uninstallexe}" +Name: "{commondesktop}\Simba"; Filename: "{app}\Simba.exe"; Tasks: desktopicon + +[Run] +Filename: "{app}\Simba.exe"; Description: "{cm:LaunchProgram,Simba}"; Flags: nowait postinstall skipifsilent + +[Registry] +Root: HKCR; Subkey: ".simba"; ValueType: string; ValueName: ""; ValueData: "Simba"; Flags: uninsdeletevalue +Root: HKCR; Subkey: "Simba"; ValueType: string; ValueName: ""; ValueData: "Simba script"; Flags: uninsdeletekey +Root: HKCR; Subkey: "Simba\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\Simba.exe,0" +Root: HKCR; Subkey: "Simba\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\Simba.exe"" ""%1"""