Advertisement
Guest User

Untitled

a guest
Apr 16th, 2020
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.84 KB | None | 0 0
  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 "PrinterInformationService"
  5. #define MyAppVersion "1.0"
  6. #define MyAppPublisher "GS App"
  7. #define MyAppURL ""
  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={{131FC770-177F-420D-AA5B-DB50D9493D68}
  13. AppName={#MyAppName}
  14. AppVersion={#MyAppVersion}
  15. ;AppVerName={#MyAppName} {#MyAppVersion}
  16. AppPublisher={#MyAppPublisher}
  17. AppPublisherURL={#MyAppURL}
  18. AppSupportURL={#MyAppURL}
  19. AppUpdatesURL={#MyAppURL}
  20. DefaultDirName={autopf}\{#MyAppName}
  21. DefaultGroupName={#MyAppName}
  22. DisableProgramGroupPage=yes
  23. OutputDir=C:\Users\Programowanie\Desktop\DRUKARKI\PrinterInformationUpdSrv
  24. OutputBaseFilename=PrinterInformationSetup
  25. Compression=lzma
  26. SolidCompression=yes
  27. WizardStyle=modern
  28.  
  29. [Languages]
  30. Name: "english"; MessagesFile: "compiler:Default.isl"
  31. Name: "polish"; MessagesFile: "compiler:Languages\Polish.isl"
  32.  
  33. [Files]
  34. Source: "C:\Users\Programowanie\Desktop\DRUKARKI\PrinterInformationUpdSrv\PrinterInformationUpdater\bin\Release\GSDb.dll"; DestDir: "{app}"; Flags: ignoreversion
  35. Source: "C:\Users\Programowanie\Desktop\DRUKARKI\PrinterInformationUpdSrv\PrinterInformationUpdater\bin\Release\GSUpdater.dll"; DestDir: "{app}"; Flags: ignoreversion
  36. Source: "C:\Users\Programowanie\Desktop\DRUKARKI\PrinterInformationUpdSrv\PrinterInformationUpdater\bin\Release\MySql.Data.dll"; DestDir: "{app}"; Flags: ignoreversion
  37. Source: "C:\Users\Programowanie\Desktop\DRUKARKI\PrinterInformationUpdSrv\PrinterInformationUpdater\bin\Release\PrinterInformationUpdSvc.exe"; DestDir: "{app}"; Flags: ignoreversion
  38. Source: "C:\Users\Programowanie\Desktop\DRUKARKI\PrinterInformationUpdSrv\PrinterInformationUpdater\bin\Release\PrinterInformationUpdSvc.exe.config"; DestDir: "{app}"; Flags: ignoreversion
  39.  
  40. ; NOTE: Don't use "Flags: ignoreversion" on any shared system files
  41.  
  42. [Icons]
  43. Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
  44.  
  45. [UninstallDelete]
  46. Type: filesandordirs; Name: "{app}\RunService"
  47. Type: filesandordirs; Name: "{app}\RunServiceTempFolder"
  48.  
  49. [run]
  50. Filename: {sys}\sc.exe; Parameters: "create PrinterInformationUpdSvc start= auto binPath= ""{app}\PrinterInformationUpdSvc.exe""" ; Flags: runhidden waituntilterminated
  51. Filename: {sys}\sc.exe; Parameters: "start PrinterInformationUpdSvc" ; Flags: runhidden waituntilterminated
  52.  
  53. [UninstallRun]
  54. Filename: {sys}\sc.exe; Parameters: "stop PrinterInformationUpdSvc" ; Flags: runhidden
  55. Filename: {sys}\sc.exe; Parameters: "delete PrinterInformationUpdSvc" ; Flags: runhidden
  56. Filename: {app}\RunService\unins000.exe; Parameters: "/verysilence" ; Flags: runhidden waituntilterminated
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement