Commits

Kamyar Inanloo committed f2f7c1c

NSIS Installer added.

Comments (0)

Files changed (4)

+!include "XML.nsh"
+
+; Define your application name
+!define APPNAME "Trac Visual Studio Plugin"
+!define APPNAMEANDVERSION "Trac Visual Studio Plugin 0.5.0"
+
+; Main Install settings
+Name "${APPNAMEANDVERSION}"
+InstallDir "$PROGRAMFILES\Trac Visual Studio Plugin"
+InstallDirRegKey HKLM "Software\${APPNAME}" ""
+OutFile "TracVSSetup.exe"
+
+; Modern interface settings
+!include "MUI.nsh"
+
+!define MUI_ABORTWARNING
+
+!insertmacro MUI_PAGE_WELCOME
+!insertmacro MUI_PAGE_DIRECTORY
+!insertmacro MUI_PAGE_INSTFILES
+!insertmacro MUI_PAGE_FINISH
+
+!insertmacro MUI_UNPAGE_CONFIRM
+!insertmacro MUI_UNPAGE_INSTFILES
+
+; Set languages (first is default language)
+!insertmacro MUI_LANGUAGE "English"
+!insertmacro MUI_RESERVEFILE_LANGDLL
+
+Section "Trac Visual Studio Plugin" Section1
+
+	; Set Section properties
+	SetOverwrite on
+	
+	; Set Section Files and Shortcuts
+	SetOutPath "$INSTDIR\"
+	File "TracVS\bin\Release\CookComputing.XmlRpcV2.dll"
+	File "TracVS\bin\Release\TracVS.dll"
+	File /r "TracVS\bin\Release\en-US"
+	CreateDirectory "$SMPROGRAMS\Trac Visual Studio Plugin"
+	CreateShortCut "$SMPROGRAMS\Trac Visual Studio Plugin\Uninstall.lnk" "$INSTDIR\uninstall.exe"
+
+	StrCpy $R1 "%ALLUSERSPROFILE%"
+	ExpandEnvStrings $R1 $R1
+	SetOutPath "$R1\Microsoft Visual Studio\Addins"
+	File "TracVS\TracVS.AddIn"
+		
+	${xml::LoadFile} "TracVS.AddIn" $0	
+	${xml::SetEncoding} "UTF8"
+	${xml::GotoPath} "/Extensibility/Addin/Assembly" $0
+	${xml::GetText} $1 $0
+	${xml::SetText} "$INSTDIR\TracVS.dll" $0
+	${xml::SaveFile} "" $0
+	
+	StrCpy $R0 0
+	${Do}
+		EnumRegKey $R1 HKLM "Software\Microsoft\VisualStudio\" $R0
+		${If} $R1 != ""
+			ReadRegStr $R2 HKLM "Software\Microsoft\VisualStudio\$R1" "InstallDir"
+			${If} $R2 != ""
+				SetOutPath $R2
+				File "TracVS\bin\Debug\CookComputing.XmlRpcV2.dll"
+			${EndIf}
+			IntOp $R0 $R0 + 1
+		${EndIf}
+	${LoopUntil} $R1 == ""
+	
+	
+SectionEnd
+
+Section -FinishSection
+
+	WriteRegStr HKLM "Software\${APPNAME}" "" "$INSTDIR"
+	WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "DisplayName" "${APPNAME}"
+	WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "UninstallString" "$INSTDIR\uninstall.exe"
+	WriteUninstaller "$INSTDIR\uninstall.exe"
+
+SectionEnd
+
+; Modern install component descriptions
+!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
+	!insertmacro MUI_DESCRIPTION_TEXT ${Section1} ""
+	!insertmacro MUI_DESCRIPTION_TEXT ${Section2} ""
+!insertmacro MUI_FUNCTION_DESCRIPTION_END
+
+;Uninstall section
+Section Uninstall
+
+	;Remove from registry...
+	DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}"
+	DeleteRegKey HKLM "SOFTWARE\${APPNAME}"
+
+	; Delete self
+	Delete "$INSTDIR\uninstall.exe"
+
+	; Delete Shortcuts
+	Delete "$SMPROGRAMS\Trac Visual Studio Plugin\Uninstall.lnk"
+
+	; Clean up Trac Visual Studio Plugin
+	Delete "$INSTDIR\CookComputing.XmlRpcV2.dll"
+	Delete "$INSTDIR\TracVS.dll"
+
+	; Remove remaining directories
+	RMDir "$SMPROGRAMS\Trac Visual Studio Plugin"
+	RMDir "$INSTDIR\"
+	
+	StrCpy $R1 "%ALLUSERSPROFILE%"
+	ExpandEnvStrings $R1 $R1	
+	Delete "$R1\Microsoft Visual Studio\Addins\TracVS.AddIn"
+	
+
+SectionEnd
+
+BrandingText "Samasoft Co. Ltd."
+
+; eof

