dasher-project / dasher

Dasher
http://www.inference.phy.cam.ac.uk/dasher/
GNU General Public License v2.0
158 stars 45 forks source link

As a developer, I want to investigate why Appveyor CI fails due to Help Component reference in Dasher.wxs file so that CI works without causing a problem in Installer project #148

Open cagdasgerede opened 6 years ago

cagdasgerede commented 6 years ago

src/Installer/Dasher.wxs file contains a reference to a component called "Help". Appveyor CI fails due to this reference. Investigate what the root cause of this problem is.

The sections that need to be commented out are:

<Component Id="Help" Guid="cf486329-8d04-462b-afd4-e8e0bccc9c95">
    <File Id="HelpFile" Name="Dasher.chm" DiskId="1" Source="..\..\Data\Help\Win32\dasher.chm"/>
</Component>

and

<ComponentRef Id="Help"/>
cagdasgerede commented 6 years ago

From https://ci.appveyor.com/project/cagdasgerede/dasher/build/1.0.33:

"C:\projects\dasher\Src\Win32\Dasher.sln" (default target) (1) ->
24974"C:\projects\dasher\Src\Win32\..\Installer\Installer.wixproj.metaproj" (default target) (6) ->
24975"C:\projects\dasher\Src\Installer\Installer.wixproj" (default target) (7) ->
24976(Compile target) -> 
24977  candle.exe : warning CNDL1108: The command line switch 'ss' is deprecated. [C:\projects\dasher\Src\Installer\Installer.wixproj]
24978  C:\projects\dasher\Src\Installer\Dasher.wxs(245): warning CNDL1080: The Registry element has been deprecated.  Please use one of the new elements which replaces its functionality: RegistryKey for creating registry keys, RegistryValue for writing registry values, RemoveRegistryKey for removing registry keys, and RemoveRegistryValue for removing registry values. [C:\projects\dasher\Src\Installer\Installer.wixproj]
24979  C:\projects\dasher\Src\Installer\Dasher.wxs(257): warning CNDL1080: The Registry element has been deprecated.  Please use one of the new elements which replaces its functionality: RegistryKey for creating registry keys, RegistryValue for writing registry values, RemoveRegistryKey for removing registry keys, and RemoveRegistryValue for removing registry values. [C:\projects\dasher\Src\Installer\Installer.wixproj]
24980
24981
24982"C:\projects\dasher\Src\Win32\Dasher.sln" (default target) (1) ->
24983"C:\projects\dasher\Src\Win32\..\Installer\Installer.wixproj.metaproj" (default target) (6) ->
24984"C:\projects\dasher\Src\Installer\Installer.wixproj" (default target) (7) ->
24985(Link target) -> 
24986  light.exe : warning LGHT1108: The command line switch 'ss' is deprecated. [C:\projects\dasher\Src\Installer\Installer.wixproj]
24987
24988
24989"C:\projects\dasher\Src\Win32\Dasher.sln" (default target) (1) ->
24990"C:\projects\dasher\Src\Win32\..\Installer\Installer.wixproj.metaproj" (default target) (6) ->
24991"C:\projects\dasher\Src\Installer\Installer.wixproj" (default target) (7) ->
24992(Link target) -> 
24993  C:\projects\dasher\Src\Installer\Dasher.wxs(279): error LGHT0103: The system cannot find the file '..\Win32\Target\Release\Dasher.exe'. [C:\projects\dasher\Src\Installer\Installer.wixproj]
24994  C:\projects\dasher\Src\Installer\Dasher.wxs(20): error LGHT0103: The system cannot find the file '..\Win32\Target\Release\Dasher.exe'. [C:\projects\dasher\Src\Installer\Installer.wixproj]
24995  C:\projects\dasher\Src\Installer\Dasher.wxs(24): error LGHT0103: The system cannot find the file '..\..\Data\Help\Win32\dasher.chm'. [C:\projects\dasher\Src\Installer\Installer.wixproj]
24996
24997    46407 Warning(s)
24998    3 Error(s)
24999
25000Time Elapsed 00:05:22.65
25001Command exited with code 1

The errors:

24993  C:\projects\dasher\Src\Installer\Dasher.wxs(279): error LGHT0103: The system cannot find the file '..\Win32\Target\Release\Dasher.exe'. [C:\projects\dasher\Src\Installer\Installer.wixproj]
24994  C:\projects\dasher\Src\Installer\Dasher.wxs(20): error LGHT0103: The system cannot find the file '..\Win32\Target\Release\Dasher.exe'. [C:\projects\dasher\Src\Installer\Installer.wixproj]
24995  C:\projects\dasher\Src\Installer\Dasher.wxs(24): error LGHT0103: The system cannot find the file '..\..\Data\Help\Win32\dasher.chm'. [C:\projects\dasher\Src\Installer\Installer.wixproj]