# FYI review: Fix for SL build

**URL:** <https://www.ruby-forum.com/t/fyi-review-fix-for-sl-build/176454>\
**Category:** IronRuby\
**Created:** [September 30, 2009, 7:51pm UTC](https://www.ruby-forum.com/t/fyi-review-fix-for-sl-build/176454 "2009-09-30T19:51:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shri\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/898d66/32.png) [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Post date:** [September 30, 2009, 7:51pm UTC](https://www.ruby-forum.com/t/fyi-review-fix-for-sl-build/176454/1 "2009-09-30T19:51:14Z")

</div>

> <https://github.com/shri-zz/ironruby/commit/8674ea7f926fdd48f6652935de8081425319473d>

Fix to irtests.rb for changing Silverlight install folder (it has  
changed once again to 3.0.40818.0)

---

<div class="post-metadata">

**Author:** ![Shri\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/898d66/32.png) [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Post date:** [September 30, 2009, 8:01pm UTC](https://www.ruby-forum.com/t/fyi-review-fix-for-sl-build/176454/2 "2009-09-30T20:01:47Z")

</div>

Looks good – that’s definitely the right change. Maybe Dev.bat should  
find the Silverlight path in a similar way and save it as  
%SilverlightPath%, and then the Silverlight build aliases will just pick  
up that variable instead of hard-coding it a bunch of places? Does batch  
have some type of regex/pattern matching support?

Just curious, how did you get prompted to install the updated version?  
Did an app prompt you to update or did you just reinstall SL for some  
reason?

~js

* * *

From: Shri B.  
Sent: Wednesday, September 30, 2009 10:50 AM  
To: removed\_email\_address@domain.invalid  
Cc: IronRuby External Code R.  
Subject: FYI review: Fix for SL build

> <https://github.com/shri-zz/ironruby/commit/8674ea7f926fdd48f6652935de8081425319473d>

Fix to irtests.rb for changing Silverlight install folder (it has  
changed once again to 3.0.40818.0)

---

<div class="post-metadata">

**Author:** ![Shri\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/898d66/32.png) [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Post date:** [September 30, 2009, 8:28pm UTC](https://www.ruby-forum.com/t/fyi-review-fix-for-sl-build/176454/3 "2009-09-30T20:28:43Z")

</div>

Ruby does, so we could make a Ruby script that finds the folder, then  
set %SilverlightPath% to the output of that script. That might end up  
useful in other places too.

DJ

From: Jimmy S.  
Sent: Wednesday, September 30, 2009 11:01 AM  
To: Shri B.; removed\_email\_address@domain.invalid  
Cc: IronRuby External Code R.  
Subject: RE: FYI review: Fix for SL build

Looks good – that’s definitely the right change. Maybe Dev.bat should  
find the Silverlight path in a similar way and save it as  
%SilverlightPath%, and then the Silverlight build aliases will just pick  
up that variable instead of hard-coding it a bunch of places? Does batch  
have some type of regex/pattern matching support?

Just curious, how did you get prompted to install the updated version?  
Did an app prompt you to update or did you just reinstall SL for some  
reason?

~js

* * *

From: Shri B.  
Sent: Wednesday, September 30, 2009 10:50 AM  
To: removed\_email\_address@domain.invalid  
Cc: IronRuby External Code R.  
Subject: FYI review: Fix for SL build

> <https://github.com/shri-zz/ironruby/commit/8674ea7f926fdd48f6652935de8081425319473d>

Fix to irtests.rb for changing Silverlight install folder (it has  
changed once again to 3.0.40818.0)

---

<div class="post-metadata">

**Author:** ![Shri\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/898d66/32.png) [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Post date:** [September 30, 2009, 8:32pm UTC](https://www.ruby-forum.com/t/fyi-review-fix-for-sl-build/176454/4 "2009-09-30T20:32:49Z")

</div>

Yup, it would have to be Ruby (or Python or powershell).

This is a new machine. I just installed the internal (ITG) version of  
Win7. I think it came with this version of Silverlight.

From: Jim D.  
Sent: Wednesday, September 30, 2009 11:05 AM  
To: Jimmy S.; Shri B.; removed\_email\_address@domain.invalid  
Cc: IronRuby External Code R.  
Subject: RE: FYI review: Fix for SL build

Ruby does, so we could make a Ruby script that finds the folder, then  
set %SilverlightPath% to the output of that script. That might end up  
useful in other places too.

DJ

From: Jimmy S.  
Sent: Wednesday, September 30, 2009 11:01 AM  
To: Shri B.; removed\_email\_address@domain.invalid  
Cc: IronRuby External Code R.  
Subject: RE: FYI review: Fix for SL build

Looks good – that’s definitely the right change. Maybe Dev.bat should  
find the Silverlight path in a similar way and save it as  
%SilverlightPath%, and then the Silverlight build aliases will just pick  
up that variable instead of hard-coding it a bunch of places? Does batch  
have some type of regex/pattern matching support?

Just curious, how did you get prompted to install the updated version?  
Did an app prompt you to update or did you just reinstall SL for some  
reason?

~js

* * *

From: Shri B.  
Sent: Wednesday, September 30, 2009 10:50 AM  
To: removed\_email\_address@domain.invalid  
Cc: IronRuby External Code R.  
Subject: FYI review: Fix for SL build

> <https://github.com/shri-zz/ironruby/commit/8674ea7f926fdd48f6652935de8081425319473d>

Fix to irtests.rb for changing Silverlight install folder (it has  
changed once again to 3.0.40818.0)
