Windows Installer - Internal error: Failed to expand "group" constant.

1,711 views
Skip to first unread message

arac...@outlook.com

unread,
Oct 27, 2015, 8:30:18 AM10/27/15
to RubyInstaller
Hello,

I'm trying to install ruby2.2.2x64 for Windows and the setup fails with the following error:

2015-10-20 14:06:11.839   -- File entry --
2015-10-20 14:06:11.839   Dest filename: c:\ruby\bin\setrbvars.bat
2015-10-20 14:06:11.855   Time stamp of our file: 2015-02-13 20:06:42.000
2015-10-20 14:06:11.855   Dest file exists.
2015-10-20 14:06:11.855   Time stamp of existing file: 2015-02-13 20:06:42.000
2015-10-20 14:06:11.855   Version of our file: (none)
2015-10-20 14:06:11.855   Version of existing file: (none)
2015-10-20 14:06:11.855   Installing the file.
2015-10-20 14:06:11.855   Successfully installed the file.
2015-10-20 14:06:11.855   -- Icon entry --
2015-10-20 14:06:11.855   Exception message:
2015-10-20 14:06:11.855   Message box (OK):
                          Internal error: Failed to expand "group" constant.

Could someone with access to the source code tell me what this error means and what was the Windows API call that failed?

The setup is running inside a Windows Server Container where the file system and registry are software-virtualized and I would like to make the installer work.

Thank you,

Daniel Vasquez
[MSFT]

Justin Baker

unread,
Dec 4, 2015, 9:39:59 PM12/4/15
to RubyInstaller, arac...@outlook.com
Hey Daniel,

Sorry I didn't get back to you until now.
Umm, as for your question it's an InnoSetup script.

The source of which is right here:

I don't know enough about InnoInstaller to help you out though. Most of the stuff was written before I started maintaining RubyInstaller.

Sorry, if there is anything else I can help with though let me know. I'm super interested on getting Ruby working in a Windows Container.

Justin

Dušan D. Majkić

unread,
Dec 5, 2015, 3:47:58 AM12/5/15
to rubyin...@googlegroups.com
Could you try to install it like this:

rubyinstaller-xxx-x64.exe
/DIR="c:\ruby22_or_some_dir_where_you_can_write" /SUPPRESSMSGBOXES
/NOICONS /SILENT
> --
> You received this message because you are subscribed to the Google Groups
> "RubyInstaller" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to rubyinstalle...@googlegroups.com.
> To post to this group, send email to rubyin...@googlegroups.com.
> Visit this group at http://groups.google.com/group/rubyinstaller.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages