forked from openlp/openlp
Dropped the registry settings from the installer.
Used our own images (thanks to http://www.sxc.hu/) for the installer. bzr-revno: 1403
This commit is contained in:
commit
f94aa71e65
@ -31,9 +31,9 @@ OutputDir=..\..\dist
|
||||
OutputBaseFilename=OpenLP-{#RealVersion}-setup
|
||||
Compression=lzma
|
||||
SolidCompression=true
|
||||
SetupIconFile=C:\Program Files\Inno Setup 5\Examples\Setup.ico
|
||||
WizardImageFile=C:\Program Files\Inno Setup 5\WizModernImage-IS.bmp
|
||||
WizardSmallImageFile=C:\Program Files\Inno Setup 5\WizModernSmallImage-IS.bmp
|
||||
SetupIconFile=OpenLP.ico
|
||||
WizardImageFile=WizImageBig.bmp
|
||||
WizardSmallImageFile=WizImageSmall.bmp
|
||||
|
||||
[Languages]
|
||||
Name: english; MessagesFile: compiler:Default.isl
|
||||
@ -78,15 +78,6 @@ Name: {userappdata}\Microsoft\Internet Explorer\Quick Launch\{#AppName}; Filenam
|
||||
Filename: {app}\{#AppExeName}; Description: {cm:LaunchProgram,{#AppName}}; Flags: nowait postinstall skipifsilent
|
||||
|
||||
[Registry]
|
||||
Root: HKCU; SubKey: Software\OpenLP\OpenLP\alerts; ValueType: dword; ValueName: status; ValueData: $00000001
|
||||
Root: HKCU; SubKey: Software\OpenLP\OpenLP\bibles; ValueType: dword; ValueName: status; ValueData: $00000001
|
||||
Root: HKCU; SubKey: Software\OpenLP\OpenLP\custom; ValueType: dword; ValueName: status; ValueData: $00000001
|
||||
Root: HKCU; SubKey: Software\OpenLP\OpenLP\images; ValueType: dword; ValueName: status; ValueData: $00000001
|
||||
Root: HKCU; SubKey: Software\OpenLP\OpenLP\media; ValueType: dword; ValueName: status; ValueData: $00000001
|
||||
Root: HKCU; SubKey: Software\OpenLP\OpenLP\presentations; ValueType: dword; ValueName: status; ValueData: $00000001
|
||||
Root: HKCU; SubKey: Software\OpenLP\OpenLP\remotes; ValueType: dword; ValueName: status; ValueData: $00000000
|
||||
Root: HKCU; SubKey: Software\OpenLP\OpenLP\songs; ValueType: dword; ValueName: status; ValueData: $00000001
|
||||
Root: HKCU; SubKey: Software\OpenLP\OpenLP\songusage; ValueType: dword; ValueName: status; ValueData: $00000001
|
||||
|
||||
[Code]
|
||||
function GetUninstallString(): String;
|
||||
|
BIN
resources/windows/WizImageBig.bmp
Normal file
BIN
resources/windows/WizImageBig.bmp
Normal file
Binary file not shown.
After Width: | Height: | Size: 151 KiB |
BIN
resources/windows/WizImageSmall.bmp
Normal file
BIN
resources/windows/WizImageSmall.bmp
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.1 KiB |
@ -116,8 +116,15 @@ dist_path = os.path.join(branch_path, u'dist', u'OpenLP')
|
||||
enchant_path = os.path.join(site_packages, u'enchant')
|
||||
|
||||
def update_code():
|
||||
print u'Updating the code...'
|
||||
os.chdir(branch_path)
|
||||
print u'Reverting any changes to the code...'
|
||||
bzr = Popen((u'bzr', u'revert'), stdout=PIPE)
|
||||
output, error = bzr.communicate()
|
||||
code = bzr.wait()
|
||||
if code != 0:
|
||||
print output
|
||||
raise Exception(u'Error reverting the code')
|
||||
print u'Updating the code...'
|
||||
bzr = Popen((u'bzr', u'update'), stdout=PIPE)
|
||||
output, error = bzr.communicate()
|
||||
code = bzr.wait()
|
||||
|
Loading…
Reference in New Issue
Block a user