hbons / SparkleShare

Share and collaborate by syncing with any Git repository instantly. Linux, macOS, and Windows.
https://sparkleshare.org
Other
4.88k stars 576 forks source link

Installed current version of compiled Master zip for Windows does not run #1353

Closed jasotmp closed 11 years ago

jasotmp commented 11 years ago

Successfully compiled MSI installer today from latest Master Zip Windows source. Installed without any UI error, but sparkleshare.exe terminates immediately after running without error/logs (at least not in %AppShare%\sparkleshare).

Any suggestions or a way to debug or find salvation? Also, if you want me to run it from an 'IDE' I'll need to have it explained in little steps.

PS. Inspired by https://github.com/hbons/SparkleShare/issues/868 (and that I'd already had enough pr0n) I have tried installing and uninstalling the following versions of Git (and copying them to the bin\msysgit\Git and recompiling the MSI)

Git-1.8.3-preview20130601.exe Git-1.8.1.2-preview20130201.exe Git-1.7.11-preview20120710.exe

COMPILATION OUTPUT Microsoft Windows Version 6.2.9200 2012 Microsoft Corporation. All rights reserved.

D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Windows>build installer 1 file(s) copied. Microsoft (R) Build Engine version 4.0.30319.17929 [Microsoft .NET Framework, version 4.0.30319.18051] Copyright (C) Microsoft Corporation. All rights reserved.

Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. Build started 30/07/2013 4:10:39 PM. Project "D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Windows\SparkleShare.sln" on node 1 (Rebuild target(s)). ValidateSolutionConfiguration: Building solution configuration "Release|Any CPU". Project "D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Windows\SparkleShare.sln" (1) is building "D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Windows\SparkleShare.cspr oj.metaproj" (2) on node 1 (Rebuild target(s)). Project "D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Windows\SparkleShare.csproj.metaproj" (2) is building "D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Windows\Spark leShareInviteOpener\SparkleShareInviteOpener.csproj" (3) on node 1 (Rebuild target(s)). C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(983,5): warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v 4.0" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework f or which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Windows\Spa rkleShareInviteOpener\SparkleShareInviteOpener.csproj] C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the p rocessor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processo r architecture of your project. [D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Windows\SparkleShareInviteOpener\SparkleShareInviteOpener.csproj] GenerateTargetFrameworkMonikerAttribute: Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files. CoreCompile: Skipping target "CoreCompile" because all output files are up-to-date with respect to the input files. _CopyAppConfigFile: Skipping target "_CopyAppConfigFile" because all output files are up-to-date with respect to the input files. CopyFilesToOutputDirectory: SparkleShareInviteOpener -> D:\Tek\Dev\Sparkleshare\Src\bin\SparkleShareInviteOpener.exe Done Building Project "D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Windows\SparkleShareInviteOpener\SparkleShareInviteOpener.csproj" (Rebuild target(s)).

Project "D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Windows\SparkleShare.csproj.metaproj" (2) is building "D:\Tek\Dev\Sparkleshare\Src\SparkleLib\Git\SparkleLib. Git.csproj" (4) on node 1 (Rebuild target(s)). C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(983,5): warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v 4.0" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework f or which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [D:\Tek\Dev\Sparkleshare\Src\SparkleLib\Git\SparkleLi b.Git.csproj] Project "D:\Tek\Dev\Sparkleshare\Src\SparkleLib\Git\SparkleLib.Git.csproj" (4) is building "D:\Tek\Dev\Sparkleshare\Src\SparkleLib\SparkleLib.csproj" (5:2) on node 1 (default targets). C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(983,5): warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v 4.0" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework f or which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [D:\Tek\Dev\Sparkleshare\Src\SparkleLib\SparkleLib.cs proj] C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the p rocessor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processo r architecture of your project. [D:\Tek\Dev\Sparkleshare\Src\SparkleLib\SparkleLib.csproj] GenerateTargetFrameworkMonikerAttribute: Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files. CoreCompile: Skipping target "CoreCompile" because all output files are up-to-date with respect to the input files. CopyFilesToOutputDirectory: SparkleLib -> D:\Tek\Dev\Sparkleshare\Src\bin\SparkleLib.dll Done Building Project "D:\Tek\Dev\Sparkleshare\Src\SparkleLib\SparkleLib.csproj" (default targets).