TracVS/TicketsView.resx

         AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
         LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
         ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAACc
-        CwAAAk1TRnQBSQFMAgEBAwEAAVwBAAFcAQABDAEAAQwBAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAEw
-        AwABDAMAAQEBAAEgBgABCYYAAToBlQEzAf8BEAFwARAB/0QAAYoBxAHfAf8BigHEAd8B/wGKAcQB3wH/
+        CwAAAk1TRnQBSQFMAgEBAwEAAXwBAAF8AQABDAEAAQwBAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAEw
+        AwABDAMAAQEBAAEgBgABCYYAATYBlQEvAf8BDAFsAQwB/0QAAYoBxAHfAf8BigHEAd8B/wGKAcQB3wH/
         AYoBxAHfAf8BigHEAd8B/wGKAcQB3wH/AYoBxAHfAf8BigHEAd8B/wGKAcQB3wH/AYoBxAHfAf8BigHE
         Ad8B/wQAAYoBxAHfAf8BigHEAd8B/wGKAcQB3wH/AYoBxAHfAf8BigHEAd8B/wGKAcQB3wH/AYoBxAHf
         Af8BigHEAd8B/wGKAcQB3wH/AYoBxAHfAf8BigHEAd8B/wQAAYoBxAHfAf8BigHEAd8B/wGKAcQB3wH/
-        AYoBxAHfAf8BigHEAd8B/wE6AZUBMwH/ARABgQEQAf8BEAFwARAB/wGKAcQB3wH/AYoBxAHfAf8BigHE
+        AYoBxAHfAf8BigHEAd8B/wE2AZUBLwH/AQwBgQEMAf8BDAFsAQwB/wGKAcQB3wH/AYoBxAHfAf8BigHE
         Ad8B/zQAAYoBxAHfAf8BhQH1AfkB/wGFAfUB+QH/AYUB9QH5Af8BhQH1AfkB/wGFAfUB+QH/AYUB9QH5
         Af8BhQH1AfkB/wGFAfUB+QH/AYUB9QH5Af8BigHEAd8B/wGKAcQB3wH/AYoBxAHfAf8BhQH1AfkB/wGF
         AfUB+QH/AYUB9QH5Af8BhQH1AfkB/wGFAfUB+QH/AYUB9QH5Af8BhQH1AfkB/wGFAfUB+QH/AYUB9QH5
-        Af8BigHEAd8B/wGKAcQB3wH/AYoBxAHfAf8BhQH1AfkB/wGFAfUB+QH/AYUB9QH5Af8BOgGVATMB/wEQ
-        AYEBEAH/ARABcAEQAf8BEAGBARAB/wEQAXABEAH/AYUB9QH5Af8BigHEAd8B/wGKAcQB3wH/MAABigHE
-        Ad8B/wGFAfUB+QH/AU0BoAHLAf8BTQGgAcsB/wFNAaABywH/AU0BoAHLAf8BTQGgAcsB/wFNAaABywH/
-        AU0BoAHLAf8BhQH1AfkB/wGFAfUB+QH/BAABigHEAd8B/wGFAfUB+QH/AxAB/wMQAf8DEAH/AxAB/wMQ
-        Af8DEAH/AxAB/wGFAfUB+QH/AYUB9QH5Af8EAAGKAcQB3wH/AYUB9QH5Af8BTQGgAcsB/wFNAaABywH/
-        AToBlQEzAf8BEAFwARAB/wFNAaABywH/AToBlQEzAf8BEAGBARAB/wEQAXABEAH/AYUB9QH5Af80AAGK
+        Af8BigHEAd8B/wGKAcQB3wH/AYoBxAHfAf8BhQH1AfkB/wGFAfUB+QH/AYUB9QH5Af8BNgGVAS8B/wEM
+        AYEBDAH/AQwBbAEMAf8BDAGBAQwB/wEMAWwBDAH/AYUB9QH5Af8BigHEAd8B/wGKAcQB3wH/MAABigHE
+        Ad8B/wGFAfUB+QH/AUkBoAHLAf8BSQGgAcsB/wFJAaABywH/AUkBoAHLAf8BSQGgAcsB/wFJAaABywH/
+        AUkBoAHLAf8BhQH1AfkB/wGFAfUB+QH/BAABigHEAd8B/wGFAfUB+QH/AwwB/wMMAf8DDAH/AwwB/wMM
+        Af8DDAH/AwwB/wGFAfUB+QH/AYUB9QH5Af8EAAGKAcQB3wH/AYUB9QH5Af8BSQGgAcsB/wFJAaABywH/
+        ATYBlQEvAf8BDAFsAQwB/wFJAaABywH/ATYBlQEvAf8BDAGBAQwB/wEMAWwBDAH/AYUB9QH5Af80AAGK
         AcQB3wH/AYUB9QH5Af8BhQH1AfkB/wGFAfUB+QH/AYUB9QH5Af8BhQH1AfkB/wGFAfUB+QH/AYUB9QH5
         Af8BhQH1AfkB/wGFAfUB+QH/AYEB5QHwAf8BigHEAd8B/wGKAcQB3wH/AYUB9QH5Af8BhQH1AfkB/wGF
         AfUB+QH/AYUB9QH5Af8BhQH1AfkB/wGFAfUB+QH/AYUB9QH5Af8BhQH1AfkB/wGFAfUB+QH/AYEB5QHw
