Reaching out to others! Free & Open Source Software, Kannada, L10n, L18n Data Science, Cloud Computing & more…

Installing a 32bit or 64 bit .msi using WINE

If you’re trying to install and files on your box, you might not see it firing up. component is needed which was introduced Windows 2000 or later to install these files. The executable ‘msiexec’ can let you install these .msi packages.

Use the following command to install the msi package named xyz.msi

msiexec /i xyz.msi

or

msiexec /i fileinstaller.msi

If you don’t find msiexec working, Download Winetricks by Dan Kegel’s to get the binary and start using it.

Note: Winetricks is also good to get many of the Windows binaries, dependencies, dlls etc. Ensure that you have a license to use them on your machine.

Tags: , ,

Fix: Wine-doors refusing to start

Wine-doors didn’t start on a fresh Ubuntu installation. To see whats really wrong with the installation, I ran the command inside the console and here is what I got.

$ wine-doors
Started logging session
/usr/share/wine-doors/src/utils.py:7: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
Checking wine drive: /home/techfiz/.wine/
sh: 1.1.27: not found
Traceback (most recent call last):
File “/usr/bin/wine-doors”, line 137, in
ui.winedoors = ui.WineDoorsGUI()
File “/usr/share/wine-doors/src/ui.py”, line 1102, in __init__
self.tree = PackTree( self.window[‘tv_packlist’], self.window )
File “/usr/share/wine-doors/src/ui.py”, line 597, in __init__
packlist.UpdateAll()
File “/usr/share/wine-doors/src/packlist.py”, line 309, in UpdateAll
self.TidyPacks()
File “/usr/share/wine-doors/src/packlist.py”, line 316, in TidyPacks
wine.WineVersion().split(“.”) >= pack['versions'][0][0][1].split(“.”):
AttributeError: ‘NoneType’ object has no attribute ‘split’

After digging a while in forums etc, found that its due to incorrect wine binary specified in

~/.wine/wine-doors/preferences.xml

Fix:-

To resolve this issue, find the wine binary location using following command.

$ which wine
/usr/local/bin/wine

Copy this location to preferences.xml as follows.

/usr/local/bin/wine

Now run wine-doors to see it working fine.

Hack: Google Chrome on Linux – Powered by Wine

We all felt bad when google released its brand new browser Chrome only for Windows. It was not released even for Mac OS. That day I did try installing Google Chrome on Linux using Wine but didn’t get much time to really hack into it and resolve some errors displayed on my console during the installation. 

After couple of days one of my friend forwarded a blog post written by Romeo Adrian Cioaba, which explained how I can go ahead and configure Chrome on Linux. I did miss something to get it working perfectly the other day and Gnu/Linux habba preparations and other works kept me busy mean while. Today I thought of trying out Chrome some how on my laptop so that I can even demonstrate this in Mysore during habba event.  Wow! it works and I’m even posting this new blog post via Chrome running on Linux.

Here are the steps followed by me :

1. download and install wine >= 1.1.3. 

If you’re on Ubuntu the just type this 

aptitude install wine

That should do. 

2. Now you got to download and install WineTricks which really did the trick and made Chrome work on Linux (This is what I was missing earlier on the first day). Issue the following command in the console to download the binary :

wget https://www.kegel.com/wine/winetricks

3. Copy the binary to /usr/bin

sudo cp winetricks /usr/sbin

4. Make the file executable

sudo chmod 755 /usr/bin/winetricks

5. Now, its time to do the trick with winetrick and install some dependencies required for Chrome including Flash, here I’m also adding fonts required for Chrome (Flash and Fonts are optional though) 

winetricks riched20 riched30 flash allfonts

6. Download the Chrome installer now :

wget https://gpdl.google.com/chrome/install/149.27/chrome_installer.exe

7. Lets install Chrome now. Also ensure that you say yes to create Desktop icon for Chrome. Here is how you run Chrome Installer.

wine chrome_installer.exe

Here is how it looks like :

8. Once you’re done with the installation, you are just one step behind. Hack it bit more. Use an editor and open the Google Chrome.desktop file which is now on your Desktop. Now you need to add “–new-http –in-process-plugins”, without the quotes at the end of this line:

Exec=env WINEPREFIX="/home//.wine" wine "C:\\windows\\profiles\\\\Local Settings\\Application Data\\Google\\Chrome\\Application\\chrome.exe"

to make it look like this:

Exec=env WINEPREFIX="/home//.wine" wine "C:\\windows\\profiles\\\\Local Settings\\Application Data\\Google\\Chrome\\Application\\chrome.exe" --new-http --in-process-plugins

Save the file and you’re done with the hack.

9, Go to Desktop and Start the Google Chrome now. 

Hurry! But wait. There are few more issues with Chrome running on Chrome. Need to make it work with SSL and I also need Kannada fonts to be added to wine environment.There might be some security issues too. That will be my next hack on Chrome. Share the info if you are already done with it.

Now, happy browsing on Chrome.

IE’s for Linux?

Is it possible to run internet explorer on Linux?

Yes, it’s possible. Wine has made it happen. Tatanka website tells you how you get it installed on your Linux desktop here.

Check out the installation progress in the above picture.

This will be very useful when you try checking websites on IE while working on a Linux box. Cool isn’t it?

Looks like this tool has got a small problem, there is a font rendering issue for Kannada and other languages on this tool. It will be challenge to fix it.