C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the p rocessor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processo r architecture of your project. [D:\Tek\Dev\Sparkleshare\Src\SparkleLib\Git\SparkleLib.Git.csproj] GenerateTargetFrameworkMonikerAttribute: Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files. CoreCompile: Skipping target "CoreCompile" because all output files are up-to-date with respect to the input files. CopyFilesToOutputDirectory: SparkleLib.Git -> D:\Tek\Dev\Sparkleshare\Src\bin\SparkleLib.Git.dll Done Building Project "D:\Tek\Dev\Sparkleshare\Src\SparkleLib\Git\SparkleLib.Git.csproj" (Rebuild target(s)).

Project "D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Windows\SparkleShare.csproj.metaproj" (2) is building "D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Windows\Spark leShare.csproj" (6) on node 1 (Rebuild target(s)). C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(983,5): warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v 4.0" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework f or which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Windows\Spa rkleShare.csproj] GenerateTargetFrameworkMonikerAttribute: Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files. CoreCompile: Skipping target "CoreCompile" because all output files are up-to-date with respect to the input files. _CopyOutOfDateSourceItemsToOutputDirectoryAlways: Copying file from "D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Common\Plugins\github.png" to "....\bin\Plugins\github.png". Copying file from "D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Common\Plugins\gitorious.png" to "....\bin\Plugins\gitorious.png". Copying file from "D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Common\Plugins\own-server.png" to "....\bin\Plugins\own-server.png". Copying file from "D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Common\Plugins\bitbucket.png" to "....\bin\Plugins\bitbucket.png". Copying file from "D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Common\Plugins\ssnet.png" to "....\bin\Plugins\ssnet.png". Copying file from "D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Common\Plugins\planio.png" to "....\bin\Plugins\planio.png". Copying file from "D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Common\Plugins\ssnet.xml" to "....\bin\Plugins\ssnet.xml". Copying file from "D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Common\Plugins\bitbucket.xml" to "....\bin\Plugins\bitbucket.xml". Copying file from "D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Common\Plugins\github.xml" to "....\bin\Plugins\github.xml". Copying file from "D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Common\Plugins\gitorious.xml" to "....\bin\Plugins\gitorious.xml". Copying file from "D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Common\Plugins\own-server.xml" to "....\bin\Plugins\own-server.xml". Copying file from "D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Common\Plugins\planio.xml" to "....\bin\Plugins\planio.xml". CopyFilesToOutputDirectory: SparkleShare -> D:\Tek\Dev\Sparkleshare\Src\bin\SparkleShare.exe Done Building Project "D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Windows\SparkleShare.csproj" (Rebuild target(s)).

Done Building Project "D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Windows\SparkleShare.csproj.metaproj" (Rebuild target(s)).

Done Building Project "D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Windows\SparkleShare.sln" (Rebuild target(s)).

Build succeeded.

"D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Windows\SparkleShare.sln" (Rebuild target) (1) -> "D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Windows\SparkleShare.csproj.metaproj" (Rebuild target) (2) -> "D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Windows\SparkleShareInviteOpener\SparkleShareInviteOpener.csproj" (Rebuild target) (3) -> (GetReferenceAssemblyPaths target) -> C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(983,5): warning MSB3644: The reference assemblies for framework ".NETFramework,Version =v4.0" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place o f reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Windows\S parkleShareInviteOpener\SparkleShareInviteOpener.csproj]

"D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Windows\SparkleShare.sln" (Rebuild target) (1) -> "D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Windows\SparkleShare.csproj.metaproj" (Rebuild target) (2) -> "D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Windows\SparkleShareInviteOpener\SparkleShareInviteOpener.csproj" (Rebuild target) (3) -> (ResolveAssemblyReferences target) -> C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of t he project being built "MSIL" and the processor architecture of the reference "C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll", "x86". This mismatc h may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted proces sor architecture of your project. [D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Windows\SparkleShareInviteOpener\SparkleShareInviteOpener.csproj]

"D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Windows\SparkleShare.sln" (Rebuild target) (1) -> "D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Windows\SparkleShare.csproj.metaproj" (Rebuild target) (2) -> "D:\Tek\Dev\Sparkleshare\Src\SparkleLib\Git\SparkleLib.Git.csproj" (Rebuild target) (4) -> (GetReferenceAssemblyPaths target) -> C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(983,5): warning MSB3644: The reference assemblies for framework ".NETFramework,Version =v4.0" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place o f reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [D:\Tek\Dev\Sparkleshare\Src\SparkleLib\Git\Sparkle Lib.Git.csproj]

