Commits

Josh VanderLinden committed 3e4aae8

Added the Inno Setup script for windows installers

  • Participants
  • Parent commits 7402111
  • Branches slim

Comments (0)

Files changed (4)

 simplejson
 build
 dist
-chirpy.log
+chirpy.log
+scripts/Output
+Copyright (c) 2009 Josh VanderLinden
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.

scripts/inno_setup.iss

+; 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={{8535240E-843F-4FF4-B7E8-FBE542BDF1B8}
+AppName=Chirpy
+AppVerName=Chirpy 0.0.2
+AppPublisher=Josh VanderLinden
+AppPublisherURL=http://bitbucket.org/codekoala/chirpy
+AppSupportURL=http://bitbucket.org/codekoala/chirpy
+AppUpdatesURL=http://bitbucket.org/codekoala/chirpy
+DefaultDirName={pf}\Chirpy
+DefaultGroupName=Chirpy
+AllowNoIcons=yes
+LicenseFile=C:\dev\chirpy-hg\LICENSE
+OutputBaseFilename=chirpy-setup
+Compression=lzma
+SolidCompression=yes
+
+[Languages]
+Name: "english"; MessagesFile: "compiler:Default.isl"
+
+[Tasks]
+Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"
+Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"
+
+[Files]
+Source: "C:\dev\chirpy-hg\dist\chirpy.exe"; DestDir: "{app}"; Flags: ignoreversion
+Source: "C:\dev\chirpy-hg\dist\MSVCR71.dll"; DestDir: "{app}"; Flags: ignoreversion
+Source: "C:\dev\chirpy-hg\dist\w9xpopen.exe"; DestDir: "{app}"; Flags: ignoreversion
+Source: "C:\dev\chirpy-hg\dist\library.zip"; DestDir: "{app}"; Flags: ignoreversion
+Source: "C:\dev\chirpy-hg\dist\resources\*"; DestDir: "{app}\resources"; Flags: ignoreversion recursesubdirs createallsubdirs
+; NOTE: Don't use "Flags: ignoreversion" on any shared system files
+
+[Icons]
+Name: "{group}\Chirpy"; Filename: "{app}\chirpy.exe"; WorkingDir: "{app}"
+Name: "{group}\{cm:UninstallProgram,Chirpy}"; Filename: "{uninstallexe}"
+Name: "{commondesktop}\Chirpy"; Filename: "{app}\chirpy.exe"; WorkingDir: "{app}"; Tasks: desktopicon
+Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\Chirpy"; Filename: "{app}\chirpy.exe"; WorkingDir: "{app}"; Tasks: quicklaunchicon
+
+[Run]
+Filename: "{app}\chirpy.exe"; Description: "{cm:LaunchProgram,Chirpy}"; Flags: nowait postinstall skipifsilent
+
+[UninstallDelete]
+Type: files; Name: "{app}\*.pyc"
 
         # The lib directory contains everything except the executables and the python dll.
         # Can include a subdirectory name.
-        zipfile='lib/shared.zip',
+        #zipfile='lib/shared.zip',
         windows=[chirpy],
         data_files=[
             ('resources', resources),