; Script generated by the Inno Setup Script Wizard.
; This is the    === F I L E   M A N A G E R   64 bit===   script 2018-11-21
; Moved the GeneratedSML to the exe resource.
; Fixed DefaultDirName
; Changed from PrototypeSML.xml to GeneratedSML.xml
; Change OutputDir=C:\wamp\public_html\SETINet
; Added PrivilegesRequired=admin
; 
#pragma verboselevel 9
#define AppName "File Manager-64bit"
#define AppVersion GetFileVersion("D:\SETINet\FileManager\Win32\Debug\FileManager.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={{5F04E149-FD3A-4C12-BE9E-A9E2E94728B9}}
;
AppName= SETI Network {#AppName} 
AppVersion={#AppVersion}
VersionInfoVersion={#AppVersion}
;PrivilegesRequired=admin
AppPublisher=SETI Net
AppPublisherURL=http://www.SETI.Net/
AppSupportURL=http://www.SETI.Net/
AppUpdatesURL=http://www.SETI.Net/
DefaultDirName={pf}\SETI Net\File Manager-64bit
DefaultGroupName=SETI Net\FileManager-64bit
;LicenseFile=D:\Engineering\Antenna\SRT\InnoScript\SRT License File.rtf
InfoBeforeFile=D:\SETINet\FileManager\InnoScript\FileManager Information File Before Installation-64bit.rtf
InfoAfterFile=D:\SETINet\FileManager\InnoScript\FileManager Information File After Installation-64bit.rtf
OutputBaseFilename=SetUp FileManager-64bit
;OutputDir=C:\UwAmp\www\SETINet\Operation
OutputDir=D:\www\Operations
;SetupIconFile=C:\Program Files\Borland\DelphiTools\ICONS\Vista Common\ICO\64x64\history_1_64.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\FileManager\Win64\Debug\FileManager.exe"; DestDir: "{app}"; Flags:  Touch
; Source: "D:\www\engineering\database\SML\schema\GeneratedSML.xml"; DestDir: "{app}"; Flags: Touch  

;Source: "C:\Program Files\GMS\Bin\AGaugeM.ocx"; DestDir: "{sys}"; Flags:  sharedfile regserver 
;Source: "C:\Program Files\GMS\Bin\LEDM.ocx"; DestDir: "{sys}"; Flags:  sharedfile regserver  
;  Source: "C:\Program Files\GMS\Bin\Toggle.ocx"; DestDir: "{app}"; Flags: restartreplace sharedfile regserver
;Source: "C:\Program Files\GMS\Bin\ToggleM.ocx"; DestDir: "{sys}"; Flags: sharedfile regserver  

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

[Run]
Filename: "{app}\FileManager.exe"; Description: "{cm:LaunchProgram,the File Manager}"; 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\FileManager"; Flags: uninsdeletekey
;Root: HKCU; Subkey: "Software\SETI Net\Clock"; Flags: uninsdeletekey eName: "Path"; ValueData: "{app}"
