Imported Upstream version 3.0
[debian/gnuradio] / usrp / usrp.iss.in
1 ;
2 ; Copyright 2003 Free Software Foundation, Inc.
3 ;
4 ; This file is part of GNU Radio
5 ;
6 ; GNU Radio is free software; you can redistribute it and/or modify
7 ; it under the terms of the GNU General Public License as published by
8 ; the Free Software Foundation; either version 2, or (at your option)
9 ; any later version.
10 ;
11 ; GNU Radio is distributed in the hope that it will be useful,
12 ; but WITHOUT ANY WARRANTY; without even the implied warranty of
13 ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 ; GNU General Public License for more details.
15 ;
16 ; You should have received a copy of the GNU General Public License
17 ; along with GNU Radio; see the file COPYING.  If not, write to
18 ; the Free Software Foundation, Inc., 51 Franklin Street,
19 ; Boston, MA 02110-1301, USA.
20 ;
21
22 ; Requirements: Inno Setup (http://www.jrsoftware.org/isdl.php)
23 ;
24 ; To compile this script do the following:
25 ; - copy libusb's driver (libusb0.sys, libusb0.dll) to this folder
26 ; - copy the USRP filter .inf file to this folder
27 ; - copy the USRP .exe and .dll files to this folder
28 ; - open this scipt with Inno Setup
29 ; - compile and run
30
31 [Setup]
32 AppName=USRP
33 AppVerName=USRP @VERSION@
34 AppPublisher=GNU Radio folks
35 AppPublisherURL=http://www.gnu.org/software/gnuradio/
36 AppVersion=@VERSION@
37 DefaultDirName={pf}\Usrp
38 DefaultGroupName=Usrp
39 Compression=lzma
40 SolidCompression=yes
41 ; Win98 or higher
42 MinVersion=4,5
43 PrivilegesRequired=admin
44 LicenseFile="COPYING_GPL.txt"
45
46 [Files]
47 ; copy the file to the App folder
48 Source: "*.sys"; DestDir: "{app}\driver"
49 ;Source: "*.cat"; DestDir: "{app}\driver"
50 Source: "*.dll"; DestDir: "{app}\driver"
51 Source: "usrp.inf"; DestDir: "{app}\driver"
52
53 ; also copy the DLL to the system folders so that rundll32.exe will find it
54 Source: "*.dll"; DestDir: "{win}\system32"; FLags: replacesameversion restartreplace
55
56 Source: "COPYING_GPL.txt"; DestDir: "{app}"
57 Source: "README.txt"; DestDir: "{app}"; Flags: isreadme
58
59 Source: "*.exe"; DestDir: "{app}"
60 Source: "*.ihx"; DestDir: "{app}\rev2"
61 Source: "*.rbf"; DestDir: "{app}\rev2"
62
63 [Icons]
64 Name: "{group}\Uninstall TestDrivers"; Filename: "{uninstallexe}"
65
66 [Run]
67 ; invoke libusb's DLL to install the .inf file
68 Filename: "rundll32"; Parameters: "libusb0.dll,usb_install_driver_np_rundll {app}\driver\usrp.inf"; StatusMsg: "Installing driver (this may take a few seconds) ..."
69