-        Af8BigHEAd8B/wGKAcQB3wH/AYUB9QH5Af8BhQH1AfkB/wE6AZUBMwH/ARABgQEQAf8BEAFwARAB/wGF
-        AfUB+QH/AYUB9QH5Af8BOgGVATMB/wEQAYEBEAH/ARABcAEQAf8BigHEAd8B/zAAAYoBxAHfAf8BhQH1
-        AfkB/wFNAaABywH/AU0BoAHLAf8BTQGgAcsB/wFNAaABywH/AU0BoAHLAf8BhQH1AfkB/wGFAfUB+QH/
-        AYUB9QH5Af8BhQH1AfkB/wQAAYoBxAHfAf8BhQH1AfkB/wEQAXABEAH/ARABcAEQAf8BEAFwARAB/wEQ
-        AXABEAH/ARABcAEQAf8BhQH1AfkB/wGFAfUB+QH/AYUB9QH5Af8BhQH1AfkB/wQAAYoBxAHfAf8BhQH1
-        AfkB/wFNAaABywH/AToBlQEzAf8BOgGVATMB/wFNAaABywH/AU0BoAHLAf8BhQH1AfkB/wGFAfUB+QH/
-        AToBlQEzAf8BEAGBARAB/wEQAXABEAH/MAABigHEAd8B/wGFAfUB+QH/AYUB9QH5Af8BhQH1AfkB/wGF
+        Af8BigHEAd8B/wGKAcQB3wH/AYUB9QH5Af8BhQH1AfkB/wE2AZUBLwH/AQwBgQEMAf8BDAFsAQwB/wGF
+        AfUB+QH/AYUB9QH5Af8BNgGVAS8B/wEMAYEBDAH/AQwBbAEMAf8BigHEAd8B/zAAAYoBxAHfAf8BhQH1
+        AfkB/wFJAaABywH/AUkBoAHLAf8BSQGgAcsB/wFJAaABywH/AUkBoAHLAf8BhQH1AfkB/wGFAfUB+QH/
+        AYUB9QH5Af8BhQH1AfkB/wQAAYoBxAHfAf8BhQH1AfkB/wEMAWwBDAH/AQwBbAEMAf8BDAFsAQwB/wEM
+        AWwBDAH/AQwBbAEMAf8BhQH1AfkB/wGFAfUB+QH/AYUB9QH5Af8BhQH1AfkB/wQAAYoBxAHfAf8BhQH1
+        AfkB/wFJAaABywH/ATYBlQEvAf8BNgGVAS8B/wFJAaABywH/AUkBoAHLAf8BhQH1AfkB/wGFAfUB+QH/
+        ATYBlQEvAf8BDAGBAQwB/wEMAWwBDAH/MAABigHEAd8B/wGFAfUB+QH/AYUB9QH5Af8BhQH1AfkB/wGF
         AfUB+QH/AYUB9QH5Af8BhQH1AfkB/wGFAfUB+QH/AYUB9QH5Af8BhQH1AfkB/wGBAeUB8AH/AYoBxAHf
         Af8BigHEAd8B/wGFAfUB+QH/AYUB9QH5Af8BhQH1AfkB/wGFAfUB+QH/AYUB9QH5Af8BhQH1AfkB/wGF
         AfUB+QH/AYUB9QH5Af8BhQH1AfkB/wGBAeUB8AH/AYoBxAHfAf8BigHEAd8B/wGFAfUB+QH/AYUB9QH5
-        Af8BhQH1AfkB/wGFAfUB+QH/AYUB9QH5Af8BhQH1AfkB/wGFAfUB+QH/AYUB9QH5Af8BhQH1AfkB/wE6
-        AZUBMwH/AYoBxAHfAf8wAAGKAcQB3wH/AYUB9QH5Af8BhQH1AfkB/wGFAfUB+QH/AYUB9QH5Af8BhQH1
+        Af8BhQH1AfkB/wGFAfUB+QH/AYUB9QH5Af8BhQH1AfkB/wGFAfUB+QH/AYUB9QH5Af8BhQH1AfkB/wE2
+        AZUBLwH/AYoBxAHfAf8wAAGKAcQB3wH/AYUB9QH5Af8BhQH1AfkB/wGFAfUB+QH/AYUB9QH5Af8BhQH1
         AfkB/wGFAfUB+QH/AYUB9QH5Af8BhQH1AfkB/wGFAfUB+QH/AYUB9QH5Af8EAAGKAcQB3wH/AYUB9QH5
         Af8BhQH1AfkB/wGFAfUB+QH/AYUB9QH5Af8BhQH1AfkB/wGFAfUB+QH/AYUB9QH5Af8BhQH1AfkB/wGF
         AfUB+QH/AYUB9QH5Af8EAAGKAcQB3wH/AYUB9QH5Af8BhQH1AfkB/wGFAfUB+QH/AYUB9QH5Af8BhQH1
         AfkB/wGFAfUB+QH/AYUB9QH5Af8BhQH1AfkB/wGFAfUB+QH/AYUB9QH5Af80AAGKAcQB3wH/AYUB9QH5
-        Af8BTQGgAcsB/wFNAaABywH/AU0BoAHLAf8BTQGgAcsB/wGFAfUB+QH/AU0BoAHLAf8BTQGgAcsB/wGF
-        AfUB+QH/AYEB5QHwAf8BigHEAd8B/wGKAcQB3wH/AYUB9QH5Af8BTQGgAcsB/wFNAaABywH/AU0BoAHL
-        Af8BTQGgAcsB/wGFAfUB+QH/AU0BoAHLAf8BTQGgAcsB/wGFAfUB+QH/AYEB5QHwAf8BigHEAd8B/wGK
-        AcQB3wH/AYUB9QH5Af8BTQGgAcsB/wFNAaABywH/AU0BoAHLAf8BTQGgAcsB/wGFAfUB+QH/AU0BoAHL
-        Af8BTQGgAcsB/wGFAfUB+QH/AYEB5QHwAf8BigHEAd8B/zAAAYoBxAHfAf8BhQH1AfkB/wGFAfUB+QH/
+        Af8BSQGgAcsB/wFJAaABywH/AUkBoAHLAf8BSQGgAcsB/wGFAfUB+QH/AUkBoAHLAf8BSQGgAcsB/wGF
+        AfUB+QH/AYEB5QHwAf8BigHEAd8B/wGKAcQB3wH/AYUB9QH5Af8BSQGgAcsB/wFJAaABywH/AUkBoAHL
+        Af8BSQGgAcsB/wGFAfUB+QH/AUkBoAHLAf8BSQGgAcsB/wGFAfUB+QH/AYEB5QHwAf8BigHEAd8B/wGK
+        AcQB3wH/AYUB9QH5Af8BSQGgAcsB/wFJAaABywH/AUkBoAHLAf8BSQGgAcsB/wGFAfUB+QH/AUkBoAHL
+        Af8BSQGgAcsB/wGFAfUB+QH/AYEB5QHwAf8BigHEAd8B/zAAAYoBxAHfAf8BhQH1AfkB/wGFAfUB+QH/
         AYUB9QH5Af8BhQH1AfkB/wGFAfUB+QH/AYUB9QH5Af8BhQH1AfkB/wGFAfUB+QH/AYUB9QH5Af8BhQH1
         AfkB/wQAAYoBxAHfAf8BhQH1AfkB/wGFAfUB+QH/AYUB9QH5Af8BhQH1AfkB/wGFAfUB+QH/AYUB9QH5
         Af8BhQH1AfkB/wGFAfUB+QH/AYUB9QH5Af8BhQH1AfkB/wQAAYoBxAHfAf8BhQH1AfkB/wGFAfUB+QH/
   <data name="btnSetFixed.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
     <value>
         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
