Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

A while ago I was struggling to obtain TeXworks working correctly with MikTeX 2.9.4521-x64 under Windows 7-x64; and after a marathon I managed to correctly match the appropriate extensions with the registry (it seemed all was going to be fine).

But, looking up on the main site of the editor, I found that a new version was released, and since I like to have programs with recent fixes I decided to apply for an even exchange; i.e. I wanted my TeXworks distribution simply and clearly replaced by the newest one inside the appropriate folder.

The comment of @karlkoeller is a valid help to get my first step done; but I have still some worries about installing a new version.

Where exactly has to be put in order to have the same folder structure as before?

Disclaimer: The below statements are based on personal deductions, so they may be lacking of accuracy/preciseness.

With a little explaining, I learnt that not one folder of TeXworks is placed inside my OS; so the main distribution of this program (installed using MikTeX setup.exe), when removed, is called by the whatever-folders it may be stored in to be deleted (and the registry cleared).

End of deductions.

The main problem is that I do not know how this behaviour is like when I try to install a brand new/separated version of this program (I don't think that a reverse logic would apply). So what are the steps to follow?

share|improve this question
3  
Some advice: If I were you, Step 1: I would remove the TeXworks from MiKTeX miktex-texworks via "MiKTeX Package Manager" remove "miktex-texworks-bin-2.9" using Administrator privileges since it's not always uptodate with latest release. Step 2:If necessary use registry cleaner like piriform.com/ccleaner Step 3: Download and Install the Stable TeXworks channel for Windows and also keep miktex uptodate –  texenthusiast Oct 29 '13 at 22:02
    
@texenthusiast The procedure seems to be perfect; but (it has to be one of course...) will I be sure that every shortcut created with the previous version will be the same as the newest one?. One example would be checking TeXworks' preferences and resources, I think that the dir wouldn't be the same. Will this mis-match create problems? –  Andrea L. Oct 30 '13 at 13:11
    
I am not on windows ,no idea what you are talking but I know stable texworks from channel will work fine with miktex and integrates well similar to any external tex editors texmaker texstudio etc.. –  texenthusiast Nov 1 '13 at 18:36
    
@texenthusiast Here is my simplified question. Whenever I remove a program (A), its installation directory should disappear, as well as the file extensions associated. When re-installed the program may have a different directory from the previous one. If another program (B) has "to know" if (A) is present, would it search for (A) automatically into the new directory or not? Will this generate an error? [(A) LaTeX IDE / (B) LaTeX Distro]. –  Andrea L. Nov 1 '13 at 19:39
    
A and B communicate via Path of MikTeX bin and stable TeXworks installation directory set during their respective installations. Note: In Windows, sometimes it does not completely remove the installation folder and file associations (dependent on software uninstaller), henceforth ccleaner. But i doubt for texworks it is not needed, just makesure the miktex bin path set in windows Path. Check this by typing at commandline pdflatex sample2e to get a sample2e.pdf doc –  texenthusiast Nov 1 '13 at 21:52

1 Answer 1

up vote 1 down vote accepted

I would suggest the following

Step 1: Remove the miktex-texworks via "MiKTeX Package Manager" remove "miktex-texworks-bin-2.9" using Administrator privileges since it's not always uptodate with latest release.

Step 2: In Windows, sometimes it does not completely remove the installation folder and file associations (dependent on software uninstaller), henceforth ccleaner. If necessary use registry cleaner like http://www.piriform.com/ccleaner

Step 3: Download and Install the Stable TeXworks channel for Windows , Go with Defaults for TeXworks Stable installation from channel. TeXworks stable should integrate well with MiKTeX (atleast that was my past experience on windows) and also keep miktex uptodate

Step 4: Finally, make sure the miktex bin path set in windows Path.Usually path in windows is set by miktex and texworks during their installation unless something bad happens. CD to DESKTOP and run the test pdflatex sample2e at commandline prompt, it would work from any where if miktex path was set properly. Check this by typing at commandline pdflatex sample2e to get a sample2e.pdf. Here is a link for how to set executable path in windows.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.