|
From: John S. <jst...@us...> - 2010-07-21 20:21:13
|
Module: performous
Branch: master
Commit: 879d759f08cbede4fa3eb532cb52560af5b21230
Author: John Stumpo <st...@js...>
Date: Sat Jun 26 03:51:59 2010 -0400
Add Add/Remove Programs information to the installer.
---
win32/cross-from-debian/makepackage.py | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/win32/cross-from-debian/makepackage.py b/win32/cross-from-debian/makepackage.py
index f422145..4ff134a 100755
--- a/win32/cross-from-debian/makepackage.py
+++ b/win32/cross-from-debian/makepackage.py
@@ -89,6 +89,10 @@ makensis.stdin.write(r''' WriteRegStr HKLM "Software\Performous" "" "$INSTDIR"
CreateDirectory "$SMPROGRAMS\Performous"
CreateShortcut "$SMPROGRAMS\Performous\Performous.lnk" "$INSTDIR\bin\performous.exe"
CreateShortcut "$SMPROGRAMS\Performous\Uninstall.lnk" "$INSTDIR\uninst.exe"
+ WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Performous" "DisplayName" "Performous"
+ WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Performous" "UninstallString" "$\"$INSTDIR\uninst.exe$\""
+ WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Performous" "DisplayIcon" "$INSTDIR\bin\performous.exe"
+ WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Performous" "DisplayVersion" "${VERSION}"
SectionEnd
Section Uninstall
@@ -107,6 +111,7 @@ makensis.stdin.write(r''' Delete "$INSTDIR\uninst.exe"
Delete "$SMPROGRAMS\Performous\Performous.lnk"
Delete "$SMPROGRAMS\Performous\Uninstall.lnk"
RmDir "$SMPROGRAMS\Performous"
+ DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Performous"
DeleteRegKey /ifempty HKLM "Software\Performous"
SectionEnd
''')
|