Skip to content

Instantly share code, notes, and snippets.

@saltlakeryan
Last active August 29, 2015 14:05
Show Gist options
  • Select an option

  • Save saltlakeryan/4f48eb7f8410420a26e4 to your computer and use it in GitHub Desktop.

Select an option

Save saltlakeryan/4f48eb7f8410420a26e4 to your computer and use it in GitHub Desktop.
## On ubuntu 14 i386
#audio stuff
sudo apt-get install alsa-oss alsa-utils alsaplayer libgnome2-bin alsaplayer-text
sudo adduser myusername audio
alsamixer #unmute channels (Ctrl+C to exit)
wget http://upload.wikimedia.org/wikipedia/en/4/45/ACDC_-_Back_In_Black-sample.ogg
alsaplayer -i text ACDC_-_Back_In_Black-sample.ogg
#dependencies
sudo apt-get install playonlinux
playonlinux #install 1.7.25 32bit
export WINEPREFIX=~/.wine32
export WINEBINARY=~/.PlayOnLinux/wine/linux-x86/1.7.25/bin/wine
sudo mount /dev/cdrom /media/cdrom/
ln -s /media/cdrom $WINEPREFIX/dosdevices/d:
# or through gui: winecfg
#remove mono (use MS .net framework that is bundled)
$WINEBINARY uninstaller --remove '{E45D8920-A758-4088-B6C6-31DBB276992E}'
$WINEBINARY 'D:\setup.exe'
#install wizard
$WINEBINARY 'C:/Program Files/Nuance/NaturallySpeaking12/Program/natspeak.exe'
wget http://sourceforge.net/projects/natlink/files/pythonfornatlink/python2.7.zip/download
mv download python27.zip
unzip python27.zip
mkdir $WINEPREFIX/drive_c/py
mv python-2.7.6.msi pywin32-218.win32-py2.7.exe PyXML-0.8.4.win32-py2.7.exe wxPython2.8-win32-ansi-2.8.12.1-py27.exe $WINEPREFIX/drive_c/py/
$WINEBINARY start C:/py/python-2.7.6.msi
$WINEBINARY c:/py/pywin32-218.win32-py2.7.exe
$WINEBINARY c:/py/PyXML-0.8.4.win32-py2.7.exe
$WINEBINARY c:/py/wxPython2.8-win32-ansi-2.8.12.1-py27.exe
$WINEBINARY regedit #Add C:\Python27;C:\Python27\Script to HKEY_CURRENT_USER/Environment/PATH
wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py
mv ez_setup.py $WINEPREFIX/drive_c/py/
$WINEBINARY start 'c:\py\ez_setup.py'
wget http://sourceforge.net/projects/natlink/files/natlink/natlinktest4.1/setup-natlink-4.1lima.exe/download
mv download setup-natlink-4.1lima.exe
mv setup-natlink-4.1lima.exe $WINEPREFIX/drive_c/py/
$WINEBINARY start 'c:\py\setup-natlink-4.1lima.exe'
wget https://dragonfly.googlecode.com/files/dragonfly-0.6.5.zip
mv dragonfly-0.6.5.zip $WINEPREFIX/drive_c/py/
cd $WINEPREFIX/drive_c/py/
unzip dragonfly-0.6.5.zip
$WINEBINARY cmd
c:
cd \py\dragonfly-0.6.5
python setup.py install
$WINEBINARY start 'C:\\users\\Public\\Start Menu\\Programs\\NatLink\\Configure NatLink via GUI.lnk'
#####Troubleshooting#########
#remove mono, install framework
$WINEBINARY D:/ISSetupPrerequisites/dotNetFramework/dotNetFx40_Full_x86_x64.exe
#seems mono doesn't completely uninstall. Get a lot of fixme:... debug messages on the command line for msvcrt (eg. fixme:msvcrt:__clean_type_info_names_internal (0x4200d514) stub)
sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine1.7
winetricks -q dotnet35 dotnet40
winetricks win7­
wget http://download.microsoft.com/download/b/a/4/ba4a7e71-2906-4b2d-a0e1-80cf16844f5f/dotnetfx45_full_x86_x64.exe
wine ./dotnetfx45_full_x86_x64.exe
winetricks win2k3
wine c:\netfx_setupverifier.exe
wine d:\setup.exe
wine 'C:/Program Files/Nuance/NaturallySpeaking12/Program/natspeak.exe'
#http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-08-99-90-04/netfx_5F00_setupverifier_5F00_new.zip
@saltlakeryan
Copy link
Author

automated install

setup.exe /s /v"INSTALLDIR=c:\Dragon12 /L*v C:\Logs\logfile.log /qn"

@saltlakeryan
Copy link
Author

Error parsing C:\windows\Microsoft .NET\Framework\v4.0.30319\config\machine.config
Parser returned error 0x80004001

@saltlakeryan
Copy link
Author

http://www.techsupportforum.com/forums/f217/solved-configuration-parser-error-during-and-after-install-476000.html

Quote:
Originally Posted by kaloonzu View Post
Found a solution:
You have to go to the .NET Framework folder in \Windows and copy the machine.config files contents from the Framewok x64 folder into the machine.config in the standard Framework folder. This seems to be caused by the fact that installing .NET Framework on an 64 bit computer does not install the necessary files for the x86 version.
Thanks, not exactly the solution but helped me find a solution:

I was looking into this error for a friend where they were trying to install the Vodafone 3G software for mobile Internet and getting this error on trying to run the program. They were running 32 bit vista so for obvious reasons there was no 64 bit directory.

However, to solve the problem I navigated to the file directory %windir%\Microsoft.NET\Framework\v2.0.50727\CONFIG. Took a backup copy of machine.config and then copied the machine.config.default file to a new file [machine.config (copy).default]. I then renamed this new file to machine.config in this directory.

I restarted windows and now the program works fine. As the error said the machine.config file was corrupt so I just replaced it with the default settings :).

Just an addition to kaloonzu's solution for 32 bit users.

@saltlakeryan
Copy link
Author

@saltlakeryan
Copy link
Author

seems like lots of probs with linux64 and wine32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment