Advertisement
AKA_Beest

Inno Script

Jun 11th, 2020
2,183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; Script generated by the Inno Setup Script Wizard.
  2. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
  3.  
  4. #define MyAppName "BeestFileType"
  5. #define MyAppVersion "1.0"
  6. #define MyAppPublisher "Beest Inc."
  7. #define MyAppExeName "TextEditor.exe"
  8.  
  9. [Setup]
  10. ; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications.
  11. ; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
  12. AppId={{0E6078F4-E55B-49AF-AAD0-410B427FDAF8}
  13. AppName={#MyAppName}
  14. AppVersion={#MyAppVersion}
  15. ;AppVerName={#MyAppName} {#MyAppVersion}
  16. AppPublisher={#MyAppPublisher}
  17. DefaultDirName=C:\{#MyAppName}
  18. DisableDirPage=yes
  19. DisableProgramGroupPage=yes
  20. ; Uncomment the following line to run in non administrative install mode (install for current user only.)
  21. ;PrivilegesRequired=lowest
  22. OutputDir=D:\Downloads
  23. OutputBaseFilename=BeestFileType
  24. SetupIconFile=D:\Downloads\Random VideosPhotos\beestIcon.ico
  25. Compression=lzma
  26. SolidCompression=yes
  27. WizardStyle=modern
  28.  
  29. [Languages]
  30. Name: "english"; MessagesFile: "compiler:Default.isl"
  31.  
  32. [Tasks]
  33. Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
  34.  
  35. [Files]
  36. Source: "C:\BeestFileType\TextEditor.exe"; DestDir: "{app}"; Flags: ignoreversion
  37. Source: "C:\BeestFileType\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
  38. ; NOTE: Don't use "Flags: ignoreversion" on any shared system files
  39.  
  40. [Icons]
  41. Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
  42. Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
  43.  
  44. [Run]
  45. Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
  46. Filename: "{app}\filetype.bat"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement