Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; Script generated by the Inno Setup Script Wizard.
- ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
- #define MyAppName "PrinterInformationService"
- #define MyAppVersion "1.0"
- #define MyAppPublisher "GS App"
- #define MyAppURL ""
- [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={{131FC770-177F-420D-AA5B-DB50D9493D68}
- AppName={#MyAppName}
- AppVersion={#MyAppVersion}
- ;AppVerName={#MyAppName} {#MyAppVersion}
- AppPublisher={#MyAppPublisher}
- AppPublisherURL={#MyAppURL}
- AppSupportURL={#MyAppURL}
- AppUpdatesURL={#MyAppURL}
- DefaultDirName={autopf}\{#MyAppName}
- DefaultGroupName={#MyAppName}
- DisableProgramGroupPage=yes
- OutputDir=C:\Users\Programowanie\Desktop\DRUKARKI\PrinterInformationUpdSrv
- OutputBaseFilename=PrinterInformationSetup
- Compression=lzma
- SolidCompression=yes
- WizardStyle=modern
- [Languages]
- Name: "english"; MessagesFile: "compiler:Default.isl"
- Name: "polish"; MessagesFile: "compiler:Languages\Polish.isl"
- [Files]
- Source: "C:\Users\Programowanie\Desktop\DRUKARKI\PrinterInformationUpdSrv\PrinterInformationUpdater\bin\Release\GSDb.dll"; DestDir: "{app}"; Flags: ignoreversion
- Source: "C:\Users\Programowanie\Desktop\DRUKARKI\PrinterInformationUpdSrv\PrinterInformationUpdater\bin\Release\GSUpdater.dll"; DestDir: "{app}"; Flags: ignoreversion
- Source: "C:\Users\Programowanie\Desktop\DRUKARKI\PrinterInformationUpdSrv\PrinterInformationUpdater\bin\Release\MySql.Data.dll"; DestDir: "{app}"; Flags: ignoreversion
- Source: "C:\Users\Programowanie\Desktop\DRUKARKI\PrinterInformationUpdSrv\PrinterInformationUpdater\bin\Release\PrinterInformationUpdSvc.exe"; DestDir: "{app}"; Flags: ignoreversion
- Source: "C:\Users\Programowanie\Desktop\DRUKARKI\PrinterInformationUpdSrv\PrinterInformationUpdater\bin\Release\PrinterInformationUpdSvc.exe.config"; DestDir: "{app}"; Flags: ignoreversion
- ; NOTE: Don't use "Flags: ignoreversion" on any shared system files
- [Icons]
- Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
- [UninstallDelete]
- Type: filesandordirs; Name: "{app}\RunService"
- Type: filesandordirs; Name: "{app}\RunServiceTempFolder"
- [run]
- Filename: {sys}\sc.exe; Parameters: "create PrinterInformationUpdSvc start= auto binPath= ""{app}\PrinterInformationUpdSvc.exe""" ; Flags: runhidden waituntilterminated
- Filename: {sys}\sc.exe; Parameters: "start PrinterInformationUpdSvc" ; Flags: runhidden waituntilterminated
- [UninstallRun]
- Filename: {sys}\sc.exe; Parameters: "stop PrinterInformationUpdSvc" ; Flags: runhidden
- Filename: {sys}\sc.exe; Parameters: "delete PrinterInformationUpdSvc" ; Flags: runhidden
- Filename: {app}\RunService\unins000.exe; Parameters: "/verysilence" ; Flags: runhidden waituntilterminated
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement