[Fedora-directory-commits] windowsautoenroll aep.nsi,1.1,1.2

Steven W Parkinson (sparkins) fedora-directory-commits at redhat.com
Fri Mar 30 00:10:16 UTC 2007


Author: sparkins

Update of /cvs/dirsec/windowsautoenroll
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17078

Modified Files:
	aep.nsi 
Log Message:
Bump version to 0.9.2. Add Program files folder for all users, not just current user.
Removed Program files folder on uninstall. Add submitrequest.exe tool. 



Index: aep.nsi
===================================================================
RCS file: /cvs/dirsec/windowsautoenroll/aep.nsi,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- aep.nsi	13 Mar 2007 01:36:10 -0000	1.1
+++ aep.nsi	30 Mar 2007 00:10:14 -0000	1.2
@@ -4,7 +4,7 @@
 ; NOTE: this .NSI script is designed for NSIS v1.8+
 
 Name "AEP"
-OutFile "aep-0.9.1-1.win32.i386.exe"
+OutFile "aep-0.9.2-1.win32.i386.exe"
 
 ; Some default compiler settings (uncomment and change at will):
 ; SetCompress auto ; (can be off or force)
@@ -38,6 +38,7 @@
 
 file /oname=$INSTDIR\rhcsproxy.exe "proxy\${BUILDTYPE}\rhcsproxy.exe"
 file /oname=$INSTDIR\messages.dll  "proxy\${BUILDTYPE}\messages.dll"
+file /oname=$INSTDIR\submitrequest.exe "submitrequest\${BUILDTYPE}\submitrequest.exe"
 file /oname=$INSTDIR\panel.exe "panel\bin\${BUILDTYPE}\panel.exe"
 
 createDirectory "$SMPROGRAMS\Red Hat Auto Enrollment Proxy"
@@ -48,7 +49,7 @@
 WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\RHCSProxy" "UninstallString" '"$INSTDIR\uninst.exe"'
 WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\RHCSProxy" "Publisher" "Red Hat"
 WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\RHCSProxy" "URLInfoAbout" "http://directory.fedora.redhat.com/wiki/aep"
-WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\RHCSProxy" "DisplayVersion"  "0.9.1"
+WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\RHCSProxy" "DisplayVersion"  "0.9.2"
 WriteRegDWORD HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\RHCSProxy" "VersionMajor" 0
 WriteRegDWORD HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\Uninstall\RHCSProxy" "VersionMinor" 9
 ; write out uninstaller
@@ -65,6 +66,11 @@
 noexistingconfig:
 erase:
 
+;; This makes the icons appear in all user's program files,
+;; instead of just the current user
+SetShellVarContext all
+StrCpy $1 $DESKTOP
+
 ;;;;;;;;;;;;  COPIED FROM UNINSTALL SECTION BELOW
 DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Red Hat\RHCSProxy"
 DeleteRegKey HKEY_CLASSES_ROOT "CLSID\{D99E6E74-FC88-11D0-B498-00A0C90312F3}"
@@ -143,6 +149,9 @@
 
 Section Uninstall
 
+SetShellVarContext all
+StrCpy $1 $DESKTOP
+
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;    COPY THIS INTO REMOVECONFIG SECTION ABOVE
 DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Red Hat\RHCSProxy"
 DeleteRegKey HKEY_CLASSES_ROOT "CLSID\{D99E6E74-FC88-11D0-B498-00A0C90312F3}"
@@ -155,7 +164,9 @@
 
 Delete "$INSTDIR\uninst.exe"
 Delete "$INSTDIR\rhcsproxy.exe"
+Delete "$INSTDIR\submitrequest.exe"
 Delete "$SMPROGRAMS\Red Hat Auto Enrollment Proxy\Auto Enrollment Proxy Options.lnk"
+RMDir "$SMPROGRAMS\Red Hat Auto Enrollment Proxy"
 Delete /REBOOTOK "$INSTDIR\messages.dll"
 Delete "$INSTDIR\ProxyPanel.exe"
 RMDir /REBOOTOK "$INSTDIR"
@@ -164,4 +175,4 @@
 RMDir "$INSTDIR"
 SectionEnd ; end of uninstall section
 
-; eof
\ No newline at end of file
+; eof




More information about the Fedora-directory-commits mailing list