"D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Windows\SparkleShare.sln" (Rebuild target) (1) -> "D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Windows\SparkleShare.csproj.metaproj" (Rebuild target) (2) -> "D:\Tek\Dev\Sparkleshare\Src\SparkleLib\Git\SparkleLib.Git.csproj" (Rebuild target) (4) -> "D:\Tek\Dev\Sparkleshare\Src\SparkleLib\SparkleLib.csproj" (default target) (5:2) -> C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(983,5): warning MSB3644: The reference assemblies for framework ".NETFramework,Version =v4.0" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place o f reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [D:\Tek\Dev\Sparkleshare\Src\SparkleLib\SparkleLib. csproj]

"D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Windows\SparkleShare.sln" (Rebuild target) (1) -> "D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Windows\SparkleShare.csproj.metaproj" (Rebuild target) (2) -> "D:\Tek\Dev\Sparkleshare\Src\SparkleLib\Git\SparkleLib.Git.csproj" (Rebuild target) (4) -> "D:\Tek\Dev\Sparkleshare\Src\SparkleLib\SparkleLib.csproj" (default target) (5:2) -> (ResolveAssemblyReferences target) -> C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of t he project being built "MSIL" and the processor architecture of the reference "C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll", "x86". This mismatc h may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted proces sor architecture of your project. [D:\Tek\Dev\Sparkleshare\Src\SparkleLib\SparkleLib.csproj]

"D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Windows\SparkleShare.sln" (Rebuild target) (1) -> "D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Windows\SparkleShare.csproj.metaproj" (Rebuild target) (2) -> "D:\Tek\Dev\Sparkleshare\Src\SparkleLib\Git\SparkleLib.Git.csproj" (Rebuild target) (4) -> C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of t he project being built "MSIL" and the processor architecture of the reference "C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll", "x86". This mismatc h may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted proces sor architecture of your project. [D:\Tek\Dev\Sparkleshare\Src\SparkleLib\Git\SparkleLib.Git.csproj]

"D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Windows\SparkleShare.sln" (Rebuild target) (1) -> "D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Windows\SparkleShare.csproj.metaproj" (Rebuild target) (2) -> "D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Windows\SparkleShare.csproj" (Rebuild target) (6) -> (GetReferenceAssemblyPaths target) -> C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(983,5): warning MSB3644: The reference assemblies for framework ".NETFramework,Version =v4.0" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place o f reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Windows\S parkleShare.csproj]

7 Warning(s)
0 Error(s)

Time Elapsed 00:00:02.36 Windows Installer Xml Toolset Harvester version 3.7.1224.0 Copyright (C) Outercurve Foundation. All rights reserved.

Windows Installer Xml Toolset Harvester version 3.7.1224.0 Copyright (C) Outercurve Foundation. All rights reserved.

Windows Installer Xml Compiler version 3.7.1224.0 Copyright (C) Outercurve Foundation. All rights reserved.

SparkleShare.wxs Windows Installer Xml Compiler version 3.7.1224.0 Copyright (C) Outercurve Foundation. All rights reserved.

msysgit.wxs Windows Installer Xml Compiler version 3.7.1224.0 Copyright (C) Outercurve Foundation. All rights reserved.

plugins.wxs Windows Installer Xml Linker version 3.7.1224.0 Copyright (C) Outercurve Foundation. All rights reserved.

D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Windows\msysgit.wxs(341) : warning LGHT1076 : ICE60: The file filA83BB2AF8C374636A793FAB07B3CA653 is not a Font, and it s version is not a companion file reference. It should have a language specified in the Language column. SparkleShare.msi created. D:\Tek\Dev\Sparkleshare\Src\SparkleShare\Windows>

Remember it is the pr0n that is important! Thanks a bunch

hbons commented 11 years ago

"I have tried installing and uninstalling the following versions of Git (and copying them to the bin\msysgit\Git and recompiling the MSI)"

you have to put the contents if Git in bin\msysgit (so without the last "GIt"). does that do the trick?

jasotmp commented 11 years ago

Yep, put them into the folder when I first tried to compile and just got errors.

jasotmp commented 11 years ago

PS. I guess if I don't hear in a day I'll open this as a new issue again? Also HBons, can I organise to get you $$ for working on some stuff as a commercial arrangement?

hbons commented 11 years ago

@jasotmp sure, just send me an email.

jasotmp commented 11 years ago

PS. Any more trick to try on this other than the aforementioned the already done plonking of msysgit?

hbons commented 11 years ago

can you try to start it in an IDE?

jasotmp commented 11 years ago

Re-compile from scratch from another PC (Windows 8 Pro) and all working awesomely after installing and rebooting using: Git-1.7.11-preview20120710 WiX Toolset v3.7.1224.0

:)