forked from BytesClub/Battery_Manager
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build: Added win32 installer .iss & .exe
Created .iss file with setup information and build into .exe file Fixes: BytesClub#5 Signed-Off-By: Progyan Bhattacharya <[email protected]>
- Loading branch information
1 parent
2a48149
commit ca72423
Showing
5 changed files
with
47 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
from distutils.core import setup | ||
import py2exe | ||
|
||
setup( | ||
# The first three parameters are not required, if at least a | ||
# 'version' is given, then a versioninfo resource is built from | ||
# them and added to the executables. | ||
version = "1.0.0", | ||
description = "Battery Manager Setup", | ||
name = "Battery Manager", | ||
author = "Bytes Club", | ||
license = "GPL-2.0", | ||
|
||
# targets to build | ||
console = ["battery.py"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
; Script generated by the Inno Setup Script Wizard. | ||
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! | ||
|
||
[Setup] | ||
AppName=Battery Manager | ||
AppVersion=1.0.0 | ||
DefaultDirName={pf}\Battery Manager | ||
DefaultGroupName=Battery Manager | ||
AppPublisher=Bytes Club | ||
AppPublisherURL=https://bytesclub.github.io | ||
AppCopyright=Copyright (C) 2017 Bytes Club, GNU Public License 2.0 | ||
LicenseFile=LICENSE | ||
SetupIconFile=favicon.ico | ||
OutputBaseFilename=Battery Manager | ||
|
||
[Files] | ||
Source: "LICENSE"; DestDir: "{app}" | ||
Source: "favicon.ico"; DestDir: "{app}" | ||
|
||
[Icons] | ||
Name: "{group}\Battery Manager"; Filename: "{app}\BatteryManager.EXE"; WorkingDir: "{app}"; IconFilename: "{app}/favicon.ico" | ||
Name: "{group}\Uninstall Battery Manager"; Filename: "{uninstallexe}" | ||
|
||
[Registry] | ||
Root: HKCU; Subkey: "Software\Bytes Club"; Flags: uninsdeletekeyifempty | ||
Root: HKCU; Subkey: "Software\Bytes Club\Battery Manager"; Flags: uninsdeletekey | ||
Root: HKLM; Subkey: "Software\Bytes Club"; Flags: uninsdeletekeyifempty | ||
Root: HKLM; Subkey: "Software\Bytes Club\Battery Manager"; Flags: uninsdeletekey | ||
Root: HKLM; Subkey: "Software\Bytes Club\Battery Manager\Settings"; ValueType: string; ValueName: "InstallPath"; ValueData: "{app}" | ||
|