Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report for Bug 3026 on
GitHub or Developer Community if you have new
information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the
In special cases on GitHub you might also want the comments:
GitHub Markdown with public comments
Created attachment 1259 [details]
When I try to install Mono for Android the installation of GTK# fails at the very end and rolls back, so I can't complete the installation. This is Windows 7 64-bit. I suspect there may be a problem related to running a custom script at the end of the install, because I've had similar problems with other installations in the past. But VBScript and JScript engines are installed, and I don't know what else might cause the installation to fail like that. I am attaching a full log from the installer. The rror message says "There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor."
Are you using the Mono for Android installer from:
or are you just trying to install GTK# by itself?
I used the trial installer, but when it kept failing I tried running the GTK# MSI file maunally as admin with the full GUI and logging. That's the version of the log that I sent. Either way, it fails in the same place.
Looks like this is the error:
MSI (s) (F0:B4) [04:58:57:244]: Executing op: ActionStart(Name=setup_pixbuf_loaders.2EE2AF11_DC29_11DC_B7B3_005056C00008,,)
MSI (s) (F0:B4) [04:58:57:246]: Executing op: CustomActionSchedule(Action=setup_pixbuf_loaders.2EE2AF11_DC29_11DC_B7B3_005056C00008,ActionType=3074,Source=BinaryData,Target="C:\Program Files (x86)\GtkSharp\2.12\bin\gdk-pixbuf-query-loaders.exe" "C:\Program Files (x86)\GtkSharp\2.12\etc\gtk-2.0\gdk-pixbuf.loaders,)
CustomAction setup_pixbuf_loaders.2EE2AF11_DC29_11DC_B7B3_005056C00008 returned actual error code -2146232576 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (s) (F0:B4) [04:58:57:379]: Note: 1: 1722 2: setup_pixbuf_loaders.2EE2AF11_DC29_11DC_B7B3_005056C00008 3: C:\windows\Installer\MSI6983.tmp 4: "C:\Program Files (x86)\GtkSharp\2.12\bin\gdk-pixbuf-query-loaders.exe" "C:\Program Files (x86)\GtkSharp\2.12\etc\gtk-2.0\gdk-pixbuf.loaders
If you are trying to use Visual Studio, this isn't an issue. Gtk# is only required for MonoDevelop support.
Yes, I am using VS. But how do I get past this problem in the installer? Is there a way to tell it to skip GTK#? When this fails it retries several times and then stops, and doesn't complete installing the rest of the components.
Here's a link to our old documentation of installing the components individually:
- Android SDK
- VS addin .msi
You can grab the latest VS .msi here:
Thanks, I was finally able to get it to install by the methods you described.