# Cannot build IronRuby or IronPython MSI's

**URL:** <https://www.ruby-forum.com/t/cannot-build-ironruby-or-ironpython-msis/215425>\
**Category:** IronRuby\
**Created:** [January 4, 2012, 5:07am UTC](https://www.ruby-forum.com/t/cannot-build-ironruby-or-ironpython-msis/215425 "2012-01-04T05:07:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [January 4, 2012, 5:07am UTC](https://www.ruby-forum.com/t/cannot-build-ironruby-or-ironpython-msis/215425/1 "2012-01-04T05:07:55Z")

</div>

I did a git pull today of IronLanguages\main, and noticed a giant stack  
of  
changes on December 30, 31 and Jan 1 - which look like they’re related  
to  
Win8 and Mango, amongst other things.

I’m trying to build the IronRuby installer - the process also builds the  
IronPython installer along with it.

It ( msbuild /p:Configuration=Release Installer.proj ) now fails with  
several errors:

1 - IronRubyTools.dll fails to build. It complains about "A reference  
was  
created to embedded interop assembly ‘…\VSLangProj.dll’

- I fixed this by setting Embed Interop Types = false on that reference  
(what happened to break this??)

2 - The build now fails because it couldn’t find silverlight 4 dll’s,  
whereas it used to work (did it used to reference silverlight 3 which  
ships with VS2010??).

- I fixed the error by installing the silverlight 4 SDK

3 - Two proj files have gone missing:

c:\Dev\ironlanguages-main\Msi\Installer.proj(23,9): error MSB3202: The  
project file “Python\Chm\IronPython.Chm.proj” was not found.  
c:\Dev\ironlanguages-main\Msi\Installer.proj(23,9): error MSB3202: The  
project file “Python\Msi\IronPython.Msi.wproj” was not found.

It seems these have vanished??  
I tried to work around this by manually building only  
Ruby\Msi\IronRuby.Msi.wproj

4 - This now fails with  
c:\Dev\ironlanguages-main\Msi\Ruby\Msi\Silverlight.wxi(14): error  
CNDL0150: Undefined preprocessor variable ‘$(var.OutputPath)’.  
[c:\Dev\ironlanguages-main\Msi\Ruby\Msi\IronRuby.Msi.wproj]

It looks like that Wxi file hasn’t changed recently, so presumably  
something else is ruining the outpath?

- I fixed this by editing IronRuby.wxs and removing all mention of  
silverlight… This is fine for me, as I don’t want to go near  
silverlight, but others may require a better solution 🙂

5 - Now there’s a bunch of errors all like this:

c:\Dev\ironlanguages-main\Msi\Ruby\Msi\IronRuby.wxs(92): error  
LGHT1055:  
The InstallExecuteSequence table contains an  
action ‘NetFxScheduleNativeImage’ which cannot be merged from the merge  
module ‘c:\Dev\ironlanguages-main\bin\Release  
\IrbRedist.msm’. This action is likely colliding with an action in the  
database that is being created. The colliding  
action may have been authored in the database or merged in from another  
merge module. If this is a standard action, it  
is likely colliding due to a difference in the condition for the action  
in the database and merge module. If this is  
a custom action, it should only be declared in the database or one merge  
module. [c:\Dev\ironlanguages-main\Msi\Ruby\Ms  
i\IronRuby.Msi.wproj]

This is where I give up…

The giant stack of changes mostly came from Tomas M. / JDHardy /  
couple of other IronPython devs… Would one of those people mind please  
having a look at this?

Thanks, Orion

---

<div class="post-metadata">

**Author:** ![Orion\_E](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/65b543/32.png) [@Orion\_E](https://www.ruby-forum.com/u/Orion_E)\
**Post date:** [January 4, 2012, 5:35am UTC](https://www.ruby-forum.com/t/cannot-build-ironruby-or-ironpython-msis/215425/2 "2012-01-04T05:35:45Z")

</div>

Yes, the installer is broken. Jeff is working on some better installer  
building scripts. I’m not sure what the status is atm.

Tomas

From: removed\_email\_address@domain.invalid  
[[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)] On Behalf Of Orion E.  
Sent: Tuesday, January 03, 2012 8:07 PM  
To: removed\_email\_address@domain.invalid  
Cc: removed\_email\_address@domain.invalid  
Subject: [Ironruby-core] Cannot build IronRuby or IronPython MSI’s

I did a git pull today of IronLanguages\main, and noticed a giant stack  
of changes on December 30, 31 and Jan 1 - which look like they’re  
related to Win8 and Mango, amongst other things.

I’m trying to build the IronRuby installer - the process also builds the  
IronPython installer along with it.

It ( msbuild /p:Configuration=Release Installer.proj ) now fails with  
several errors:

1 - IronRubyTools.dll fails to build. It complains about "A reference  
was created to embedded interop assembly ‘…\VSLangProj.dll’

- I fixed this by setting Embed Interop Types = false on that reference  
(what happened to break this??)

2 - The build now fails because it couldn’t find silverlight 4 dll’s,  
whereas it used to work (did it used to reference silverlight 3 which  
ships with VS2010??).

- I fixed the error by installing the silverlight 4 SDK

3 - Two proj files have gone missing:

c:\Dev\ironlanguages-main\Msi\Installer.proj(23,9): error MSB3202: The  
project file “Python\Chm\IronPython.Chm.proj” was not found.  
c:\Dev\ironlanguages-main\Msi\Installer.proj(23,9): error MSB3202: The  
project file “Python\Msi\IronPython.Msi.wproj” was not found.

It seems these have vanished??  
I tried to work around this by manually building only  
Ruby\Msi\IronRuby.Msi.wproj

4 - This now fails with  
c:\Dev\ironlanguages-main\Msi\Ruby\Msi\Silverlight.wxi(14): error  
CNDL0150: Undefined preprocessor variable ‘$(var.OutputPath)’.  
[c:\Dev\ironlanguages-main\Msi\Ruby\Msi\IronRuby.Msi.wproj]

It looks like that Wxi file hasn’t changed recently, so presumably  
something else is ruining the outpath?

- I fixed this by editing IronRuby.wxs and removing all mention of  
silverlight… This is fine for me, as I don’t want to go near  
silverlight, but others may require a better solution 🙂

5 - Now there’s a bunch of errors all like this:

c:\Dev\ironlanguages-main\Msi\Ruby\Msi\IronRuby.wxs(92): error  
LGHT1055: The InstallExecuteSequence table contains an  
action ‘NetFxScheduleNativeImage’ which cannot be merged from the merge  
module ‘c:\Dev\ironlanguages-main\bin\Release  
\IrbRedist.msm’. This action is likely colliding with an action in the  
database that is being created. The colliding  
action may have been authored in the database or merged in from another  
merge module. If this is a standard action, it  
is likely colliding due to a difference in the condition for the action  
in the database and merge module. If this is  
a custom action, it should only be declared in the database or one merge  
module. [c:\Dev\ironlanguages-main\Msi\Ruby\Ms  
i\IronRuby.Msi.wproj]

This is where I give up…

The giant stack of changes mostly came from Tomas M. / JDHardy /  
couple of other IronPython devs… Would one of those people mind please  
having a look at this?

Thanks, Orion

---

<div class="post-metadata">

**Author:** ![Orion\_E](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/65b543/32.png) [@Orion\_E](https://www.ruby-forum.com/u/Orion_E)\
**Post date:** [January 4, 2012, 6:20am UTC](https://www.ruby-forum.com/t/cannot-build-ironruby-or-ironpython-msis/215425/3 "2012-01-04T06:20:08Z")

</div>

The IronPython ones should be working, and nothing I did should change  
IronRuby’s installer builds. However, the old build script may  
reference IronPython installers that no longer exist.

- Jeff

On Tue, Jan 3, 2012 at 8:14 PM, Tomas M.
