Removed nsis stuff
This commit is contained in:
1 parent
8710168c75
commit
9dbec16c90
33 files changed
+2
-1379
No files matched your search
@@ -1,292 +0,0 @@
|
|||||||
; ---------------------
|
|
||||||
; DotNetVer.nsh
|
|
||||||
; Written by: David Grinberg
|
|
||||||
; Homepage: http://ontheperiphery.veraida.com/
|
|
||||||
; Updated By: Brandon Hansen (http://www.remotehams.com/)
|
|
||||||
; ---------------------
|
|
||||||
;
|
|
||||||
; LogicLib extensions for checking Microsoft .NET Framework versions and service packs.
|
|
||||||
;
|
|
||||||
; Latests Updates by Brandon Hansen, KG6YPI (RemoteHams.com)
|
|
||||||
; Dec 26, 2011 - .NET Framework 4.0 detection fixes - client profile not being found
|
|
||||||
; Dec 07, 2010 - .NET Framework 4.0 detection added by Brandon Hansen (KG6YPI)
|
|
||||||
;
|
|
||||||
; Usage examples:
|
|
||||||
;
|
|
||||||
; ${If} ${HasDotNet4.0}
|
|
||||||
; DetailPrint "Microsoft .NET Framework 4.0 installed."
|
|
||||||
; ${If} ${DOTNETVER_4_0} AtLeastDotNetServicePack 1
|
|
||||||
; DetailPrint "Microsoft .NET Framework 4.0 is at least SP1."
|
|
||||||
; ${Else}
|
|
||||||
; DetailPrint "Microsoft .NET Framework 4.0 SP1 not installed."
|
|
||||||
; ${EndIf}
|
|
||||||
; ${If} ${DOTNETVER_4_0} HasDotNetClientProfile 1
|
|
||||||
; DetailPrint "Microsoft .NET Framework 4.0 (Client Profile) available."
|
|
||||||
; ${EndIf}
|
|
||||||
; ${If} ${DOTNETVER_4_0} HasDotNetFullProfile 1
|
|
||||||
; DetailPrint "Microsoft .NET Framework 4.0 (Full Profile) available."
|
|
||||||
; ${EndIf}
|
|
||||||
; ${If} ${DOTNETVER_4_0} HasDotNetFullProfile 0
|
|
||||||
; DetailPrint "Microsoft .NET Framework 4.0 (Full Profile) not available."
|
|
||||||
; ${EndIf}
|
|
||||||
; ${EndIf}
|
|
||||||
|
|
||||||
|
|
||||||
!verbose push
|
|
||||||
!verbose 3
|
|
||||||
|
|
||||||
!ifndef ___DOTNETVER__NSH___
|
|
||||||
!define ___DOTNETVER__NSH___
|
|
||||||
|
|
||||||
!include LogicLib.nsh
|
|
||||||
!include Util.nsh
|
|
||||||
|
|
||||||
# constants
|
|
||||||
|
|
||||||
!define DOTNETVER_1_0 "1.0"
|
|
||||||
!define DOTNETVER_1_1 "1.1"
|
|
||||||
!define DOTNETVER_2_0 "2.0"
|
|
||||||
!define DOTNETVER_3_0 "3.0"
|
|
||||||
!define DOTNETVER_3_5 "3.5"
|
|
||||||
!define DOTNETVER_4_0 "4.0"
|
|
||||||
|
|
||||||
# variable declaration
|
|
||||||
|
|
||||||
Var /GLOBAL __DONTNET_FOUNDVER
|
|
||||||
|
|
||||||
!macro __DotNetVer_DeclareVars
|
|
||||||
!ifndef __DOTNETVER_VARS_DECLARED
|
|
||||||
!define __DOTNETVER_VARS_DECLARED
|
|
||||||
Var /GLOBAL __DOTNET_1.0
|
|
||||||
Var /GLOBAL __DOTNET_1.1
|
|
||||||
Var /GLOBAL __DOTNET_2.0
|
|
||||||
Var /GLOBAL __DOTNET_3.0
|
|
||||||
Var /GLOBAL __DOTNET_3.5
|
|
||||||
Var /GLOBAL __DOTNET_4.0
|
|
||||||
|
|
||||||
Var /GLOBAL __DOTNETVER_1.0_SP
|
|
||||||
Var /GLOBAL __DOTNETVER_1.1_SP
|
|
||||||
Var /GLOBAL __DOTNETVER_2.0_SP
|
|
||||||
Var /GLOBAL __DOTNETVER_3.0_SP
|
|
||||||
Var /GLOBAL __DOTNETVER_3.5_SP
|
|
||||||
Var /GLOBAL __DOTNETVER_4.0_SP
|
|
||||||
|
|
||||||
Var /GLOBAL __DOTNET_1.0_CLIENT
|
|
||||||
Var /GLOBAL __DOTNET_1.1_CLIENT
|
|
||||||
Var /GLOBAL __DOTNET_2.0_CLIENT
|
|
||||||
Var /GLOBAL __DOTNET_3.0_CLIENT
|
|
||||||
Var /GLOBAL __DOTNET_3.5_CLIENT
|
|
||||||
Var /GLOBAL __DOTNET_4.0_CLIENT
|
|
||||||
|
|
||||||
Var /GLOBAL __DOTNET_1.0_FULL
|
|
||||||
Var /GLOBAL __DOTNET_1.1_FULL
|
|
||||||
Var /GLOBAL __DOTNET_2.0_FULL
|
|
||||||
Var /GLOBAL __DOTNET_3.0_FULL
|
|
||||||
Var /GLOBAL __DOTNET_3.5_FULL
|
|
||||||
Var /GLOBAL __DOTNET_4.0_FULL
|
|
||||||
|
|
||||||
StrCpy $__DOTNET_1.0 0
|
|
||||||
StrCpy $__DOTNET_1.1 0
|
|
||||||
StrCpy $__DOTNET_2.0 0
|
|
||||||
StrCpy $__DOTNET_3.0 0
|
|
||||||
StrCpy $__DOTNET_3.5 0
|
|
||||||
StrCpy $__DOTNET_4.0 0
|
|
||||||
|
|
||||||
StrCpy $__DOTNETVER_1.0_SP 0
|
|
||||||
StrCpy $__DOTNETVER_1.1_SP 0
|
|
||||||
StrCpy $__DOTNETVER_2.0_SP 0
|
|
||||||
StrCpy $__DOTNETVER_3.0_SP 0
|
|
||||||
StrCpy $__DOTNETVER_3.5_SP 0
|
|
||||||
StrCpy $__DOTNETVER_4.0_SP 0
|
|
||||||
|
|
||||||
StrCpy $__DOTNET_1.0_CLIENT 0
|
|
||||||
StrCpy $__DOTNET_1.1_CLIENT 0
|
|
||||||
StrCpy $__DOTNET_2.0_CLIENT 0
|
|
||||||
StrCpy $__DOTNET_3.0_CLIENT 0
|
|
||||||
StrCpy $__DOTNET_3.5_CLIENT 0
|
|
||||||
StrCpy $__DOTNET_4.0_CLIENT 0
|
|
||||||
|
|
||||||
StrCpy $__DOTNET_1.0_FULL 0
|
|
||||||
StrCpy $__DOTNET_1.1_FULL 0
|
|
||||||
StrCpy $__DOTNET_2.0_FULL 0
|
|
||||||
StrCpy $__DOTNET_3.0_FULL 0
|
|
||||||
StrCpy $__DOTNET_3.5_FULL 0
|
|
||||||
StrCpy $__DOTNET_4.0_FULL 0
|
|
||||||
|
|
||||||
!endif
|
|
||||||
!macroend
|
|
||||||
|
|
||||||
|
|
||||||
# lazy initialization macro
|
|
||||||
|
|
||||||
!macro __DotNetVer_InitVars
|
|
||||||
# only calculate version once
|
|
||||||
StrCmp $__DONTNET_FOUNDVER "" dotnetver.noveryet
|
|
||||||
Return
|
|
||||||
|
|
||||||
dotnetver.noveryet:
|
|
||||||
!insertmacro __DotNetVer_DeclareVars
|
|
||||||
|
|
||||||
Push $0 ;registry count
|
|
||||||
Push $1 ;registry key
|
|
||||||
Push $2 ;version number
|
|
||||||
Push $3 ;installed
|
|
||||||
Push $4 ;service pack number
|
|
||||||
Push $8 ;strLen helper var
|
|
||||||
|
|
||||||
StrCpy $0 0
|
|
||||||
|
|
||||||
dotnetver.startenum:
|
|
||||||
|
|
||||||
EnumRegKey $1 HKLM "SOFTWARE\Microsoft\NET Framework Setup\NDP" $0
|
|
||||||
StrCmp $1 "" dotnetver.done
|
|
||||||
|
|
||||||
IntOp $0 $0 + 1
|
|
||||||
|
|
||||||
StrCpy $2 $1 1 0
|
|
||||||
StrCmp $2 "v" +1 dotnetver.startenum
|
|
||||||
StrCpy $2 $1 3 1
|
|
||||||
|
|
||||||
; Check for .NET 1.0 to 3.5
|
|
||||||
ReadRegDWORD $3 HKLM "SOFTWARE\Microsoft\NET Framework Setup\NDP\$1" "Install"
|
|
||||||
ReadRegDWORD $4 HKLM "SOFTWARE\Microsoft\NET Framework Setup\NDP\$1" "SP"
|
|
||||||
; This is a sanity check that works on .NET 1.0 to 3.5
|
|
||||||
; if it fails check for dotnet 4
|
|
||||||
IntCmp $3 0 dotnetcheck.40
|
|
||||||
StrCmp $2 ${DOTNETVER_1_0} dotnetver.10
|
|
||||||
StrCmp $2 ${DOTNETVER_1_1} dotnetver.11
|
|
||||||
StrCmp $2 ${DOTNETVER_2_0} dotnetver.20
|
|
||||||
StrCmp $2 ${DOTNETVER_3_0} dotnetver.30
|
|
||||||
StrCmp $2 ${DOTNETVER_3_5} dotnetver.35
|
|
||||||
dotnetcheck.40:
|
|
||||||
StrCmp $2 ${DOTNETVER_4_0} dotnetver.40
|
|
||||||
StrCmp $2 "4" dotnetver.40
|
|
||||||
|
|
||||||
Goto dotnetver.startenum
|
|
||||||
|
|
||||||
dotnetver.10:
|
|
||||||
StrCpy $__DOTNET_1.0 1
|
|
||||||
StrCpy $__DOTNETVER_1.0_SP $4
|
|
||||||
StrCpy $__DOTNET_1.0_FULL 1
|
|
||||||
Goto dotnetver.startenum
|
|
||||||
dotnetver.11:
|
|
||||||
StrCpy $__DOTNET_1.1 1
|
|
||||||
StrCpy $__DOTNETVER_1.1_SP $4
|
|
||||||
StrCpy $__DOTNET_1.1_FULL 1
|
|
||||||
Goto dotnetver.startenum
|
|
||||||
dotnetver.20:
|
|
||||||
StrCpy $__DOTNET_2.0 1
|
|
||||||
StrCpy $__DOTNETVER_2.0_SP $4
|
|
||||||
StrCpy $__DOTNET_2.0_FULL 1
|
|
||||||
Goto dotnetver.startenum
|
|
||||||
dotnetver.30:
|
|
||||||
StrCpy $__DOTNET_3.0 1
|
|
||||||
StrCpy $__DOTNETVER_3.0_SP $4
|
|
||||||
StrCpy $__DOTNET_3.0_FULL 1
|
|
||||||
Goto dotnetver.startenum
|
|
||||||
dotnetver.35:
|
|
||||||
StrCpy $__DOTNET_3.5 1
|
|
||||||
StrCpy $__DOTNETVER_3.5_SP $4
|
|
||||||
StrCpy $__DOTNET_3.5_FULL 1
|
|
||||||
Goto dotnetver.startenum
|
|
||||||
dotnetver.40:
|
|
||||||
; Check for .NET 4.0 (Full Profile)
|
|
||||||
ReadRegDWORD $3 HKLM "SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" "Install"
|
|
||||||
ReadRegDWORD $4 HKLM "SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" "SP"
|
|
||||||
StrLen $8 $3
|
|
||||||
IntCmp $8 0 dotnetcheck.40c
|
|
||||||
IntCmp $3 0 dotnetcheck.40c
|
|
||||||
StrCmp $2 ${DOTNETVER_4_0} dotnetver.40_Full
|
|
||||||
StrCmp $2 "4" dotnetver.40_Full
|
|
||||||
dotnetcheck.40c:
|
|
||||||
; Check for .NET 4.0 (Client Profile)
|
|
||||||
ReadRegDWORD $3 HKLM "SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client" "Install"
|
|
||||||
ReadRegDWORD $4 HKLM "SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client" "SP"
|
|
||||||
StrLen $8 $3
|
|
||||||
IntCmp $8 0 dotnetver.startenum
|
|
||||||
IntCmp $3 0 dotnetver.startenum
|
|
||||||
StrCmp $2 ${DOTNETVER_4_0} dotnetver.40_Client
|
|
||||||
StrCmp $2 "4" dotnetver.40_Client
|
|
||||||
Goto dotnetver.startenum
|
|
||||||
dotnetver.40_Full:
|
|
||||||
StrCpy $__DOTNET_4.0 1
|
|
||||||
StrCpy $__DOTNETVER_4.0_SP $4
|
|
||||||
StrCpy $__DOTNET_4.0_FULL 1
|
|
||||||
Goto dotnetcheck.40c ; continue looking for other profiles
|
|
||||||
dotnetver.40_Client:
|
|
||||||
StrCpy $__DOTNET_4.0 1
|
|
||||||
StrCpy $__DOTNETVER_4.0_SP $4
|
|
||||||
StrCpy $__DOTNET_4.0_CLIENT 1
|
|
||||||
Goto dotnetver.startenum
|
|
||||||
|
|
||||||
dotnetver.done:
|
|
||||||
|
|
||||||
StrCpy $__DONTNET_FOUNDVER "1"
|
|
||||||
|
|
||||||
Pop $8
|
|
||||||
Pop $4
|
|
||||||
Pop $3
|
|
||||||
Pop $2
|
|
||||||
Pop $1
|
|
||||||
Pop $0
|
|
||||||
!macroend
|
|
||||||
|
|
||||||
!macro _HasDotNet _a _b _t _f
|
|
||||||
${CallArtificialFunction} __DotNetVer_InitVars
|
|
||||||
|
|
||||||
!insertmacro _= `$__DOTNET_${_b}` `1` `${_t}` `${_f}`
|
|
||||||
!macroend
|
|
||||||
|
|
||||||
!macro __DotNetVer_DefineTest Ver
|
|
||||||
!define HasDotNet${Ver} `"" HasDotNet ${Ver}`
|
|
||||||
!macroend
|
|
||||||
|
|
||||||
!insertmacro __DotNetVer_DefineTest ${DOTNETVER_1_0}
|
|
||||||
!insertmacro __DotNetVer_DefineTest ${DOTNETVER_1_1}
|
|
||||||
!insertmacro __DotNetVer_DefineTest ${DOTNETVER_2_0}
|
|
||||||
!insertmacro __DotNetVer_DefineTest ${DOTNETVER_3_0}
|
|
||||||
!insertmacro __DotNetVer_DefineTest ${DOTNETVER_3_5}
|
|
||||||
!insertmacro __DotNetVer_DefineTest ${DOTNETVER_4_0}
|
|
||||||
|
|
||||||
!macro _AtLeastDotNetServicePack _a _b _t _f
|
|
||||||
${CallArtificialFunction} __DotNetVer_InitVars
|
|
||||||
|
|
||||||
!insertmacro _>= `$__DOTNETVER_${_a}_SP` `${_b}` `${_t}` `${_f}`
|
|
||||||
!macroend
|
|
||||||
!define AtLeastDotNetServicePack `AtLeastDotNetServicePack`
|
|
||||||
|
|
||||||
|
|
||||||
!macro _AtMostDotNetServicePack _a _b _t _f
|
|
||||||
${CallArtificialFunction} __DotNetVer_InitVars
|
|
||||||
|
|
||||||
!insertmacro _<= `$__DOTNETVER_${_a}_SP` `${_b}` `${_t}` `${_f}`
|
|
||||||
!macroend
|
|
||||||
!define AtMostDotNetServicePack `AtMostDotNetServicePack`
|
|
||||||
|
|
||||||
|
|
||||||
!macro _IsDotNetServicePack _a _b _t _f
|
|
||||||
${CallArtificialFunction} __DotNetVer_InitVars
|
|
||||||
|
|
||||||
!insertmacro _= `$__DOTNETVER_${_a}_SP` `${_b}` `${_t}` `${_f}`
|
|
||||||
!macroend
|
|
||||||
!define IsDotNetServicePack `IsDotNetServicePack`
|
|
||||||
|
|
||||||
!macro _HasDotNetClientProfile _a _b _t _f
|
|
||||||
${CallArtificialFunction} __DotNetVer_InitVars
|
|
||||||
|
|
||||||
!insertmacro _= `$__DOTNET_${_a}_CLIENT` `${_b}` `${_t}` `${_f}`
|
|
||||||
!macroend
|
|
||||||
!define HasDotNetClientProfile `HasDotNetClientProfile`
|
|
||||||
|
|
||||||
!macro _HasDotNetFullProfile _a _b _t _f
|
|
||||||
${CallArtificialFunction} __DotNetVer_InitVars
|
|
||||||
|
|
||||||
!insertmacro _= `$__DOTNET_${_a}_FULL` `${_b}` `${_t}` `${_f}`
|
|
||||||
!macroend
|
|
||||||
!define HasDotNetFullProfile `HasDotNetFullProfile`
|
|
||||||
|
|
||||||
# done
|
|
||||||
|
|
||||||
!endif # !___DOTNETVER__NSH___
|
|
||||||
|
|
||||||
!verbose pop
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 151 KiB |
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 25 KiB |
Whitespace-only changes.
@@ -1 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?><resources><string name="language">Nederlands</string></resources>
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
LangString DESC_main ${LANG_ENGLISH} "Main vocaluxe-files."
|
|
||||||
LangString DESC_bg_videos ${LANG_ENGLISH} "Additional background-videos for ambient-theme."
|
|
||||||
LangString TITLE_main ${LANG_ENGLISH} "Main"
|
|
||||||
LangString TITLE_bg_videos ${LANG_ENGLISH} "Background-videos"
|
|
||||||
LangString FINISH_text ${LANG_ENGLISH} "Visit our site for the latest news, FAQ's and support."
|
|
||||||
LangString LOG_dx_setup_start ${LANG_ENGLISH} "DirectX setup starts..."
|
|
||||||
LangString LOG_dx_setup_finish ${LANG_ENGLISH} "DirectX setup finished."
|
|
||||||
LangString LOG_net_setup_start ${LANG_ENGLISH} ".NET4 setup starts..."
|
|
||||||
LangString LOG_net_setup_finish ${LANG_ENGLISH} ".NET4 setup finished."
|
|
||||||
LangString LOG_vc_setup_start ${LANG_ENGLISH} "VC++ 2012 setup starts..."
|
|
||||||
LangString LOG_vc_setup_finish ${LANG_ENGLISH} "VC++ 2012 setup finished."
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?><resources><string name="language">English</string><string name="DESC_main">Main vocaluxe-files.</string><string name="DESC_bg_videos">Additional background-videos for ambient-theme.</string><string name="TITLE_main">Main</string><string name="TITLE_bg_videos">Background-videos</string><string name="FINISH_text">Visit our site for the latest news, FAQ's and support.</string><string name="LOG_dx_setup_start">DirectX setup starts...</string><string name="LOG_dx_setup_finish">DirectX setup finished.</string><string name="LOG_net_setup_start">.NET4 setup starts...</string><string name="LOG_net_setup_finish">.NET4 setup finished.</string><string name="LOG_vc_setup_start">VC++ 2012 setup starts...</string><string name="LOG_vc_setup_finish">VC++ 2012 setup finished.</string></resources>
|
|
||||||
Whitespace-only changes.
@@ -1 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?><resources><string name="language">Français</string></resources>
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
LangString DESC_main ${LANG_GERMAN} "Vocaluxe-Dateien."
|
|
||||||
LangString DESC_bg_videos ${LANG_GERMAN} "Zusätzliche Hintergrund-Videos für das Ambient-Theme."
|
|
||||||
LangString TITLE_main ${LANG_GERMAN} "Hauptprogramm"
|
|
||||||
LangString TITLE_bg_videos ${LANG_GERMAN} "Hintergrundvideos"
|
|
||||||
LangString FINISH_text ${LANG_GERMAN} "Besuch unsere Homepage für Neuigkeiten, Hilfe und FAQs."
|
|
||||||
LangString LOG_dx_setup_start ${LANG_GERMAN} "Installation von DirectX wird gestartet..."
|
|
||||||
LangString LOG_dx_setup_finish ${LANG_GERMAN} "Installation von DirectX wurde beendet."
|
|
||||||
LangString LOG_net_setup_start ${LANG_GERMAN} "Installation von .NET4 wird gestartet..."
|
|
||||||
LangString LOG_net_setup_finish ${LANG_GERMAN} "Installation von .NET wurde beendet."
|
|
||||||
LangString LOG_vc_setup_start ${LANG_GERMAN} "Installation von VC++ 2012 wird gestartet..."
|
|
||||||
LangString LOG_vc_setup_finish ${LANG_GERMAN} "Installation von VC++ 2012 wurde beendet."
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?><resources><string name="language">Deutsch</string><string name="DESC_main">Vocaluxe-Dateien.</string><string name="DESC_bg_videos">Zusätzliche Hintergrund-Videos für das Ambient-Theme.</string><string name="TITLE_main">Hauptprogramm</string><string name="TITLE_bg_videos">Hintergrundvideos</string><string name="FINISH_text">Besuch unsere Homepage für Neuigkeiten, Hilfe und FAQs.</string><string name="LOG_dx_setup_start">Installation von DirectX wird gestartet...</string><string name="LOG_dx_setup_finish">Installation von DirectX wurde beendet.</string><string name="LOG_net_setup_start">Installation von .NET4 wird gestartet...</string><string name="LOG_net_setup_finish">Installation von .NET wurde beendet.</string><string name="LOG_vc_setup_start">Installation von VC++ 2012 wird gestartet...</string><string name="LOG_vc_setup_finish">Installation von VC++ 2012 wurde beendet.</string></resources>
|
|
||||||
Whitespace-only changes.
@@ -1 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?><resources><string name="language">Magyar</string></resources>
|
|
||||||
Whitespace-only changes.
@@ -1 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?><resources><string name="language">Español</string></resources>
|
|
||||||
Whitespace-only changes.
@@ -1 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?><resources><string name="language">Türkçe</string></resources>
|
|
||||||
+2
-4
@@ -1,5 +1,3 @@
|
|||||||
Please use NSIS Unicode for creating installer.
|
Needs advanced installer proffesional to compile
|
||||||
http://www.scratchpaper.com/
|
|
||||||
|
|
||||||
Also needed AccessControl-Plugin:
|
Please add Advanced Installer to path before running build.bat
|
||||||
nsis.sourceforge.net/mediawiki/images/4/4a/AccessControl.zip
|
|
||||||
@@ -1,280 +0,0 @@
|
|||||||
XPStyle on
|
|
||||||
|
|
||||||
!include "MUI2.nsh"
|
|
||||||
!include "x64.nsh"
|
|
||||||
!include "LogicLib.nsh"
|
|
||||||
!include "DotNetVer.nsh"
|
|
||||||
|
|
||||||
;Name and file
|
|
||||||
!define PRODUCT_NAME "Vocaluxe"
|
|
||||||
!define PRODUCT_VERSION "0.3.0"
|
|
||||||
!define PRODUCT_STAGE "Beta"
|
|
||||||
!define PRODUCT_WEBSITE "www.vocaluxe.org"
|
|
||||||
!define UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
|
|
||||||
!define ADD_BG_VIDS "0"
|
|
||||||
Name "${PRODUCT_NAME} ${PRODUCT_VERSION} ${PRODUCT_STAGE}"
|
|
||||||
OutFile "VocaluxeSetup_${PRODUCT_VERSION}${PRODUCT_STAGE}.exe"
|
|
||||||
BrandingText "Vocaluxe Team 2013"
|
|
||||||
|
|
||||||
InstallDirRegKey HKCU "Software\Vocaluxe" ""
|
|
||||||
|
|
||||||
RequestExecutionLevel admin
|
|
||||||
|
|
||||||
Var StartMenuFolder
|
|
||||||
Var DirectXSetupError
|
|
||||||
Var NetSetupError
|
|
||||||
Var VCSetupError
|
|
||||||
|
|
||||||
!define MUI_ICON "..\Output\Vocaluxe.ico"
|
|
||||||
!define MUI_UNICON "..\Output\Vocaluxe.ico"
|
|
||||||
!define MUI_HEADERIMAGE
|
|
||||||
!define MUI_HEADERIMAGE_RIGHT
|
|
||||||
!define MUI_HEADERIMAGE_BITMAP_NOSTRETCH
|
|
||||||
!define MUI_HEADERIMAGE_UNBITMAP_NOSTRETCH
|
|
||||||
!define MUI_HEADERIMAGE_BITMAP "Graphics\Top.bmp"
|
|
||||||
!define MUI_HEADERIMAGE_UNBITMAP "Graphics\Top.bmp"
|
|
||||||
!define MUI_WELCOMEFINISHPAGE_BITMAP "Graphics\Side.bmp"
|
|
||||||
!define MUI_WELCOMEFINISHPAGE_UNBITMAP "Graphics\Side.bmp"
|
|
||||||
!define MUI_ABORTWARNING
|
|
||||||
|
|
||||||
!define MUI_FINISHPAGE_LINK $(FINISH_TEXT)
|
|
||||||
!define MUI_FINISHPAGE_LINK_LOCATION "${PRODUCT_WEBSITE}"
|
|
||||||
!define MUI_FINISHPAGE_SHOWREADME $INSTDIR\Readme.txt
|
|
||||||
!define MUI_FINISHPAGE_SHOWREADME_TEXT Readme.txt
|
|
||||||
!define MUI_FINISHPAGE_SHOWREADME_NOTCHECKED
|
|
||||||
|
|
||||||
;Start Menu Folder Page Configuration
|
|
||||||
!define MUI_STARTMENUPAGE_REGISTRY_ROOT "HKCU"
|
|
||||||
!define MUI_STARTMENUPAGE_REGISTRY_KEY "Software\Vocaluxe"
|
|
||||||
!define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "Vocaluxe"
|
|
||||||
|
|
||||||
!define MUI_LANGDLL_ALLLANGUAGES
|
|
||||||
|
|
||||||
|
|
||||||
;Remember the installer language
|
|
||||||
!define MUI_LANGDLL_REGISTRY_ROOT "HKCU"
|
|
||||||
!define MUI_LANGDLL_REGISTRY_KEY "Software\Vocaluxe"
|
|
||||||
!define MUI_LANGDLL_REGISTRY_VALUENAME "Installer Language"
|
|
||||||
|
|
||||||
;--------------------------------
|
|
||||||
;Pages
|
|
||||||
|
|
||||||
!insertmacro MUI_PAGE_WELCOME
|
|
||||||
!insertmacro MUI_PAGE_LICENSE "..\Output\LICENSE.txt"
|
|
||||||
!insertmacro MUI_PAGE_COMPONENTS
|
|
||||||
!insertmacro MUI_PAGE_DIRECTORY
|
|
||||||
|
|
||||||
!insertmacro MUI_PAGE_STARTMENU Vocaluxe $StartMenuFolder
|
|
||||||
|
|
||||||
!insertmacro MUI_PAGE_INSTFILES
|
|
||||||
!insertmacro MUI_PAGE_FINISH
|
|
||||||
|
|
||||||
!insertmacro MUI_UNPAGE_CONFIRM
|
|
||||||
!insertmacro MUI_UNPAGE_INSTFILES
|
|
||||||
!insertmacro MUI_UNPAGE_FINISH
|
|
||||||
|
|
||||||
;--------------------------------
|
|
||||||
;Languages
|
|
||||||
|
|
||||||
!insertmacro MUI_LANGUAGE "English" ;first language is the default language
|
|
||||||
!insertmacro MUI_LANGUAGE "French"
|
|
||||||
!insertmacro MUI_LANGUAGE "German"
|
|
||||||
!insertmacro MUI_LANGUAGE "Spanish"
|
|
||||||
!insertmacro MUI_LANGUAGE "Dutch"
|
|
||||||
!insertmacro MUI_LANGUAGE "Turkish"
|
|
||||||
|
|
||||||
!include "Languages\Dutch.nsh"
|
|
||||||
!include "Languages\English.nsh"
|
|
||||||
!include "Languages\French.nsh"
|
|
||||||
!include "Languages\German.nsh"
|
|
||||||
!include "Languages\Hungarian.nsh"
|
|
||||||
!include "Languages\Spanish.nsh"
|
|
||||||
!include "Languages\Turkish.nsh"
|
|
||||||
|
|
||||||
;Installer Sections
|
|
||||||
|
|
||||||
Section $(TITLE_MAIN) SecMain
|
|
||||||
|
|
||||||
SectionIn RO
|
|
||||||
SetOutPath "$INSTDIR"
|
|
||||||
|
|
||||||
File /r "..\Output\BackgroundMusic"
|
|
||||||
File /r "..\Output\Cover"
|
|
||||||
File /r "..\Output\Fonts"
|
|
||||||
File /r "..\Output\Graphics"
|
|
||||||
File /r "..\Output\Languages"
|
|
||||||
File /r "..\Output\PartyModes"
|
|
||||||
CreateDirectory $OUTDIR\Songs
|
|
||||||
CreateDirectory $OUTDIR\Profiles
|
|
||||||
File /oname=$OUTDIR\Profiles\guest1.xml "..\Output\Profiles\guest1.xml"
|
|
||||||
File /oname=$OUTDIR\Profiles\guest2.xml "..\Output\Profiles\guest2.xml"
|
|
||||||
File /oname=$OUTDIR\Profiles\guest3.xml "..\Output\Profiles\guest3.xml"
|
|
||||||
File /oname=$OUTDIR\Profiles\Avatar_f.png "..\Output\Profiles\Avatar_f.png"
|
|
||||||
File /oname=$OUTDIR\Profiles\Avatar_m.png "..\Output\Profiles\Avatar_m.png"
|
|
||||||
File /r "..\Output\Sounds"
|
|
||||||
File /r /x "*.mp4" "..\Output\Themes"
|
|
||||||
File /r "..\Output\x64"
|
|
||||||
File /r "..\Output\x86"
|
|
||||||
File "..\Output\*.dll"
|
|
||||||
File "..\Output\*.config"
|
|
||||||
File "..\Output\*.exe"
|
|
||||||
File "..\Output\*.ico"
|
|
||||||
File "..\Output\*.txt"
|
|
||||||
File "..\Output\CreditsRessourcesDB.sqlite"
|
|
||||||
|
|
||||||
;Set User-rights to needed files
|
|
||||||
AccessControl::GrantOnFile "$INSTDIR" "(S-1-5-32-545)" "FullAccess"
|
|
||||||
AccessControl::GrantOnFile "$INSTDIR\*" "(S-1-5-32-545)" "FullAccess"
|
|
||||||
|
|
||||||
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\DirectX" "Version"
|
|
||||||
StrCpy $1 $0 4 3
|
|
||||||
${If} $1 < 9
|
|
||||||
SetOutPath "$TEMP"
|
|
||||||
File "Requirements\dxwebsetup.exe"
|
|
||||||
DetailPrint $(LOG_dx_setup_start)
|
|
||||||
ExecWait '"$TEMP\dxwebsetup.exe" /Q' $DirectXSetupError
|
|
||||||
DetailPrint $(LOG_dx_setup_finish)
|
|
||||||
|
|
||||||
Delete "$TEMP\dxwebsetup.exe"
|
|
||||||
|
|
||||||
SetOutPath "$INSTDIR"
|
|
||||||
${EndIf}
|
|
||||||
|
|
||||||
|
|
||||||
${IfNot} ${HasDotNet4.0}
|
|
||||||
SetOutPath "$TEMP"
|
|
||||||
File "Requirements\dotNetFx40_Full_setup.exe"
|
|
||||||
DetailPrint $(LOG_net_setup_start)
|
|
||||||
ExecWait '"$TEMP\dotNetFx40_Full_setup.exe" /Q' $NetSetupError
|
|
||||||
DetailPrint $(LOG_net_setup_finish)
|
|
||||||
|
|
||||||
Delete "$TEMP\dotNetFx40_Full_setup.exe"
|
|
||||||
|
|
||||||
SetOutPath "$INSTDIR"
|
|
||||||
${EndIf}
|
|
||||||
|
|
||||||
SetOutPath "$TEMP"
|
|
||||||
${If} ${RunningX64}
|
|
||||||
File "Requirements\vcredist_x64.exe"
|
|
||||||
DetailPrint $(LOG_vc_setup_start)
|
|
||||||
ExecWait '"$TEMP\vcredist_x64.exe" /Q /norestart' $VCSetupError
|
|
||||||
DetailPrint $(LOG_vc_setup_finish)
|
|
||||||
|
|
||||||
Delete "$TEMP\vcredist_x64.exe"
|
|
||||||
${Else}
|
|
||||||
File "Requirements\vcredist_x86.exe"
|
|
||||||
DetailPrint $(LOG_vc_setup_start)
|
|
||||||
ExecWait '"$TEMP\vcredist_x86.exe" /Q /norestart' $VCSetupError
|
|
||||||
DetailPrint $(LOG_vc_setup_finish)
|
|
||||||
|
|
||||||
Delete "$TEMP\vcredist_x86.exe"
|
|
||||||
${EndIf}
|
|
||||||
SetOutPath "$INSTDIR"
|
|
||||||
|
|
||||||
;Store installation folder
|
|
||||||
WriteRegStr HKCU "Software\Vocaluxe" "" $INSTDIR
|
|
||||||
|
|
||||||
;Create uninstaller
|
|
||||||
WriteUninstaller "$INSTDIR\Uninstall.exe"
|
|
||||||
|
|
||||||
!insertmacro MUI_STARTMENU_WRITE_BEGIN Vocaluxe
|
|
||||||
|
|
||||||
;Create shortcuts
|
|
||||||
CreateDirectory "$SMPROGRAMS\$StartMenuFolder"
|
|
||||||
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Uninstall.lnk" "$INSTDIR\Uninstall.exe"
|
|
||||||
${If} ${RunningX64}
|
|
||||||
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Vocaluxe.lnk" "$INSTDIR\Vocaluxe_x64.exe"
|
|
||||||
${Else}
|
|
||||||
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Vocaluxe.lnk" "$INSTDIR\Vocaluxe.exe"
|
|
||||||
${EndIf}
|
|
||||||
|
|
||||||
!insertmacro MUI_STARTMENU_WRITE_END
|
|
||||||
|
|
||||||
;; Registry for Windows Uninstall
|
|
||||||
WriteRegStr HKLM "${UNINST_KEY}" "DisplayName" "${PRODUCT_NAME}"
|
|
||||||
WriteRegStr HKLM "${UNINST_KEY}" "UninstallString" '"$INSTDIR\Uninstall.exe"'
|
|
||||||
WriteRegStr HKLM "${UNINST_KEY}" "InstallLocation" $INSTDIR
|
|
||||||
WriteRegStr HKLM "${UNINST_KEY}" "DisplayIcon" "$INSTDIR\Vocaluxe.exe,0"
|
|
||||||
WriteRegStr HKLM "${UNINST_KEY}" "Publisher" "Vocaluxe Team"
|
|
||||||
WriteRegStr HKLM "${UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}"
|
|
||||||
WriteRegDWORD HKLM "${UNINST_KEY}" "NoModify" 1
|
|
||||||
WriteRegDWORD HKLM "${UNINST_KEY}" "NoRepair" 1
|
|
||||||
WriteRegStr HKLM "${UNINST_KEY}" "Comment" "${PRODUCT_NAME} ${PRODUCT_VERSION}"
|
|
||||||
WriteUninstaller "$INSTDIR\Uninstall.exe"
|
|
||||||
|
|
||||||
SectionEnd
|
|
||||||
|
|
||||||
Section $(TITLE_bg_videos) SecVideos
|
|
||||||
|
|
||||||
SetOutPath "$INSTDIR\Themes\Ambient"
|
|
||||||
|
|
||||||
File "..\Output\Themes\Ambient\*.mp4"
|
|
||||||
|
|
||||||
SetOutPath "$INSTDIR"
|
|
||||||
|
|
||||||
SectionEnd
|
|
||||||
|
|
||||||
;--------------------------------
|
|
||||||
;Installer Functions
|
|
||||||
|
|
||||||
Function .onInit
|
|
||||||
|
|
||||||
;Default installation folder
|
|
||||||
${If} ${RunningX64}
|
|
||||||
strCpy $INSTDIR "$PROGRAMFILES64\Vocaluxe"
|
|
||||||
${Else}
|
|
||||||
strCpy $INSTDIR "$PROGRAMFILES32\Vocaluxe"
|
|
||||||
${EndIf}
|
|
||||||
|
|
||||||
!insertmacro MUI_LANGDLL_DISPLAY
|
|
||||||
|
|
||||||
FunctionEnd
|
|
||||||
|
|
||||||
;--------------------------------
|
|
||||||
;Descriptions
|
|
||||||
|
|
||||||
;Assign descriptions to sections
|
|
||||||
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
|
|
||||||
!insertmacro MUI_DESCRIPTION_TEXT ${SecMain} $(DESC_main)
|
|
||||||
!insertmacro MUI_DESCRIPTION_TEXT ${SecVideos} $(DESC_bg_videos)
|
|
||||||
!insertmacro MUI_FUNCTION_DESCRIPTION_END
|
|
||||||
|
|
||||||
|
|
||||||
;--------------------------------
|
|
||||||
;Uninstaller Section
|
|
||||||
|
|
||||||
Section "Uninstall"
|
|
||||||
|
|
||||||
Delete "$INSTDIR\*"
|
|
||||||
RMDir /r "$INSTDIR\BackgroundMusic"
|
|
||||||
RMDir /r "$INSTDIR\Cover"
|
|
||||||
RMDir /r "$INSTDIR\Fonts"
|
|
||||||
RMDir /r "$INSTDIR\Graphics"
|
|
||||||
RMDir /r "$INSTDIR\Languages"
|
|
||||||
RMDir /r "$INSTDIR\PartyModes"
|
|
||||||
RMDir /r "$INSTDIR\Profiles"
|
|
||||||
RMDir /r "$INSTDIR\Sounds"
|
|
||||||
RMDir /r "$INSTDIR\Songs"
|
|
||||||
RMDir /r "$INSTDIR\Themes"
|
|
||||||
RMDir "$INSTDIR"
|
|
||||||
|
|
||||||
DeleteRegKey /ifempty HKCU "Software\Vocaluxe"
|
|
||||||
|
|
||||||
!insertmacro MUI_STARTMENU_GETFOLDER Vocaluxe $StartMenuFolder
|
|
||||||
|
|
||||||
Delete "$SMPROGRAMS\$StartMenuFolder\Uninstall.lnk"
|
|
||||||
Delete "$SMPROGRAMS\$StartMenuFolder\Vocaluxe.lnk"
|
|
||||||
RMDir "$SMPROGRAMS\$StartMenuFolder"
|
|
||||||
|
|
||||||
DeleteRegKey HKLM "${UNINST_KEY}"
|
|
||||||
|
|
||||||
SectionEnd
|
|
||||||
|
|
||||||
;--------------------------------
|
|
||||||
;Uninstaller Functions
|
|
||||||
|
|
||||||
Function un.onInit
|
|
||||||
|
|
||||||
!insertmacro MUI_UNGETLANGUAGE
|
|
||||||
|
|
||||||
FunctionEnd
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
|
||||||
# Visual Studio Express 2012 for Windows Desktop
|
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nshToXmlConverter", "nshToXmlConverter\nshToXmlConverter.csproj", "{678485CE-56FD-42A2-AEE0-B5502B5BEEEE}"
|
|
||||||
EndProject
|
|
||||||
Global
|
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
|
||||||
Debug|Any CPU = Debug|Any CPU
|
|
||||||
Release|Any CPU = Release|Any CPU
|
|
||||||
EndGlobalSection
|
|
||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
|
||||||
{678485CE-56FD-42A2-AEE0-B5502B5BEEEE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
|
||||||
{678485CE-56FD-42A2-AEE0-B5502B5BEEEE}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
|
||||||
{678485CE-56FD-42A2-AEE0-B5502B5BEEEE}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
|
||||||
{678485CE-56FD-42A2-AEE0-B5502B5BEEEE}.Release|Any CPU.Build.0 = Release|Any CPU
|
|
||||||
EndGlobalSection
|
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
|
||||||
HideSolutionNode = FALSE
|
|
||||||
EndGlobalSection
|
|
||||||
EndGlobal
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
|
||||||
<configuration>
|
|
||||||
<startup>
|
|
||||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
|
|
||||||
</startup>
|
|
||||||
</configuration>
|
|
||||||
@@ -1,138 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using System.Xml;
|
|
||||||
using System.IO;
|
|
||||||
using VocaluxeLib;
|
|
||||||
|
|
||||||
namespace nshToXmlConverter
|
|
||||||
{
|
|
||||||
public static class CConverter
|
|
||||||
{
|
|
||||||
public static bool ConvertNshToXml(string file)
|
|
||||||
{
|
|
||||||
string xmlFile = Path.ChangeExtension(file, "xml");
|
|
||||||
|
|
||||||
XmlWriter writer = null;
|
|
||||||
StreamReader sr = null;
|
|
||||||
try
|
|
||||||
{
|
|
||||||
writer = XmlWriter.Create(xmlFile);
|
|
||||||
sr = new StreamReader(file);
|
|
||||||
|
|
||||||
string language = Path.GetFileNameWithoutExtension(file);
|
|
||||||
switch (language)
|
|
||||||
{
|
|
||||||
case "Dutch":
|
|
||||||
language = "Nederlands";
|
|
||||||
break;
|
|
||||||
|
|
||||||
case "English":
|
|
||||||
language = "English";
|
|
||||||
break;
|
|
||||||
|
|
||||||
case "French":
|
|
||||||
language = "Français";
|
|
||||||
break;
|
|
||||||
|
|
||||||
case "German":
|
|
||||||
language = "Deutsch";
|
|
||||||
break;
|
|
||||||
|
|
||||||
case "Hungarian":
|
|
||||||
language = "Magyar";
|
|
||||||
break;
|
|
||||||
|
|
||||||
case "Spanish":
|
|
||||||
language = "Español";
|
|
||||||
break;
|
|
||||||
|
|
||||||
case "Turkish":
|
|
||||||
language = "Türkçe";
|
|
||||||
break;
|
|
||||||
|
|
||||||
default:
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
writer.WriteStartDocument();
|
|
||||||
writer.WriteStartElement("resources");
|
|
||||||
writer.WriteStartElement("string");
|
|
||||||
writer.WriteAttributeString("name", "language");
|
|
||||||
writer.WriteValue(language);
|
|
||||||
writer.WriteEndElement();
|
|
||||||
while (!sr.EndOfStream)
|
|
||||||
{
|
|
||||||
string line = sr.ReadLine();
|
|
||||||
line = line.Trim();
|
|
||||||
line = line.Substring(11);
|
|
||||||
int namePos = line.IndexOf(' ');
|
|
||||||
string name = line.Substring(0, namePos);
|
|
||||||
line = line.Substring(namePos + 1);
|
|
||||||
int valuePos = line.IndexOf(' ');
|
|
||||||
string value = line.Substring(valuePos + 2);
|
|
||||||
value = value.Substring(0, value.Length - 1);
|
|
||||||
if (value != "" && name != "")
|
|
||||||
{
|
|
||||||
writer.WriteStartElement("string");
|
|
||||||
writer.WriteAttributeString("name", name);
|
|
||||||
writer.WriteValue(value);
|
|
||||||
writer.WriteEndElement();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
writer.WriteEndElement();
|
|
||||||
writer.WriteEndDocument();
|
|
||||||
writer.Flush();
|
|
||||||
writer.Close();
|
|
||||||
writer = null;
|
|
||||||
sr.Close();
|
|
||||||
sr.Dispose();
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
catch
|
|
||||||
{
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public static bool ConvertXmlToNsh(string file)
|
|
||||||
{
|
|
||||||
StreamWriter sw = null;
|
|
||||||
try
|
|
||||||
{
|
|
||||||
CXMLReader reader = CXMLReader.OpenFile(file);
|
|
||||||
|
|
||||||
string language = "";
|
|
||||||
reader.GetValue("//resources/string[@name='language']", out language, "");
|
|
||||||
|
|
||||||
if (language != "")
|
|
||||||
{
|
|
||||||
sw = new StreamWriter(Path.ChangeExtension(file, "nsh"));
|
|
||||||
IEnumerable<string> names = reader.GetAttributes("resources", "name");
|
|
||||||
foreach (string name in names)
|
|
||||||
{
|
|
||||||
string value;
|
|
||||||
if (!reader.GetValue("//resources/string[@name='" + name + "']", out value, ""))
|
|
||||||
continue;
|
|
||||||
sw.WriteLine("LangString " + name + " ${LANG_" + language.ToUpper() + "} \"" + value + "\"");
|
|
||||||
}
|
|
||||||
sw.Flush();
|
|
||||||
sw.Close();
|
|
||||||
sw.Dispose();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
catch
|
|
||||||
{
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,62 +0,0 @@
|
|||||||
namespace nshToXmlConverter
|
|
||||||
{
|
|
||||||
partial class MainForm
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// Erforderliche Designervariable.
|
|
||||||
/// </summary>
|
|
||||||
private System.ComponentModel.IContainer components = null;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Verwendete Ressourcen bereinigen.
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="disposing">True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.</param>
|
|
||||||
protected override void Dispose(bool disposing)
|
|
||||||
{
|
|
||||||
if (disposing && (components != null))
|
|
||||||
{
|
|
||||||
components.Dispose();
|
|
||||||
}
|
|
||||||
base.Dispose(disposing);
|
|
||||||
}
|
|
||||||
|
|
||||||
#region Vom Windows Form-Designer generierter Code
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Erforderliche Methode für die Designerunterstützung.
|
|
||||||
/// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
|
|
||||||
/// </summary>
|
|
||||||
private void InitializeComponent()
|
|
||||||
{
|
|
||||||
this.panel1 = new System.Windows.Forms.Panel();
|
|
||||||
this.SuspendLayout();
|
|
||||||
//
|
|
||||||
// panel1
|
|
||||||
//
|
|
||||||
this.panel1.AllowDrop = true;
|
|
||||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
||||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
|
||||||
this.panel1.Name = "panel1";
|
|
||||||
this.panel1.Size = new System.Drawing.Size(284, 261);
|
|
||||||
this.panel1.TabIndex = 0;
|
|
||||||
this.panel1.DragDrop += new System.Windows.Forms.DragEventHandler(this.OnDragDrop);
|
|
||||||
this.panel1.DragEnter += new System.Windows.Forms.DragEventHandler(this.OnDragEnter);
|
|
||||||
//
|
|
||||||
// MainForm
|
|
||||||
//
|
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
||||||
this.ClientSize = new System.Drawing.Size(284, 261);
|
|
||||||
this.Controls.Add(this.panel1);
|
|
||||||
this.Name = "MainForm";
|
|
||||||
this.Text = "NSH to XML Converter";
|
|
||||||
this.ResumeLayout(false);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
private System.Windows.Forms.Panel panel1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,53 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.IO;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel;
|
|
||||||
using System.Data;
|
|
||||||
using System.Drawing;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using System.Windows.Forms;
|
|
||||||
|
|
||||||
namespace nshToXmlConverter
|
|
||||||
{
|
|
||||||
public partial class MainForm : Form
|
|
||||||
{
|
|
||||||
public MainForm()
|
|
||||||
{
|
|
||||||
InitializeComponent();
|
|
||||||
}
|
|
||||||
|
|
||||||
private void OnDragDrop(object sender, DragEventArgs e)
|
|
||||||
{
|
|
||||||
string[] files = (string[])e.Data.GetData(DataFormats.FileDrop);
|
|
||||||
List<string> filesList = new List<string>();
|
|
||||||
filesList.AddRange(files);
|
|
||||||
foreach (string file in filesList)
|
|
||||||
{
|
|
||||||
string extension = Path.GetExtension(file).ToLower();
|
|
||||||
|
|
||||||
switch (extension)
|
|
||||||
{
|
|
||||||
case ".xml":
|
|
||||||
if (!CConverter.ConvertXmlToNsh(file))
|
|
||||||
MessageBox.Show("Can't convert " + Path.GetFileName(file) + " to nsh.");
|
|
||||||
break;
|
|
||||||
|
|
||||||
case ".nsh":
|
|
||||||
if(!CConverter.ConvertNshToXml(file))
|
|
||||||
MessageBox.Show("Can't convert " + Path.GetFileName(file) + " to xml.");
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void OnDragEnter(object sender, DragEventArgs e)
|
|
||||||
{
|
|
||||||
if (e.Data.GetDataPresent(DataFormats.FileDrop, false) == true)
|
|
||||||
{
|
|
||||||
e.Effect = DragDropEffects.All;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,120 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<root>
|
|
||||||
<!--
|
|
||||||
Microsoft ResX Schema
|
|
||||||
|
|
||||||
Version 2.0
|
|
||||||
|
|
||||||
The primary goals of this format is to allow a simple XML format
|
|
||||||
that is mostly human readable. The generation and parsing of the
|
|
||||||
various data types are done through the TypeConverter classes
|
|
||||||
associated with the data types.
|
|
||||||
|
|
||||||
Example:
|
|
||||||
|
|
||||||
... ado.net/XML headers & schema ...
|
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
|
||||||
<resheader name="version">2.0</resheader>
|
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
|
||||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
|
||||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
|
||||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
|
||||||
</data>
|
|
||||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
|
||||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
|
||||||
<comment>This is a comment</comment>
|
|
||||||
</data>
|
|
||||||
|
|
||||||
There are any number of "resheader" rows that contain simple
|
|
||||||
name/value pairs.
|
|
||||||
|
|
||||||
Each data row contains a name, and value. The row also contains a
|
|
||||||
type or mimetype. Type corresponds to a .NET class that support
|
|
||||||
text/value conversion through the TypeConverter architecture.
|
|
||||||
Classes that don't support this are serialized and stored with the
|
|
||||||
mimetype set.
|
|
||||||
|
|
||||||
The mimetype is used for serialized objects, and tells the
|
|
||||||
ResXResourceReader how to depersist the object. This is currently not
|
|
||||||
extensible. For a given mimetype the value must be set accordingly:
|
|
||||||
|
|
||||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
|
||||||
that the ResXResourceWriter will generate, however the reader can
|
|
||||||
read any of the formats listed below.
|
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.binary.base64
|
|
||||||
value : The object must be serialized with
|
|
||||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
|
||||||
: and then encoded with base64 encoding.
|
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.soap.base64
|
|
||||||
value : The object must be serialized with
|
|
||||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
|
||||||
: and then encoded with base64 encoding.
|
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
|
||||||
value : The object must be serialized into a byte array
|
|
||||||
: using a System.ComponentModel.TypeConverter
|
|
||||||
: and then encoded with base64 encoding.
|
|
||||||
-->
|
|
||||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
|
||||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
|
||||||
<xsd:element name="root" msdata:IsDataSet="true">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:choice maxOccurs="unbounded">
|
|
||||||
<xsd:element name="metadata">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
|
||||||
<xsd:attribute name="type" type="xsd:string" />
|
|
||||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
|
||||||
<xsd:attribute ref="xml:space" />
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
<xsd:element name="assembly">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:attribute name="alias" type="xsd:string" />
|
|
||||||
<xsd:attribute name="name" type="xsd:string" />
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
<xsd:element name="data">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
|
||||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
|
||||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
|
||||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
|
||||||
<xsd:attribute ref="xml:space" />
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
<xsd:element name="resheader">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
</xsd:choice>
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
</xsd:schema>
|
|
||||||
<resheader name="resmimetype">
|
|
||||||
<value>text/microsoft-resx</value>
|
|
||||||
</resheader>
|
|
||||||
<resheader name="version">
|
|
||||||
<value>2.0</value>
|
|
||||||
</resheader>
|
|
||||||
<resheader name="reader">
|
|
||||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
|
||||||
</resheader>
|
|
||||||
<resheader name="writer">
|
|
||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
|
||||||
</resheader>
|
|
||||||
</root>
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using System.Windows.Forms;
|
|
||||||
|
|
||||||
namespace nshToXmlConverter
|
|
||||||
{
|
|
||||||
static class Program
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// Der Haupteinstiegspunkt für die Anwendung.
|
|
||||||
/// </summary>
|
|
||||||
[STAThread]
|
|
||||||
static void Main()
|
|
||||||
{
|
|
||||||
Application.EnableVisualStyles();
|
|
||||||
Application.SetCompatibleTextRenderingDefault(false);
|
|
||||||
Application.Run(new MainForm());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,36 +0,0 @@
|
|||||||
using System.Reflection;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Runtime.InteropServices;
|
|
||||||
|
|
||||||
// Allgemeine Informationen über eine Assembly werden über die folgenden
|
|
||||||
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
|
|
||||||
// die mit einer Assembly verknüpft sind.
|
|
||||||
[assembly: AssemblyTitle("nshToXmlConverter")]
|
|
||||||
[assembly: AssemblyDescription("")]
|
|
||||||
[assembly: AssemblyConfiguration("")]
|
|
||||||
[assembly: AssemblyCompany("")]
|
|
||||||
[assembly: AssemblyProduct("nshToXmlConverter")]
|
|
||||||
[assembly: AssemblyCopyright("Copyright © 2013")]
|
|
||||||
[assembly: AssemblyTrademark("")]
|
|
||||||
[assembly: AssemblyCulture("")]
|
|
||||||
|
|
||||||
// Durch Festlegen von ComVisible auf "false" werden die Typen in dieser Assembly unsichtbar
|
|
||||||
// für COM-Komponenten. Wenn Sie auf einen Typ in dieser Assembly von
|
|
||||||
// COM zugreifen müssen, legen Sie das ComVisible-Attribut für diesen Typ auf "true" fest.
|
|
||||||
[assembly: ComVisible(false)]
|
|
||||||
|
|
||||||
// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
|
|
||||||
[assembly: Guid("08c6113d-e128-40f0-88ea-442e2502f7c9")]
|
|
||||||
|
|
||||||
// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
|
|
||||||
//
|
|
||||||
// Hauptversion
|
|
||||||
// Nebenversion
|
|
||||||
// Buildnummer
|
|
||||||
// Revision
|
|
||||||
//
|
|
||||||
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
|
|
||||||
// übernehmen, indem Sie "*" eingeben:
|
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
|
||||||
[assembly: AssemblyVersion("1.0.0.0")]
|
|
||||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
|
||||||
-71
@@ -1,71 +0,0 @@
|
|||||||
//------------------------------------------------------------------------------
|
|
||||||
// <auto-generated>
|
|
||||||
// Dieser Code wurde von einem Tool generiert.
|
|
||||||
// Laufzeitversion:4.0.30319.18010
|
|
||||||
//
|
|
||||||
// Änderungen an dieser Datei können fehlerhaftes Verhalten verursachen und gehen verloren, wenn
|
|
||||||
// der Code neu generiert wird.
|
|
||||||
// </auto-generated>
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
namespace nshToXmlConverter.Properties
|
|
||||||
{
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
|
|
||||||
/// </summary>
|
|
||||||
// Diese Klasse wurde von der StronglyTypedResourceBuilder-Klasse
|
|
||||||
// über ein Tool wie ResGen oder Visual Studio automatisch generiert.
|
|
||||||
// Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
|
|
||||||
// mit der Option /str erneut aus, oder erstellen Sie Ihr VS-Projekt neu.
|
|
||||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
||||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
|
||||||
internal class Resources
|
|
||||||
{
|
|
||||||
|
|
||||||
private static global::System.Resources.ResourceManager resourceMan;
|
|
||||||
|
|
||||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
|
||||||
|
|
||||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
|
||||||
internal Resources()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
|
|
||||||
/// </summary>
|
|
||||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
||||||
internal static global::System.Resources.ResourceManager ResourceManager
|
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
if ((resourceMan == null))
|
|
||||||
{
|
|
||||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("nshToXmlConverter.Properties.Resources", typeof(Resources).Assembly);
|
|
||||||
resourceMan = temp;
|
|
||||||
}
|
|
||||||
return resourceMan;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
|
|
||||||
/// Ressourcenlookups, die diese stark typisierte Ressourcenklasse verwenden.
|
|
||||||
/// </summary>
|
|
||||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
||||||
internal static global::System.Globalization.CultureInfo Culture
|
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
return resourceCulture;
|
|
||||||
}
|
|
||||||
set
|
|
||||||
{
|
|
||||||
resourceCulture = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,117 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<root>
|
|
||||||
<!--
|
|
||||||
Microsoft ResX Schema
|
|
||||||
|
|
||||||
Version 2.0
|
|
||||||
|
|
||||||
The primary goals of this format is to allow a simple XML format
|
|
||||||
that is mostly human readable. The generation and parsing of the
|
|
||||||
various data types are done through the TypeConverter classes
|
|
||||||
associated with the data types.
|
|
||||||
|
|
||||||
Example:
|
|
||||||
|
|
||||||
... ado.net/XML headers & schema ...
|
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
|
||||||
<resheader name="version">2.0</resheader>
|
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
|
||||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
|
||||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
|
||||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
|
||||||
</data>
|
|
||||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
|
||||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
|
||||||
<comment>This is a comment</comment>
|
|
||||||
</data>
|
|
||||||
|
|
||||||
There are any number of "resheader" rows that contain simple
|
|
||||||
name/value pairs.
|
|
||||||
|
|
||||||
Each data row contains a name, and value. The row also contains a
|
|
||||||
type or mimetype. Type corresponds to a .NET class that support
|
|
||||||
text/value conversion through the TypeConverter architecture.
|
|
||||||
Classes that don't support this are serialized and stored with the
|
|
||||||
mimetype set.
|
|
||||||
|
|
||||||
The mimetype is used for serialized objects, and tells the
|
|
||||||
ResXResourceReader how to depersist the object. This is currently not
|
|
||||||
extensible. For a given mimetype the value must be set accordingly:
|
|
||||||
|
|
||||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
|
||||||
that the ResXResourceWriter will generate, however the reader can
|
|
||||||
read any of the formats listed below.
|
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.binary.base64
|
|
||||||
value : The object must be serialized with
|
|
||||||
: System.Serialization.Formatters.Binary.BinaryFormatter
|
|
||||||
: and then encoded with base64 encoding.
|
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.soap.base64
|
|
||||||
value : The object must be serialized with
|
|
||||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
|
||||||
: and then encoded with base64 encoding.
|
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
|
||||||
value : The object must be serialized into a byte array
|
|
||||||
: using a System.ComponentModel.TypeConverter
|
|
||||||
: and then encoded with base64 encoding.
|
|
||||||
-->
|
|
||||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
|
||||||
<xsd:element name="root" msdata:IsDataSet="true">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:choice maxOccurs="unbounded">
|
|
||||||
<xsd:element name="metadata">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="name" type="xsd:string" />
|
|
||||||
<xsd:attribute name="type" type="xsd:string" />
|
|
||||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
<xsd:element name="assembly">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:attribute name="alias" type="xsd:string" />
|
|
||||||
<xsd:attribute name="name" type="xsd:string" />
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
<xsd:element name="data">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
|
||||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
|
|
||||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
|
||||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
<xsd:element name="resheader">
|
|
||||||
<xsd:complexType>
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
</xsd:choice>
|
|
||||||
</xsd:complexType>
|
|
||||||
</xsd:element>
|
|
||||||
</xsd:schema>
|
|
||||||
<resheader name="resmimetype">
|
|
||||||
<value>text/microsoft-resx</value>
|
|
||||||
</resheader>
|
|
||||||
<resheader name="version">
|
|
||||||
<value>2.0</value>
|
|
||||||
</resheader>
|
|
||||||
<resheader name="reader">
|
|
||||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
|
||||||
</resheader>
|
|
||||||
<resheader name="writer">
|
|
||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
|
||||||
</resheader>
|
|
||||||
</root>
|
|
||||||
-30
@@ -1,30 +0,0 @@
|
|||||||
//------------------------------------------------------------------------------
|
|
||||||
// <auto-generated>
|
|
||||||
// This code was generated by a tool.
|
|
||||||
// Runtime Version:4.0.30319.18010
|
|
||||||
//
|
|
||||||
// Changes to this file may cause incorrect behavior and will be lost if
|
|
||||||
// the code is regenerated.
|
|
||||||
// </auto-generated>
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
namespace nshToXmlConverter.Properties
|
|
||||||
{
|
|
||||||
|
|
||||||
|
|
||||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
|
||||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
|
|
||||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
|
|
||||||
{
|
|
||||||
|
|
||||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
|
||||||
|
|
||||||
public static Settings Default
|
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
return defaultInstance;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
<?xml version='1.0' encoding='utf-8'?>
|
|
||||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
|
|
||||||
<Profiles>
|
|
||||||
<Profile Name="(Default)" />
|
|
||||||
</Profiles>
|
|
||||||
<Settings />
|
|
||||||
</SettingsFile>
|
|
||||||
@@ -1,92 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
|
||||||
<PropertyGroup>
|
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
||||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
||||||
<ProjectGuid>{678485CE-56FD-42A2-AEE0-B5502B5BEEEE}</ProjectGuid>
|
|
||||||
<OutputType>WinExe</OutputType>
|
|
||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
||||||
<RootNamespace>nshToXmlConverter</RootNamespace>
|
|
||||||
<AssemblyName>nshToXmlConverter</AssemblyName>
|
|
||||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
|
||||||
<FileAlignment>512</FileAlignment>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
||||||
<DebugSymbols>true</DebugSymbols>
|
|
||||||
<DebugType>full</DebugType>
|
|
||||||
<Optimize>false</Optimize>
|
|
||||||
<OutputPath>bin\Debug\</OutputPath>
|
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
||||||
<ErrorReport>prompt</ErrorReport>
|
|
||||||
<WarningLevel>4</WarningLevel>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
||||||
<DebugType>pdbonly</DebugType>
|
|
||||||
<Optimize>true</Optimize>
|
|
||||||
<OutputPath>bin\Release\</OutputPath>
|
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
|
||||||
<ErrorReport>prompt</ErrorReport>
|
|
||||||
<WarningLevel>4</WarningLevel>
|
|
||||||
</PropertyGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Reference Include="System" />
|
|
||||||
<Reference Include="System.Core" />
|
|
||||||
<Reference Include="System.Xml.Linq" />
|
|
||||||
<Reference Include="System.Data.DataSetExtensions" />
|
|
||||||
<Reference Include="Microsoft.CSharp" />
|
|
||||||
<Reference Include="System.Data" />
|
|
||||||
<Reference Include="System.Deployment" />
|
|
||||||
<Reference Include="System.Drawing" />
|
|
||||||
<Reference Include="System.Windows.Forms" />
|
|
||||||
<Reference Include="System.Xml" />
|
|
||||||
<Reference Include="VocaluxeLib">
|
|
||||||
<HintPath>..\..\..\Output\VocaluxeLib.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Compile Include="CConverter.cs" />
|
|
||||||
<Compile Include="Form1.cs">
|
|
||||||
<SubType>Form</SubType>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="Form1.Designer.cs">
|
|
||||||
<DependentUpon>Form1.cs</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="Program.cs" />
|
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
||||||
<EmbeddedResource Include="Form1.resx">
|
|
||||||
<DependentUpon>Form1.cs</DependentUpon>
|
|
||||||
</EmbeddedResource>
|
|
||||||
<EmbeddedResource Include="Properties\Resources.resx">
|
|
||||||
<Generator>ResXFileCodeGenerator</Generator>
|
|
||||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
</EmbeddedResource>
|
|
||||||
<Compile Include="Properties\Resources.Designer.cs">
|
|
||||||
<AutoGen>True</AutoGen>
|
|
||||||
<DependentUpon>Resources.resx</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<None Include="Properties\Settings.settings">
|
|
||||||
<Generator>SettingsSingleFileGenerator</Generator>
|
|
||||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
|
||||||
</None>
|
|
||||||
<Compile Include="Properties\Settings.Designer.cs">
|
|
||||||
<AutoGen>True</AutoGen>
|
|
||||||
<DependentUpon>Settings.settings</DependentUpon>
|
|
||||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
|
||||||
</Compile>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<None Include="App.config" />
|
|
||||||
</ItemGroup>
|
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
|
||||||
Other similar extension points exist, see Microsoft.Common.targets.
|
|
||||||
<Target Name="BeforeBuild">
|
|
||||||
</Target>
|
|
||||||
<Target Name="AfterBuild">
|
|
||||||
</Target>
|
|
||||||
-->
|
|
||||||
</Project>
|
|
||||||
Reference in new issue
Block a user