Forums

Help test the installer

General discussion about Cobra. Releases and general news will also be posted here.
Feel free to ask questions or just say "Hello".

Re: Help test the installer

Postby Charles » Fri Jun 01, 2012 9:35 am

I would prefer if someone other than me did packaging. My plate is full with compiler work, discussion, wiki, etc. and the more we can spread out the work, the better it will be for the robustness and throughput of the Cobra project.
Charles
 
Posts: 2515
Location: Los Angeles, CA

Re: Help test the installer

Postby Charles » Sat Jun 02, 2012 12:33 pm

ObtuseAngle wrote:And the same error after installing the reference assemblies i.e. selecting the entire NET development part of the SDK installer.

I don't need NET 4.0, so I'm happy to install for a non-NET 4.0 version.

Regards, Obtuse.

I have made a tweak to the installer that should fix this issue.
Charles
 
Posts: 2515
Location: Los Angeles, CA

Re: Help test the installer

Postby ObtuseAngle » Sun Jun 03, 2012 10:01 pm

Charles wrote:I'd still like to fix this and I think I know how. Can you tell me the contents of:

dir "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin"

?


Code: Select all

 Volume in drive C has no label.
 Volume Serial Number is A8EA-008C

 Directory of C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin

04/06/2012  02:57 PM    <DIR>          .
04/06/2012  02:57 PM    <DIR>          ..
13/05/2010  10:26 PM            98,128 AccEvent.exe
13/05/2010  10:54 PM            69,440 al.exe
19/04/2010  08:36 PM               140 al.exe.config
13/05/2010  10:26 PM            38,216 apatch.exe
13/05/2010  10:54 PM           918,360 aspnet_merge.exe
19/04/2010  08:36 PM            58,360 AxImp.exe
19/04/2010  08:36 PM               144 AxImp.exe.config
13/05/2010  10:26 PM            31,048 Bind.Exe
13/05/2010  10:26 PM            17,744 Cert2Spc.exe
13/05/2010  10:26 PM            70,992 CertMgr.Exe
13/05/2010  10:54 PM            62,792 clrver.exe
13/05/2010  10:26 PM            20,816 Consume.exe
13/05/2010  10:54 PM            68,944 CorFlags.exe
19/04/2010  08:36 PM               247 dasmhlp.cnt
19/04/2010  08:36 PM            21,963 DASMHLP.HLP
13/05/2010  10:26 PM         4,260,864 DeviceSimulatorForWindowsSideShow.msi
13/05/2010  10:54 PM            55,112 disco.exe
19/04/2010  08:36 PM               156 disco.exe.config
30/05/2012  01:21 PM    <DIR>          en-us
13/05/2010  10:26 PM            32,584 Event.dll
13/05/2010  10:26 PM           439,136 FileTypeVerifier.exe
19/04/2010  08:36 PM            57,344 ftquery.exe
13/05/2010  10:54 PM           104,272 FUSLOGVW.exe
30/05/2012  01:29 PM    <DIR>          FXCop
13/05/2010  10:54 PM           103,248 gacutil.exe
19/04/2010  08:36 PM               181 gacutil.exe.config
13/05/2010  10:26 PM            28,496 guidgen.exe
13/05/2010  10:54 PM           382,792 ildasm.exe
19/04/2010  08:36 PM               181 ildasm.exe.config
13/05/2010  10:26 PM           168,784 Inspect.exe
13/05/2010  10:26 PM            51,048 Interop.SearchAPIx86.dll
13/05/2010  10:26 PM            55,152 Interop.TaskSchedulerx86.dll
19/04/2010  08:36 PM               596 isvtier5appsigningprivkey.dat
19/04/2010  08:36 PM               148 isvtier5appsigningpubkey.dat
19/04/2010  08:36 PM            21,234 isvtier5appsignsdk.cc
19/04/2010  08:36 PM             4,916 isvtier5appsignsdk.xml
19/04/2010  08:36 PM            56,994 isvtier5appsignsdk_client.xml
13/05/2010  10:26 PM           210,760 isXPS.exe
13/05/2010  10:26 PM           429,904 isXPShlp.dll
13/05/2010  10:26 PM           163,664 IViewers.Dll
19/04/2010  08:36 PM            46,064 lc.exe
19/04/2010  08:36 PM               144 LC.exe.config
19/04/2010  08:36 PM            78,840 mage.exe
19/04/2010  08:36 PM           463,864 mageui.exe
13/05/2010  10:26 PM           120,656 make-shell.exe
13/05/2010  10:26 PM            26,448 MakeCat.Exe
13/05/2010  10:26 PM            55,632 makecert.exe
19/04/2010  08:36 PM           111,608 Mdbg.exe
13/05/2010  10:54 PM           373,584 MdbgCore.dll
13/05/2010  10:54 PM           102,224 MdbgDis.dll
13/05/2010  10:26 PM           167,760 MergeMod.Dll
19/04/2010  08:36 PM            25,608 mgmtclassgen.exe
13/05/2010  10:26 PM           104,312 Microsoft.Win32.Search.Query.dll
13/05/2010  10:26 PM            87,880 Midl.Exe
13/05/2010  10:26 PM           845,128 MidlC.Exe
13/05/2010  10:26 PM            81,224 mpatch.exe
13/05/2010  10:54 PM           502,608 msdis160.dll
19/04/2010  08:36 PM             2,184 msi.adm
13/05/2010  10:26 PM            73,552 MsiCert.exe
13/05/2010  10:26 PM           154,440 MsiDb.Exe
13/05/2010  10:26 PM            72,528 MsiFiler.Exe
13/05/2010  10:26 PM            98,128 MsiInfo.Exe
13/05/2010  10:26 PM            64,336 MsiMerg.Exe
13/05/2010  10:26 PM            66,888 MsiMsp.Exe
30/05/2012  01:21 PM    <DIR>          msitools
13/05/2010  10:26 PM            66,896 MsiTran.Exe
13/05/2010  10:26 PM         1,502,208 MsiVal2.Msi
13/05/2010  10:26 PM           111,944 MsiZap.Exe
13/05/2010  10:26 PM            68,944 mspatchc.dll
13/05/2010  10:26 PM           883,008 mt.exe
19/04/2010  08:36 PM               373 mt.exe.config
30/05/2012  01:29 PM    <DIR>          NETFX 4.0 Tools
13/05/2010  10:26 PM           188,752 OleView.Exe
13/05/2010  10:26 PM         2,301,952 Orca.Msi
13/05/2010  10:26 PM           280,400 patchwiz.dll
13/05/2010  10:54 PM            76,112 PEVerify.exe
19/04/2010  08:36 PM               181 PEVerify.exe.config
13/05/2010  10:26 PM            21,840 pktextract.exe
13/05/2010  10:26 PM           355,664 PTConform.dll
13/05/2010  10:26 PM            24,912 pvk2pfx.exe
13/05/2010  10:26 PM            55,112 ReBase.Exe
13/05/2010  10:54 PM            59,208 ResGen.exe
19/04/2010  08:36 PM               152 ResGen.exe.config
27/04/2010  07:52 PM            25,317 SetEnv.Cmd
13/05/2010  10:26 PM            22,856 SetReg.Exe
13/05/2010  10:54 PM            51,016 sgen.exe
19/04/2010  08:36 PM               156 sgen.exe.config
13/05/2010  10:26 PM           237,392 signtool.exe
13/05/2010  10:54 PM            95,552 sn.exe
19/04/2010  08:36 PM               181 sn.exe.config
13/05/2010  10:54 PM            42,832 SoapSuds.exe
19/04/2010  08:36 PM               278 SoapSuds.exe.config
13/05/2010  10:54 PM            18,776 SoapSudsCode.dll
13/05/2010  10:54 PM           292,688 SqlMetal.exe
19/04/2010  08:36 PM               156 SqlMetal.exe.config
19/04/2010  08:49 PM            74,119 StartTools.htm
19/04/2010  08:36 PM            41,984 StoreAdm.exe
04/04/2009  03:59 AM            63,820 SvcConfigEditor.chm
13/05/2010  10:54 PM         2,103,136 SvcConfigEditor.exe
19/04/2010  08:36 PM               151 SvcConfigEditor.exe.config
04/04/2009  03:59 AM            60,421 SvcTraceViewer.chm
13/05/2010  10:54 PM           706,392 SvcTraceViewer.exe
19/04/2010  08:36 PM               151 SvcTraceViewer.exe.config
13/05/2010  10:54 PM           194,384 SvcUtil.exe
19/04/2010  08:36 PM               151 SvcUtil.exe.config
13/05/2010  10:26 PM            89,944 tcpanalyzer.exe
19/04/2010  08:36 PM               942 tcpanalyzer.exe.manifest
13/05/2010  10:26 PM           222,032 tedutil.dll
04/06/2012  02:57 PM                 0 test.txt
13/05/2010  10:54 PM            59,208 TlbExp.exe
13/05/2010  10:54 PM            67,400 TlbImp.exe
19/04/2010  08:36 PM               144 TlbImp.exe.config
13/05/2010  10:26 PM           126,288 topoedit.exe
19/04/2010  08:36 PM             3,876 TranscodeProfiles.xml
13/05/2010  10:26 PM            18,256 Uuidgen.Exe
13/05/2010  10:26 PM            60,768 VirtualLightSensor.exe
13/05/2010  10:26 PM             7,501 VirtualLightSensorDriver.cat
13/05/2010  10:26 PM            29,040 VirtualLightSensorDriver.dll
19/04/2010  08:36 PM             2,625 VirtualLightSensorDriver.inf
13/05/2010  10:54 PM            55,112 WCA.exe
19/04/2010  08:36 PM               151 WCA.exe.config
13/05/2010  10:54 PM            59,208 WFC.exe
19/04/2010  08:36 PM             1,851 WFC.exe.config
13/05/2010  10:26 PM           325,456 WiLogUtl.exe
19/04/2010  08:36 PM            27,344 windiff.chm
13/05/2010  10:26 PM           186,704 WinDiff.Exe
19/04/2010  08:36 PM           152,568 WinRes.exe
13/05/2010  10:26 PM           239,432 wsatui.dll
13/05/2010  10:54 PM            87,880 wsdl.exe
19/04/2010  08:36 PM               278 wsdl.exe.config
13/05/2010  10:26 PM           228,184 XpsAnalyzer.exe
13/05/2010  10:54 PM            83,784 xsd.exe
19/04/2010  08:36 PM               156 xsd.exe.config
13/05/2010  10:54 PM           100,168 xsltc.exe
             130 File(s)     24,096,407 bytes
               6 Dir(s)  59,082,067,968 bytes free
