>>> On 10/4/2007 at 18:18, Doug Burch <
DBurch@...> wrote:
> Hi Alex,
>
> Would you mind sending me the link to the installation software that we
> talked about earlier today.
>
> Thanks, Doug
Doug,
I prefer the Nullsoft Installer (aka NSIS, *.nsi) due to its wider community support and more clear license.
I've also figured out how to use it to build PDA application installers(I think this is why I switched to it)
It's available from:
http://nsis.sourceforge.net/There is an add-on tool I recommend to help you build scripts
http://hmne.sourceforge.net/An alternative application which is easier for beginners is InnoSetup(*.iss), which I didn't realize is also Open Source license until I read the license this morning, it's just a home brewed license and centers around only 1 developer.
http://www.jrsoftware.org/isinfo.phpNote: There are also scripts available to convert between the two types of scripts.
I've attached an example script for each of the formats to give you an idea of how they work. Keep in mind in order to build a PDA installer you need to build a CAB file first following my instructions on
http://www.cdfg-rap.net/applications/development/folder.2006-08-07.7774029027/cabwiz/Alex
----------
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
; pyRapix Basic installer now references to tags directory
; update tags directory for each req. version to the \dist directory
[Setup]
AppName=pyRapix
AppVerName=pyRapix 0.4.6
AppPublisher=California Department of Fish & Game, Resource Assessment Program
AppPublisherURL=
http://www.cdfg-rap.netAppSupportURL=
http://www.cdfg-rap.netAppUpdatesURL=
http://www.cdfg-rap.netDefaultDirName={pf}\pyRapix
DefaultGroupName=pyRapix
AllowNoIcons=yes
InfoBeforeFile=C:\Database\Code\pyRapix-svn\tags\0.4.6\Readme.txt
OutputDir=C:\Database\Code\pyRapix-svn\tags\0.4.6\dist\
OutputBaseFilename=pyRapix-setup
SetupIconFile=C:\Database\Code\pyRapix-svn\tags\0.4.6\rapix_32px.ico
Compression=lzma
SolidCompression=yes
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
Source: "C:\Database\Code\pyRapix-svn\tags\0.4.6\dist\pyRapix.exe"; DestDir: "{app}"; Flags: ignoreversion
;Source: "C:\Program Files\Python24\AlexCode\pyRapix-cvs\branches\GDAL\trunk\GDAL\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "C:\Database\Code\pyRapix-svn\tags\0.4.6\dist\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons]
Name: "{group}\pyRapix"; Filename: "{app}\pyRapix.exe"; WorkingDir: "{app}"
Name: "{group}\{cm:UninstallProgram,pyRapix}"; Filename: "{uninstallexe}"
Name: "{userdesktop}\pyRapix"; Filename: "{app}\pyRapix.exe"; Tasks: desktopicon; WorkingDir: "{app}"; IconFilename:"{app}\rapix_32px.ico"
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\pyRapix"; Filename: "{app}\pyRapix.exe"; Tasks: quicklaunchicon; WorkingDir: "{app}"; IconFilename:"{app}\rapix_32px.ico"
[Run]
Filename: "{app}\pyRapix.exe"; Description: "{cm:LaunchProgram,pyRapix}"; Flags: nowait postinstall skipifsilent
[Non-text portions of this message have been removed]