; Script generated by the Inno Setup Script Wizard.
; This is the     === Spectrum Analyzer 32 bit ===  script 2018-11-23
; Made all -32bit
; Name: "{group}\SpecAna32"; Filename: "{app}\SpectrumAnalyzer.exe"
; Bunch of corrections for some damn reason
; Change to 32 bit
; Remove HitBat.bat from load sequence
; Added HitBat.bat
; Fixed uninstaller line 55 and output directory line 33
; Removed " fromAppName
; Restarted from the Spectrum Analyzer Inno file

#pragma verboselevel 9
#define AppName "Spectrum Analyzer-32bit"
#define AppVersion GetFileVersion("D:\SETINet\SpectrumAnalyzer\Win32\Debug\SpectrumAnalyzer.exe")
;                                                                                                
[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 = {{2D5B34C3-F4C4-425C-84AF-FBFBFB3F1039}}
;PrivilegesRequired=admin

AppName= SETI Network {#AppName} 
AppVersion={#AppVersion}
VersionInfoVersion={#AppVersion}


AppPublisher=SETI Net
AppPublisherURL=http://www.SETI.Net/
AppSupportURL=http://www.SETI.Net/
AppUpdatesURL=http://www.SETI.Net/
DefaultDirName={pf}\SETI Net\SpecAna-32bit
DefaultGroupName=SETI Net\SpectrumAnalyzer-32bit
;LicenseFile=D:\Engineering\ControlPanel\InnoScript\ControlPanel License File.rtf
InfoBeforeFile=D:\SETINet\SpectrumAnalyzer\InnoScript\SpectrumAnalyzer Information File Before Installation-32bit.rtf
InfoAfterFile=D:\SETINet\SpectrumAnalyzer\InnoScript\SpectrumAnalyzer Information File After Installation-32bit.rtf
OutputBaseFilename=SetUp SpectrumAnalyzer-32bit
OutputDir=D:\www\Operations
;SetupIconFile=D:\SETINet\SpectrumAnalizer\InnoScript\SpectrumAnalyzer_Icon.ico
Compression=lzma
SolidCompression=yes
TouchTime=current
;ArchitecturesInstallIn64BitMode = x64 

[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; 
 
[Files]
Source: "D:\SETINet\SpectrumAnalyzer\Win32\Debug\SpectrumAnalyzer.exe"; DestDir: "{app}"; Flags: replacesameversion Touch
;Source: "D:\SETINet\SpectrumAnalizer\HitBat.bat"; DestDir: "{app}"; Flags: replacesameversion Touch
; Source: "D:\Engineering\ControlPanel\Build\Hits.csv"; DestDir: "{app}"; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
;  Problem here.  Works alright when OCXs are installed via other modules

[Icons]
Name: "{group}\SpecAna-32"; Filename: "{app}\SpectrumAnalyzer.exe"
Name: "{group}\{cm:ProgramOnTheWeb,SpectrumAnalyzer}"; Filename: "http://www.seti.net/Operations/Operations.php#SpectrumAnalyzer"
Name: "{group}\{cm:UninstallProgram,SpectrumAnalyzer}"; Filename: "{uninstallexe}"
Name: "{commondesktop}\SpectrumAnalyzer"; Filename: "{app}\SpectrumAnalyzer.exe"; Tasks: desktopicon


[Run]
Filename: "{app}\SpectrumAnalyzer.exe"; Description: "{cm:LaunchProgram,SpectrumAnalyzer}"; Flags: nowait postinstall skipifsilent

[Registry]
; Start "Software\My Company\My Program" keys under HKEY_CURRENT_USER and HKEY_LOCAL_MACHINE. The flags tell it to always delete the
; "My Program" keys upon uninstall, and delete the "My Company" keys if there is nothing left in them.
Root: HKCU; Subkey: "Software\SETI Net"; Flags: uninsdeletekeyifempty
Root: HKCU; Subkey: "Software\SETI Net\SpectrumAnalyzer"; Flags: uninsdeletekey