-        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJ3SURBVDhPjZJRSNNRFIevSKSEgb4ZZSSJRTUWVA85KlNI
-        kgx8MQvDSBZUw80e1GXbWuQ2ApNqTjIRZiGZNa3GrEWMWS0wNWoFttZIKhLEp20wN/fr3LutUkO68D39
-        z++753/PYYyOsXMYnEvXHwsutA0KGo0DAqW+D1VyvZxKs4l0nllweHi5wwWatiEUl59spmDuEsliQTwe
-        xzwxF4sjEp0XHUxOhYRkX3mterEkzWBxLGmAS6LzfwRckoIEh5K/I/4kTdc+9E9BLCnhnYQjMfycDaJB
-        a4lTRk/kp94hTXfVJgRvxgMYHQvAMxrAp8A0NK5WHBuuRNmQDGUDpWh9YYLtqQcUbCcK+eWJDpIC3jYn
-        Eo2g1nUUHX4V1O8PotK9GUWOtcjvz4LUvAs0h2uU2/RboG1LdOB6+RkT3u9082UKN+D0+E4c90hQ/rwA
-        hbZM3Hh7BdXOCrAi1kvhHcQK0YHadE8IRjw+fPk6gyp7BRRjJdjvzMVhVwEkD1fhzmS3qGmZOAVWl+mj
-        3BEiRwiaDHfFRzcJpr7NovTBbtQ9qcGzjy5suJ+OPl8ibPAqwMwMTJEVotx5Yr0QKHW9osA54qPHm8GB
-        /hLIHkkQnAkB4cSAjB/qwW5S2JgDVpPtp5yR2CgE9VqrKLK7/Xj97geaHXqs6cvCXvtW0DLA6KVwJ4X5
-        7UopmJT1L+hA3tglBNPBOcFsKIw9t4vFjSutFLIQptVgKgm2tchAw7OSoDr1BuxMSxcUmm7ilkCl78Eg
-        zbuuR4m8i1uQocrDuqbtONFxFjbnK74H5r+nwH+DP8a55ILwGS9He7KWZ8Qi8ZORlPDt+h94mGfYLwW7
-        ABmW+h3CAAAAAElFTkSuQmCC
+        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJ5SURBVDhPjZJdSJNRGMePSKSUgd4ZZSSJRTUWVBcplSkk
+        SQbemIVhJAuq4WYXfrTcWuTeEZhkfpCJMAtpWdNqzFrEmNUCU6MssLVGUpEwvNqEObd/zzl7rdSQDvyu
+        3uf/O897nocxOlLHIDiXWx4LLjb1C2qkPoHG2ItSlVFFpalEIs8sODy83OGChqYB5BWdqqNg+hLJYkEs
+        FkOUmJ2LIRyJig4mJkNCsr+oon6xJMHU7ljSAJdEon8EXDIPCQ7LvyP+JMHQPPBPwZws4Z3MhOfwczqI
+        an1LjDJGInP+HRIM12xC8GbUj+ERPzzDfnzyT6HB1YjjgyUoHMhFYV8BGl+YYXvqAQWbiWx+ebwDWcDb
+        5oQjYVS4jqHNp0X9+0MocW9BjmMdMq0pULbuBs3hOuU2/xbom+IduF5+xtj4d7r5CoWrcWZ0F054FCh6
+        noVsWzJuvL2KMmcxWA7rofBOYoXooN58TwiGPF58+RpAqb0Y6pF8HHCm44grC4qHq3BnokvU6MZOg1Um
+        eyl3lEgTglrTXfHRTYLJb9MoeLAHlU/K8eyjCxvvJ6LXGw+bxtVgrQxMvTpEuQvEBiHQGHpEgXPIS48X
+        wEFrPnIfKRAMhICZ+ICkD1VgNykspYGVp/ooJxGbhKBKbxFFdrcPr9/9QJ3DiLW9Kdhn3wZaBkjjFO6g
+        ML9dowRTMuuCDlQ1nUIwFZwVTIdmsPd2nrhxpYVC7YR5DZhWge26XNDwLCQom38DdlbXCXVDF3FLoDV2
+        o5/mXdmtQcalrUjSZmB97Q6cbDsHm/MV34PWv6fAf4M/xnl5QfiMl6NZruUZsUj8JMkSvl3/Aw/zDPsF
+        +LgAFDN9sJgAAAAASUVORK5CYII=
 </value>
   </data>
 </root>

TracVS/TracVS.AddIn

File contents unchanged.

TracVSSetup.exe

Binary file added.