Subversion Repositories Aluchemie.datataker

Rev

Rev 46 | Blame | Compare with Previous | Last modification | View Log | Download

; BEGIN ISPPBUILTINS.ISS


; END ISPPBUILTINS.ISS

; -- valmet.iss --
; Copyright (C) 2008 RLD Automation
; FL7.5.1, Windows 2003 + XP


;OS version and SP required

;Application definitions
;#define BaseDir  "..\..\..\Flink"


;Entry for ctlist file
;#define CtList "val_pd_m val_pd_x val_pd_t val_pd_z val_pd_d"

;Key files to add
;#define Key1 "val_bus"
;#define Key2 "val_type"
;#define Key3 ""
;#define Key4 ""
;#define Key5 ""

;Message files to add
;#define Msg1 "valmet"
;#define Msg2 "valm_ac"
;#define Msg3 "Imx_ser"

[Setup]
AppName=Datataker VS2012
AppVerName=Datataker VS2012 1.1.0.2, for Windows 7 (with SP1 or higher)
AppCopyright=Copyright © 2008 RLD Automation.
AppPublisher=RLD Automation
AppPublisherURL=http://www.rldautomation.eu
AppSupportURL=http://www.rldautomation.eu
AppUpdatesURL=http://www.rldautomation.eu
;AppVersion=1.0 ;{#AppVersion}

OutputBaseFilename=DatatakerInstall1.1.0.2
OutputDir=.\Setup

WizardImageFile=.\SetupModern23.bmp
WizardSmallImageFile=.\SetupModernSmall15.bmp

Uninstallable=yes
UninstallDisplayIcon={app}\Datataker.exe
UninstallDisplayName=Datataker VS2012
UninstallFilesDir={app}

LicenseFile=.\license.txt
InfoBeforeFile=.\infobefore.txt

PrivilegesRequired=poweruser
RestartIfNeededByRun=yes
;AlwaysRestart=yes
DisableStartupPrompt=yes
DisableProgramGroupPage=no
DiskSpanning=0
DefaultDirName={pf}\Datataker
DefaultGroupName=Datataker
DirExistsWarning=no
;MinVersion=4,4
UsePreviousAppDir=yes
WizardStyle=modern
UninstallStyle=modern
WindowVisible=false
BackColor=clSilver
BackColor2=clBlack
BackColorDirection=toptobottom
;WizardDebug=no
AllowNoIcons=yes
UsePreviousTasks=no

[Types]
Name: compact; Description: Datataker program only installation
Name: full; Description: Full installation
Name: custom; Description: Custom installation; Flags: iscustom

[Components]
Name: main; Description: Datataker VS2012 Program; Types: compact full custom; Flags: fixed
Name: manual; Description: Datataker  User Guide; Types: full compact
Name: debug; Description: Datataker Debug Viewer Support-files; Types: full 
Name: vcredist; Description: Visual Studio redistributables X86; Types: full
;Name: dotnet; Description: {#dotNET}; Types: full

[Tasks]
;Name: startupicon; Description: "Start program after installation."; ;      GroupDescription: "Additional options:"; Components: main;

[Files]
;Datataker files
Source: ..\release\Datataker.exe; DestDir: {app}; Components: main
Source: ..\release\Datataker.map; DestDir: {app}; Components: main
Source: ..\release\Datataker.map; DestDir: {localappdata}\CrashDumps\DataTaker; Components: main

Source: ..\Datataker.ini; DestDir: {app}; Flags: onlyifdoesntexist; Components: main
;Source: "MyProg-x64.exe"; DestDir: "{app}"; Check: IsWin64;
;Source: "MyProg-x86.exe"; DestDir: "{app}"; Check: "not IsWin64";

;Debug viewer
Source: ..\..\DbgView\*; DestDir: {app}; Flags: ignoreversion; Components: debug

;VS redistributables
Source: ..\..\VS-redistributables\vc2012redist_x86.exe; DestDir: {app}; Components: vcredist
Source: ..\..\VS-redistributables\vc2012redist_x64.exe; DestDir: {app}; Check: "IsWin64"; Components: vcredist

;dotnet 3.x
;Source: ..\..\dotNET\dotnetfx3.exe; DestDir: {app}; Components: dotnet
;Source: ..\..\dotNET\dotnetfx35setup.exe; DestDir: {app}; Components: dotnet


;Documentation
Source: {src}\*.pdf; DestDir: {app}; Flags: external; Components: manual

;Readme file
;Source: ..\Im_bas.txt; DestDir: "{app}"; Flags: isreadme; Components: main

[Registry]
;Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"; ;      ValueType: expandsz; ValueName: "Path"; ValueData: "{olddata};{pf}\datataker"; ;      Check: NeedsAddPath('{pf}\datataker')
;Minidump settings
Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps"; ValueType: none; ValueName: ""; ValueData: ""; Components: main
Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps"; ValueType: expandsz; ValueName: "DumpFolder"; ValueData: "%LOCALAPPDATA%\CrashDumps"; Flags: createvalueifdoesntexist; Components: main
Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps"; ValueType: dword; ValueName: "DumpCount"; ValueData: "10"; Flags: createvalueifdoesntexist; Components: main
Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps"; ValueType: dword; ValueName: "DumpType"; ValueData: "1"; Flags: createvalueifdoesntexist; Components: main
Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\Datataker.exe"; ValueType: none; ValueName: ""; ValueData: ""; Flags: createvalueifdoesntexist; Components: main
Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\Datataker.exe"; ValueType: expandsz; ValueName: "DumpFolder"; ValueData: "%LOCALAPPDATA%\CrashDumps\Datataker"; Flags: createvalueifdoesntexist; Components: main
;Minidump x64
Root: HKLM64; Subkey: "SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps"; ValueType: none; ValueName: ""; ValueData: ""; Components: main; Check: "IsWin64";
Root: HKLM64; Subkey: "SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps"; ValueType: expandsz; ValueName: "DumpFolder"; ValueData: "%LOCALAPPDATA%\CrashDumps"; Flags: createvalueifdoesntexist; Components: main; Check: "IsWin64";
Root: HKLM64; Subkey: "SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps"; ValueType: dword; ValueName: "DumpCount"; ValueData: "10"; Flags: createvalueifdoesntexist; Components: main; Check: "IsWin64";
Root: HKLM64; Subkey: "SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps"; ValueType: dword; ValueName: "DumpType"; ValueData: "1"; Flags: createvalueifdoesntexist; Components: main; Check: "IsWin64";
Root: HKLM64; Subkey: "SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\Datataker.exe"; ValueType: none; ValueName: ""; ValueData: ""; Flags: createvalueifdoesntexist; Components: main; Check: "IsWin64";
Root: HKLM64; Subkey: "SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\Datataker.exe"; ValueType: expandsz; ValueName: "DumpFolder"; ValueData: "%LOCALAPPDATA%\CrashDumps\Datataker"; Flags: createvalueifdoesntexist; Components: main; Check: "IsWin64";
      
[Icons]
Name: "{group}\DataTaker"; Filename: "{app}\datataker.exe"; WorkingDir: "{app}"
Name: "{group}\Debug Viewer"; Filename: "{app}\Dbgview.exe"; WorkingDir: "{app}"; Components: debug;
Name: "{commonstartup}\DataTaker"; Filename: "{app}\datataker.exe"; WorkingDir: "{app}"; 
;      Tasks: startupicon;

[Run]
Filename: {app}\vc2012redist_x86.exe; Parameters: /q; Flags: runhidden; StatusMsg: Installing Visual Studion 2012 SP4 C++ redistributables x86...; Components: vcredist
Filename: {app}\vc2012redist_x64.exe; Parameters: /q; Flags: runhidden; StatusMsg: Installing Visual Studion 2012 SP4 C++ redistributables x64...; Check: "IsWin64"; Components: vcredist
Filename: "{app}\datataker.exe"; Description: "Launch DataTaker application"; Flags: postinstall nowait skipifsilent unchecked;
;Filename: {app}\bin\dotnetfx3.exe; Parameters: /q; Flags: runhidden; ;          StatusMsg: Installing .NET redistributables...; Components: dotnet
;Filename: {app}\bin\dotnetfx35setup.exe; Parameters: /q; Flags: runhidden; ;          StatusMsg: Installing .NET redistributables...; Components: dotnet

[UninstallRun]

[InstallDelete]

[Messages]
RunEntryShellExec=Yes, I would like to view the README file
BeveledLabel=RLD Automation