99 programming bugs in the code, 99 bugs in the code, fix 1 bug and compile it again, 101 programming bugs in the code
ObtuseAngle
 
Posts: 42
Location: Gippsland, Australia

Re: Help test the installer

Postby ObtuseAngle » Sun Jun 03, 2012 10:03 pm

Charles wrote:@ObtuseAngle, there is a program in Cobra\Supplements called find-gacutil.cobra. Can you run this and share the file output at the end where it summarizes what it found? That would be very helpful.


Code: Select all
Directories searched:
    C:\Program Files
    C:\WINDOWS

Hits:
    C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\gacutil.exe
    C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\gacutil.exe.config
    C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\NETFX 4.0 Tools\1033\gacutlrc.dll
    C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\NETFX 4.0 Tools\gacutil.exe
    C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\NETFX 4.0 Tools\gacutil.exe.config
    C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\gacutil.exe.config

99 programming bugs in the code, 99 bugs in the code, fix 1 bug and compile it again, 101 programming bugs in the code
ObtuseAngle
 
Posts: 42
Location: Gippsland, Australia

Re: Help test the installer

Postby ObtuseAngle » Sun Jun 03, 2012 10:04 pm

Charles wrote:
ObtuseAngle wrote:And the same error after installing the reference assemblies i.e. selecting the entire NET development part of the SDK installer.

I don't need NET 4.0, so I'm happy to install for a non-NET 4.0 version.

Regards, Obtuse.

I have made a tweak to the installer that should fix this issue.


Will try newest version some time in the next few hours and report results.

Regards, Obtuse.
99 programming bugs in the code, 99 bugs in the code, fix 1 bug and compile it again, 101 programming bugs in the code
ObtuseAngle
 
Posts: 42
Location: Gippsland, Australia

Re: Help test the installer

Postby ObtuseAngle » Mon Jun 04, 2012 12:34 am

Charles wrote:
ObtuseAngle wrote:And the same error after installing the reference assemblies i.e. selecting the entire NET development part of the SDK installer.

I don't need NET 4.0, so I'm happy to install for a non-NET 4.0 version.

Regards, Obtuse.

I have made a tweak to the installer that should fix this issue.


Success!

In particular:

Code: Select all
==== Install Cobra.Lang library to the GAC

run: C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\NETFX 4.0 Tools\gacutil.ex
e -i Cobra.Lang.dll -f
   : Microsoft (R) .NET Global Assembly Cache Utility.  Version 4.0.30319.1
   : Copyright (c) Microsoft Corporation.  All rights reserved.
   :
   : Assembly successfully added to the cache



A couple of skips, which I assume are not important:
Code: Select all
==== Verifying Cobra.Lang.dll installed to the GAC

Skipping due to running on .NET 2, but installed for .NET 4.

[...]

==== Verifying Cobra.Lang.Compiler.dll installed to the GAC

Skipping due to running on .NET 2, but installed for .NET 4.

99 programming bugs in the code, 99 bugs in the code, fix 1 bug and compile it again, 101 programming bugs in the code
ObtuseAngle
 
Posts: 42
Location: Gippsland, Australia

Re: Help test the installer

Postby Charles » Mon Jun 04, 2012 1:57 am

Yeah the skips are normal. If they were more of a problem, I would prefix them with either "Warning:" or "Error:". Thanks for reporting back. I think the installer is now in good shape for the upcoming release.
Charles
 
Posts: 2515
Location: Los Angeles, CA

Re: Help test the installer

Postby ObtuseAngle » Tue Jun 05, 2012 8:21 pm

I doubt it's a problem, but after updating to the latest patch I noticed a warning hidden amongst the install messages:

Code: Select all
==== Build Cobra.Lang library
run: cobra.exe -build-standard-library -debug -native-compiler:C:\WINDOWS\Micros
oft.NET\Framework\v4.0.30319\csc.exe -turbo -out:Cobra.Lang.dll -key-file:Cobra.
Lang\Cobra.Lang.snk Cobra.Lang\AssemblyAttrs.cobra
   : warning: Cannot extract version number from version string: svn: (post 0.8)
 / 2012-06-06
   : Compilation succeeded


Regards, Obtuse.
99 programming bugs in the code, 99 bugs in the code, fix 1 bug and compile it again, 101 programming bugs in the code
ObtuseAngle
 
Posts: 42
Location: Gippsland, Australia

Re: Help test the installer

Postby callisto » Sat Jun 09, 2012 4:12 pm

Success with this, but as I installed mono with CLR 4,0 just for cobra I got some errors before realising I needed to install some of mono's compiler/libraries from CLR 2.0 before the installer would run.

Code: Select all
$ cobra -v
Cobra Command Line svn:2697 (post 0.8) / 2012-06-09
Copyright (C) 2003-2012 by Cobra Language LLC.

OS Version:   Unix 3.0.0.12
CLR Platform: Mono
CLR Version:  4.0.30319.1
Current Directory: /home/peter/Code
Current Exe: /usr/local/cobra/Cobra-svn-2697/bin/cobra.exe
Option Dictionary:
    verbosity: 1
    back-end: 'none'
    contracts: 'inline'
    correct-source: Set<of String>['none']
    debugging-tips: true
    embed-run-time: false
    include-asserts: true
    include-nil-checks: true
    include-tests: true
    include-traces: true
    native-compiler: 'auto'
    number: 'decimal'
    test-runner: 'Cobra.Lang.CobraCore.runAllTests'
    testify-results: 'r-testify.text'
Paths:

The Cobra Programming Language svn:2697 (post 0.8) / 2012-06-09
on Mono 2.10.5 CLR v4.0.30319 on Ubuntu 11.10
at /usr/local/cobra/Cobra-svn-2697/bin/cobra.exe
callisto
 
Posts: 10

Re: Help test the installer

Postby Charles » Sat Jun 09, 2012 5:25 pm

Thanks. Do you have a copy of the errors? We could be them in the Troubleshooting wiki page with the solution.
Charles
 
Posts: 2515
Location: Los Angeles, CA

PreviousNext

Return to Discussion

Who is online

Users browsing this forum: No registered users and 9 guests

cron