39 lines
1.1 KiB
Plaintext
39 lines
1.1 KiB
Plaintext
|
|
; Script Inno Setup para criar instalador do NoIdle
|
||
|
|
; Alternativa ao MSI - Funciona sem WiX Toolset
|
||
|
|
; Baixe Inno Setup: https://jrsoftware.org/isdl.php
|
||
|
|
|
||
|
|
[Setup]
|
||
|
|
AppName=NoIdle
|
||
|
|
AppVersion=1.0.0
|
||
|
|
AppPublisher=NoIdle
|
||
|
|
AppPublisherURL=https://admin.noidle.tech
|
||
|
|
DefaultDirName={pf}\NoIdle
|
||
|
|
DefaultGroupName=NoIdle
|
||
|
|
OutputDir=.
|
||
|
|
OutputBaseFilename=NoIdle-Setup
|
||
|
|
Compression=lzma
|
||
|
|
SolidCompression=yes
|
||
|
|
PrivilegesRequired=admin
|
||
|
|
ArchitecturesInstallIn64BitMode=x64
|
||
|
|
|
||
|
|
[Languages]
|
||
|
|
Name: "portuguese"; MessagesFile: "compiler:Languages\Portuguese.isl"
|
||
|
|
|
||
|
|
[Files]
|
||
|
|
Source: "NoIdle.exe"; DestDir: "{app}"; Flags: ignoreversion
|
||
|
|
|
||
|
|
[Registry]
|
||
|
|
; Configurar inicialização automática para o usuário atual
|
||
|
|
Root: HKCU; Subkey: "Software\Microsoft\Windows\CurrentVersion\Run"; ValueType: string; ValueName: "NoIdle"; ValueData: "{app}\NoIdle.exe"; Flags: uninsdeletevalue
|
||
|
|
|
||
|
|
[Icons]
|
||
|
|
Name: "{group}\NoIdle"; Filename: "{app}\NoIdle.exe"
|
||
|
|
Name: "{group}\Desinstalar NoIdle"; Filename: "{uninstallexe}"
|
||
|
|
|
||
|
|
[Run]
|
||
|
|
Filename: "{app}\NoIdle.exe"; Description: "Executar NoIdle agora"; Flags: nowait postinstall skipifsilent
|
||
|
|
|
||
|
|
[UninstallDelete]
|
||
|
|
Type: filesandordirs; Name: "{app}"
|
||
|
|
|