mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 11:46:30 +02:00
Add installer
This commit is contained in:
45
Deploy/Installer/Installer.iss
Normal file
45
Deploy/Installer/Installer.iss
Normal file
@@ -0,0 +1,45 @@
|
||||
#define MyAppName "Wox"
|
||||
#define MyAppPublisher "qianlifeng"
|
||||
#define MyAppURL "http://www.getwox.com"
|
||||
#define MyAppExeName "Wox.exe"
|
||||
#define MyAppPath SourcePath + "..\..\Output\Release"
|
||||
#define OutputPath SourcePath + "..\..\Output"
|
||||
#define MyAppVer = GetFileVersion(MyAppPath + "\Wox.exe")
|
||||
|
||||
[Setup]
|
||||
AppId={{A5AF4C34-70A7-4D3B-BA18-E49C0AEEA5E6}
|
||||
AppMutex=DBDE24E4-91F6-11DF-B495-C536DFD72085-Wox
|
||||
AppName={#MyAppName}
|
||||
AppVerName={#MyAppName} v{#MyAppVer}
|
||||
AppPublisher={#MyAppPublisher}
|
||||
AppPublisherURL={#MyAppURL}
|
||||
AppSupportURL={#MyAppURL}
|
||||
AppUpdatesURL={#MyAppURL}
|
||||
DefaultDirName={pf}\{#MyAppName}
|
||||
DefaultGroupName={#MyAppName}
|
||||
OutputBaseFilename=Wox-setup
|
||||
OutputDir={#OutputPath}
|
||||
Compression=lzma
|
||||
SolidCompression=yes
|
||||
|
||||
[Languages]
|
||||
Name: english; MessagesFile: compiler:Default.isl
|
||||
|
||||
[InstallDelete]
|
||||
Type: files; Name: "{commonstartup}\{#MyAppName}.lnk"
|
||||
|
||||
[Tasks]
|
||||
Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked
|
||||
Name: startupfolder; Description: Startup with Windows;
|
||||
|
||||
[Files]
|
||||
Source: {#MyAppPath}\*; DestDir: {app}; Flags: ignoreversion recursesubdirs
|
||||
|
||||
[Icons]
|
||||
Name: {group}\{#MyAppName}; Filename: {app}\{#MyAppExeName}
|
||||
Name: {group}\{cm:UninstallProgram,{#MyAppName}}; Filename: {uninstallexe}
|
||||
Name: {userdesktop}\{#MyAppName}; Filename: {app}\{#MyAppExeName}; Tasks: desktopicon
|
||||
Name: {userstartup}\{#MyAppName}; Filename: {app}\{#MyAppExeName}; Tasks: startupfolder
|
||||
|
||||
[Run]
|
||||
Filename: {app}\{#MyAppExeName}; Description: {cm:LaunchProgram,{#MyAppName}}; Flags: nowait postinstall skipifsilent
|
||||
Reference in New Issue
Block a user