-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d57694a
commit 2742ff6
Showing
4 changed files
with
25 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,97 +1,36 @@ | ||
#include "scripts\products.iss" | ||
#include "scripts\products\winversion.iss" | ||
#include "scripts\products\fileversion.iss" | ||
#include "scripts\products\msi31.iss" | ||
#include "scripts\products\ie6.iss" | ||
#include "scripts\products\dotnetfx35sp1.iss" | ||
#define MyAppVer GetFileVersion(".\CompiledFiles\TestDesigner.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 Igerman.) | ||
AppVersion={#MyAppVer} | ||
AppId={{1F8E716E-EEC0-43F5-9CD9-131752D0C773} | ||
AppName=Thunderbolt EIA/CLIA Test Designer | ||
AppPublisher=Gold Standard Diagnostics | ||
AppPublisherURL=http://www.gsdx.us/ | ||
AppSupportURL=http://www.gsdx.us/ | ||
AppUpdatesURL=http://www.gsdx.us/ | ||
AppCopyright=Copyright (C) 2013 Gold Standard Diagnostics | ||
DefaultDirName={pf}\Gold Standard Diagnostics\ThunderBolt\EIA\TestDesigner | ||
AppVersion=1.0 | ||
AppId={{780D1BA1-20DD-4498-BD84-E07D6B4DA530} | ||
AppName=Oxygene Template Installer | ||
AppPublisher=Team RO | ||
DefaultDirName={userdocs} | ||
DisableDirPage=yes | ||
DefaultGroupName=Gold Standard Diagnostics\Thunderbolt EIA | ||
;DefaultGroupName=Gold Standard Diagnostics\Thunderbolt EIA | ||
DisableProgramGroupPage=yes | ||
OutputBaseFilename=ThunderboltEIATestDesignerSetup_{#MyAppVer} | ||
OutputBaseFilename=OxygeneTemplates | ||
Compression=lzma/ultra | ||
SolidCompression=yes | ||
ArchitecturesInstallIn64BitMode=x64 | ||
SetupIconFile=GSD.ico | ||
SetupIconFile=Oxygene.ico | ||
|
||
[Languages] | ||
Name: "en"; MessagesFile: "compiler:Default.isl" | ||
|
||
[Files] | ||
Source: ".\CompiledFiles\TestDesigner.exe"; DestDir: {code:GetCleanInstallFolder}; Flags: ignoreversion | ||
Source: ".\CompiledFiles\*.dll"; DestDir: {code:GetCleanInstallFolder}; Flags: ignoreversion recursesubdirs | ||
Source: ".\CompiledFiles\*.pdb"; DestDir: {code:GetCleanInstallFolder}; Flags: ignoreversion recursesubdirs | ||
Source: ".\CompiledFiles\*.xml"; DestDir: {code:GetCleanInstallFolder}; Flags: ignoreversion recursesubdirs | ||
Source: ".\Included Default Files\*.*"; DestDir: {code:GetCleanInstallFolder}; Flags: ignoreversion recursesubdirs createallsubdirs; Permissions: users-modify | ||
;Source: "Test Designer Release Notes.html"; DestDir: {code:GetCleanInstallFolder}; Flags: ignoreversion | ||
Source: ".\Included Files\*.*"; DestDir: {code:GetDataFolder}; Flags: ignoreversion recursesubdirs createallsubdirs; Permissions: users-full | ||
|
||
[Icons] | ||
Name: "{group}\Thunderbolt EIA Test Designer"; Filename: "{app}\TestDesigner.exe" | ||
;Name: "{group}\Thunderbolt EIA Test Designer Release Notes"; Filename: "{app}\Test Designer Release Notes.html" | ||
Name: "{group}\Data Folder"; Filename: {code:GetDataFolder} | ||
Name: "{commondesktop}\Thunderbolt EIA Test Designer"; Filename: "{app}\TestDesigner.exe"; | ||
|
||
|
||
[Code] | ||
var | ||
UsagePage: TInputOptionWizardPage; | ||
AppDirPage: TInputDirWizardPage; | ||
DataDirPage: TInputDirWizardPage; | ||
InstallFolderCleaned: Boolean; | ||
procedure InitializeWizard; | ||
begin | ||
initwinversion(); | ||
if not minwinspversion(5, 1, 2) then | ||
begin | ||
MsgBox('Windows XP Service Pack 2 is the minimum supported system.', mbError, MB_OK); | ||
Abort(); | ||
end; | ||
msi31('3.0'); | ||
dotnetfx35sp1(); | ||
InstallFolderCleaned := false; | ||
end; | ||
function ShouldSkipPage(PageID: Integer): Boolean; | ||
begin | ||
end; | ||
function GetDataFolder(par: String): String; | ||
begin | ||
result := ExpandConstant('{commonappdata}') + '\Gold Standard Diagnostics\ThunderBolt EIA\DataFolder'; | ||
end; | ||
function GetCleanInstallFolder(par: String): String; | ||
begin | ||
result := ExpandConstant('{app}'); | ||
if not InstallFolderCleaned then | ||
begin | ||
DelTree(result + '\DefaultDispenses', true, true, true); | ||
DelTree(result + '\DefaultFluidPickups', true, true, true); | ||
DelTree(result + '\DefaultProbeWash', true, true, true); | ||
DelTree(result + '\DefaultWellWash', true, true, true); | ||
InstallFolderCleaned := true; | ||
end; | ||
end; | ||
procedure CurStepChanged(CurStep: TSetupStep); | ||
begin | ||
end; | ||
[Components] | ||
Name: "vs2010"; Description: "Install into Visual Studio 2010"; Types: full; | ||
Name: "vs2010\reporting"; Description: "Templates for reporting"; Types: full | ||
Name: "vs2010\reporting\XtraReports2012_1"; Description: "XtraReports 2012.1"; Types: full | ||
Name: "vs2010\reporting\XtraReports2012_2"; Description: "XtraReports 2012.2"; Types: full | ||
Name: "vs2012"; Description: "Install into Visual Studio 2012"; Types: full; | ||
Name: "vs2012\Reporting"; Description: "Templates for reporting"; Types: full | ||
Name: "vs2012\Reporting\XtraReports2012_1"; Description: "XtraReports 2012.1"; Types: full | ||
Name: "vs2012\Reporting\XtraReports2012_2"; Description: "XtraReports 2012.2"; Types: full | ||
|
||
[Files] | ||
Source: "BuildOutput\XtraReports2012.1.zip"; DestDir: "{app}\Visual Studio 2010\Templates\ItemTemplates\Oxygene\Reporting\1033"; Components: vs2010\reporting\XtraReports2012_1 | ||
Source: "BuildOutput\XtraReports2012.2.zip"; DestDir: "{app}\Visual Studio 2010\Templates\ItemTemplates\Oxygene\Reporting\1033"; Components: vs2010\reporting\XtraReports2012_2 | ||
Source: "BuildOutput\XtraReports2012.1.zip"; DestDir: "{app}\Visual Studio 2012\Templates\ItemTemplates\Oxygene\Reporting\1033"; Components: vs2012\reporting\XtraReports2012_1 | ||
Source: "BuildOutput\XtraReports2012.2.zip"; DestDir: "{app}\Visual Studio 2012\Templates\ItemTemplates\Oxygene\Reporting\1033"; Components: vs2012\reporting\XtraReports2012_2 |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters