Forums

install-from-workspace

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

Re: install-from-workspace

Postby relez » Mon Oct 20, 2008 12:32 pm

Chuck wrote:I've made improvements to Cobra and to the installer based on your experiences.

I'm looking forward to another round of feedback from the next user. Please let me know how it goes, good or bad.

-Chuck


Ok, i tried and in VS2008 Shell + Admin profile, it works fine.... with guest user profile i get an error as in your changelog.
relez
 
Posts: 69

Re: install-from-workspace

Postby Charles » Wed Oct 22, 2008 5:47 pm

Cool. The VS 2008 command line may no longer be necessary as I have added its normal location for gacutil.exe to the places that the installer searches.
Charles
 
Posts: 2513
Location: Los Angeles, CA

Re: install-from-workspace

Postby Charles » Wed Oct 22, 2008 5:48 pm

I have updated the installer to work on the Mac/Linux/Unix side using Novell Mono 2.0 (1.9 will probably work well too).

I also retested on the Windows side.
Charles
 
Posts: 2513
Location: Los Angeles, CA

Re: install-from-workspace

Postby agustech » Wed Oct 29, 2008 10:23 am

Here is my own experience with the tool:

- Some international Windows instalations do not have 'Program Files' folder. (I have tried to fix that with patch attached)
- if svn is not installed it throws an unhandled exception. Most of us use tortoiseSVN or similar tools (fixed with patch attached too)

HTH

P.S. Keep the great work!!

UPDATE... could not attach any extension so I will add a ticket an post it there...
http://cobra-language.com/trac/cobra/ticket/56
agustech
 
Posts: 37

Re: install-from-workspace

Postby Charles » Wed Oct 29, 2008 12:00 pm

Tickets are preferable anyway.

This is good feedback. The patch has been applied and the ticket closed.

Using Environment.SpecialFolder.ProgramFiles is definitely the way to go and I switched up the code to check this first before bothering with searching the drives.

Also I tightened up the exception catching code to just wrap what was expected might throw (just one line):
#
# record "svn info" in the installation directory
try
output = .runCommand('svn', 'info', false)
catch ex as SystemException
# user could be on TortoiseSVN
print 'svn is not installed or it is not in the PATH. ' + ex.message
success
svnInfo = '[versionDir][slash]svn_info.text'
print 'writing :', svnInfo
File.writeAllText(svnInfo, output)

Thanks for the patch.
Charles
 
Posts: 2513
Location: Los Angeles, CA

Previous

Return to Discussion

Who is online

Users browsing this forum: No registered users and 11 guests

cron