\r
\r
CloseHandle(pi.hThread);\r
+\r
+ WaitForSingleObject(pi.hProcess, INFINITE);\r
+ DWORD exitcode =0;\r
+\r
+ if(!GetExitCodeProcess(pi.hProcess,&exitcode))\r
+ {\r
+ return GIT_ERROR_GET_EXIT_CODE;\r
+ }\r
+\r
CloseHandle(pi.hProcess);\r
\r
CloseHandle(hRead);\r
- return GIT_SUCCESS;\r
+ return exitcode;\r
}\r
\r
CString CGit::GetUserName(void)\r
{\r
GIT_SUCCESS=0,\r
GIT_ERROR_OPEN_PIP,\r
- GIT_ERROR_CREATE_PROCESS\r
+ GIT_ERROR_CREATE_PROCESS,\r
+ GIT_ERROR_GET_EXIT_CODE\r
};\r
class CGit\r
{\r
EndProject\r
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TSVNCache", "TGitCache\TSVNCache.vcproj", "{A00D2EDC-B4F5-4B41-94BA-13961DE5D296}"\r
EndProject\r
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TortoiseMerge", "TortoiseMerge\TortoiseMerge.vcproj", "{8ABB4F84-891A-4748-8507-F5494842173E}"\r
-EndProject\r
Global\r
GlobalSection(SolutionConfigurationPlatforms) = preSolution\r
debug_static|Mixed Platforms = debug_static|Mixed Platforms\r
{A00D2EDC-B4F5-4B41-94BA-13961DE5D296}.Release|Win32.ActiveCfg = Release|Win32\r
{A00D2EDC-B4F5-4B41-94BA-13961DE5D296}.Release|Win32.Build.0 = Release|Win32\r
{A00D2EDC-B4F5-4B41-94BA-13961DE5D296}.Release|x86.ActiveCfg = Release|Win32\r
- {8ABB4F84-891A-4748-8507-F5494842173E}.debug_static|Mixed Platforms.ActiveCfg = debug_static|Win32\r
- {8ABB4F84-891A-4748-8507-F5494842173E}.debug_static|Mixed Platforms.Build.0 = debug_static|Win32\r
- {8ABB4F84-891A-4748-8507-F5494842173E}.debug_static|Win32.ActiveCfg = debug_static|Win32\r
- {8ABB4F84-891A-4748-8507-F5494842173E}.debug_static|Win32.Build.0 = debug_static|Win32\r
- {8ABB4F84-891A-4748-8507-F5494842173E}.debug_static|x86.ActiveCfg = debug_static|Win32\r
- {8ABB4F84-891A-4748-8507-F5494842173E}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32\r
- {8ABB4F84-891A-4748-8507-F5494842173E}.Debug|Mixed Platforms.Build.0 = Debug|Win32\r
- {8ABB4F84-891A-4748-8507-F5494842173E}.Debug|Win32.ActiveCfg = Debug|Win32\r
- {8ABB4F84-891A-4748-8507-F5494842173E}.Debug|Win32.Build.0 = Debug|Win32\r
- {8ABB4F84-891A-4748-8507-F5494842173E}.Debug|x86.ActiveCfg = Debug|Win32\r
- {8ABB4F84-891A-4748-8507-F5494842173E}.release_static|Mixed Platforms.ActiveCfg = release_static|Win32\r
- {8ABB4F84-891A-4748-8507-F5494842173E}.release_static|Mixed Platforms.Build.0 = release_static|Win32\r
- {8ABB4F84-891A-4748-8507-F5494842173E}.release_static|Win32.ActiveCfg = release_static|Win32\r
- {8ABB4F84-891A-4748-8507-F5494842173E}.release_static|Win32.Build.0 = release_static|Win32\r
- {8ABB4F84-891A-4748-8507-F5494842173E}.release_static|x86.ActiveCfg = release_static|Win32\r
- {8ABB4F84-891A-4748-8507-F5494842173E}.Release|Mixed Platforms.ActiveCfg = Release|Win32\r
- {8ABB4F84-891A-4748-8507-F5494842173E}.Release|Mixed Platforms.Build.0 = Release|Win32\r
- {8ABB4F84-891A-4748-8507-F5494842173E}.Release|Win32.ActiveCfg = Release|Win32\r
- {8ABB4F84-891A-4748-8507-F5494842173E}.Release|Win32.Build.0 = Release|Win32\r
- {8ABB4F84-891A-4748-8507-F5494842173E}.Release|x86.ActiveCfg = Release|Win32\r
EndGlobalSection\r
GlobalSection(SolutionProperties) = preSolution\r
HideSolutionNode = FALSE\r
<Feature Id="DefaultFeature" Level="1" ConfigurableDirectory="INSTALLDIR" Title="TortoiseGit" Absent="disallow"\r
TypicalDefault="install" Description="The TortoiseGit package and dependencies." Display="expand" InstallDefault="local" >\r
<ComponentRef Id="C__infofiles" />\r
-<!-- <ComponentRef Id="C__apr" />\r
- <ComponentRef Id="C__sasl" />\r
- <ComponentRef Id="C__gettext" />\r
--->\r
+ <ComponentRef Id="C__apr" />\r
+<!-- <ComponentRef Id="C__sasl" />\r
+--> <ComponentRef Id="C__gettext" />\r
+\r
<ComponentRef Id="C__help_en" />\r
<ComponentRef Id="C__TortoiseSVN" />\r
<ComponentRef Id="C__TortoiseSVNShortcuts" />\r
-<!-- <ComponentRef Id="C__TortoiseMerge" />\r
+ <ComponentRef Id="C__TortoiseMerge" />\r
<ComponentRef Id="C__TortoiseMergeShortcuts" />\r
- <ComponentRef Id="C__TortoiseBlame" />\r
+<!-- \r
+ <ComponentRef Id="C__TortoiseBlame" />\r
<ComponentRef Id="C__TortoiseIDiff" />\r
<ComponentRef Id="C__TortoiseIDiffShortcuts" />\r
-->\r
<Environment Id="E__ASPDOTNETHACK" Action="create" Name="SVN_ASP_DOT_NET_HACK" Value="1" Permanent="yes" System="yes" />\r
</Component>\r
<Directory Id="D__Bin" ShortName="BIN" Name="bin" >\r
-<!-- \r
- <Component Id="C__apr" Guid="$(var.GuidAPR)" Win64="$(var.Win64YesNo)">\r
- <File Id="F__libapr" ShortName="LIBAPR.DLL" Name="libapr_tsvn.dll" DiskId="1" Source="..\..\ext\apr\release_$(var.PlatformPathExtension)\libapr_tsvn.dll" KeyPath="yes" />\r
- <File Id="F__libaprutil" ShortName="LIBAPRUT.DLL" Name="libaprutil_tsvn.dll" DiskId="1" Source="..\..\ext\apr-util\release_$(var.PlatformPathExtension)\libaprutil_tsvn.dll" />\r
- </Component>\r
---> \r
+ \r
+ <Component Id="C__apr" Guid="$(var.GuidAPR)" Win64="$(var.Win64YesNo)">\r
+ <File Id="F__libapr" ShortName="LIBAPR.DLL" Name="libapr_tsvn.dll" DiskId="1" Source="..\..\ext\svnbin\libapr_tsvn.dll" KeyPath="yes" />\r
+ <File Id="F__libaprutil" ShortName="LIBAPRUT.DLL" Name="libaprutil_tsvn.dll" DiskId="1" Source="..\..\ext\svnbin\libaprutil_tsvn.dll" />\r
+ </Component>\r
+\r
<!-- <Component Id="C__sasl" Guid="$(var.GuidSASL)" Win64="$(var.Win64YesNo)">\r
<File Id="F__libsasl" ShortName="LIBSASL.DLL" Name="libsasl.dll" DiskId="1" Source="..\..\ext\cyrus-SASL\release_$(var.PlatformPathExtension)\libsasl.dll" KeyPath="yes" />\r
<File Id="F__saslANONYMOUS" ShortName="saslANON.DLL" Name="saslANONYMOUS.dll" DiskId="1" Source="..\..\ext\cyrus-SASL\release_$(var.PlatformPathExtension)\saslANONYMOUS.dll" />\r
<File Id="F__saslPLAIN" ShortName="saslPLAI.DLL" Name="saslPLAIN.dll" DiskId="1" Source="..\..\ext\cyrus-SASL\release_$(var.PlatformPathExtension)\saslPLAIN.dll" />\r
</Component>\r
--> \r
-<!-- <Component Id="C__gettext" Guid="$(var.GuidGettext)" Win64="$(var.Win64YesNo)">\r
- <File Id="F__intl" ShortName="INTL3_TS.DLL" Name="intl3_tsvn.dll" DiskId="1" Source="..\..\ext\libintl\libintl3-$(var.PlatformPathExtension)\bin\intl3_tsvn.dll" KeyPath="yes" />\r
+ <Component Id="C__gettext" Guid="$(var.GuidGettext)" Win64="$(var.Win64YesNo)">\r
+ <File Id="F__intl" ShortName="INTL3_TS.DLL" Name="intl3_tsvn.dll" DiskId="1" Source="..\..\ext\svnbin\intl3_tsvn.dll" KeyPath="yes" />\r
</Component>\r
--->\r
+ \r
<?if $(var.IncludeCrashReportDll) = 1 ?>\r
<Component Id="C__crash" Guid="$(var.GuidCrashRpt)" Win64="$(var.Win64YesNo)">\r
<File Id="F__crashrpt" ShortName="CRASHRPT.DLL" Name="CrashRpt.dll" DiskId="1" Source="..\..\bin\$(var.ReleasePath)\bin\CrashRpt.dll" KeyPath="yes" />\r
<Shortcut Id="S__RTFM" Directory="D_TortoisePrgMenu" ShortName="TSVN" Name="TortoiseGit" Advertise="no"\r
Target="[INSTALLDIR]bin\TortoiseProc.exe" Description="TortoiseGit" Arguments="/command:rtfm" Show="normal" />\r
-->\r
- <Shortcut Id="S__TortoiseProc" Directory="D_TortoisePrgMenu" Name="Help" Advertise="no"\r
+ <Shortcut Id="S__TortoiseProc" Directory="D_TortoisePrgMenu" Name="Help" Advertise="no"\r
Target="[INSTALLDIR]bin\TortoiseProc.exe" Description="Documentation about TortoiseGit" Arguments="/command:help" Show="normal" />\r
</Component>\r
-<!--\r
+\r
<Component Id="C__TortoiseMerge" Guid="$(var.GuidTortoiseMerge)" Win64="$(var.Win64YesNo)">\r
- <File Id="F__TortoiseMerge" ShortName="TMERGE.EXE" Name="TortoiseMerge.exe" DiskId="1" Source="..\..\bin\$(var.ReleasePath)\bin\TortoiseMerge.exe" KeyPath="yes" />\r
+ <File Id="F__TortoiseMerge" ShortName="TMERGE.EXE" Name="TortoiseMerge.exe" DiskId="1" Source="..\..\ext\svnbin\TortoiseMerge.exe" KeyPath="yes" />\r
</Component>\r
\r
<Component Id="C__TortoiseMergeShortcuts" Guid="$(var.GuidTortoiseMergeShortcuts)" Win64="$(var.Win64YesNo)">\r
<Shortcut Id="S__TortoiseMerge" Directory="D_TortoisePrgMenu" ShortName="TMERGE" Name="TortoiseMerge" Advertise="no"\r
Target="[INSTALLDIR]bin\TortoiseMerge.exe" Description="View Diff's, Merge Diff's, Resolve Conflicted Files and Apply Patches" Show="normal" />\r
</Component>\r
--->\r
+\r
<Component Id="C__Sounds" Guid="$(var.GuidSounds)" Win64="$(var.Win64YesNo)">\r
<File Id="F__sounderror" ShortName="TERROR.WAV" Name="TortoiseSVN_error.wav" DiskId="1" Source="..\Resources\TortoiseSVN_error.wav" KeyPath="yes" />\r
<File Id="F__soundwarning" ShortName="TWARN.WAV" Name="TortoiseSVN_Warning.wav" DiskId="1" Source="..\Resources\TortoiseSVN_Warning.wav" />\r
<Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />\r
</Dialog>\r
\r
+ <Dialog Id="MSysGitLocation" Width="370" Height="270" Title="[ProductName] [Setup]" NoMinimize="yes">\r
+ <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Text="[ButtonText_Back]">\r
+ <Publish Event="NewDialog" Value="LicenseAgreementDlg">1</Publish>\r
+ </Control>\r
+ <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="[ButtonText_Next]">\r
+ <Publish Event="SetTargetPath" Value="TARGETDIR">1</Publish>\r
+ <Publish Event="NewDialog" Value="VerifyReadyDlg">1</Publish>\r
+ </Control>\r
+ <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="[ButtonText_Cancel]">\r
+ <Publish Event="SpawnDialog" Value="CancelPopup">1</Publish>\r
+ </Control>\r
+\r
+ <Control Id="Text" Type="Text" X="25" Y="80" Width="320" Height="10" TabSkip="no">\r
+ <Text>&Input MsysGit install path or click browse.</Text>\r
+ </Control>\r
+ <Control Id="PathEdit" Type="PathEdit" X="25" Y="93" Width="320" Height="18" Property="MSYSGITDIR" />\r
+ <Control Id="Browse" Type="PushButton" X="289" Y="119" Width="56" Height="17" Text="[ButtonText_Browse]">\r
+ <Publish Event="SpawnDialog" Value="AdminBrowseDlg">1</Publish>\r
+ </Control>\r
+\r
+ <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="[BannerBitmap]" />\r
+ <Control Id="Title" Type="Text" X="155" Y="6" Width="200" Height="15" Transparent="yes" NoPrefix="yes" RightAligned="yes">\r
+ <Text>[DlgTitleFont]Network Location</Text>\r
+ </Control>\r
+ <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />\r
+ <Control Id="DialogDescription" Type="Text" X="75" Y="23" Width="280" Height="15" Transparent="yes" NoPrefix="yes" RightAligned="yes">\r
+ <Text>Please specify a network location for the server image of [ProductName] product</Text>\r
+ </Control>\r
+ <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />\r
+ </Dialog>\r
+\r
<Dialog Id="AdminWelcomeDlg" Width="370" Height="270" Title="[ProductName] [Setup]" NoMinimize="yes">\r
<Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Disabled="yes" Text="[ButtonText_Back]" />\r
<Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="[ButtonText_Next]">\r
</Control>\r
<Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="[ButtonText_Next]">\r
<Publish Event="SpawnWaitDialog" Value="WaitForCostingPopup">CostingComplete = 1</Publish>\r
- <Publish Event="NewDialog" Value="CustomizeDlg">"Yes"</Publish>\r
+ <Publish Event="NewDialog" Value="MSysGitLocation">"Yes"</Publish>\r
<Publish Property="InstallMode" Value="Custom">1</Publish>\r
<Condition Action="disable"><![CDATA[IAgree <> "Yes"]]></Condition>\r
<Condition Action="enable">IAgree = "Yes"</Condition>\r
<Include Id="VersionNumberInclude">\r
<?define MajorVersion="0" ?>\r
<?define MinorVersion="1" ?>\r
- <?define MicroVersion="0" ?>\r
+ <?define MicroVersion="1" ?>\r
<?define BuildVersion="0" ?>\r
</Include>\r
<DebugSettings\r
Command="$(TargetPath)"\r
WorkingDirectory="D:\Profiles\b20596\tortoisegit"\r
- CommandArguments="/command:repocreate /path:"D:\test2""\r
+ CommandArguments="/command:commit /path:"D:\test2""\r
Attach="false"\r
DebuggerType="3"\r
Remote="1"\r