Uninstall Windows Apps?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Techknotted
Newbie
Newbie
Posts: 3
Joined: Sat Aug 07, 2010 8:12 pm

Uninstall Windows Apps?

Post by Techknotted »

Hi All

I'm running Ubuntu Maverick with Wine 1.2.2

After I had to install Apples Itunes to unlock a ipod, I'm now finding Itunes has "taken over" my system! It starts when I want to open my home folder for some reason!
I am done with using it and I have other software in Ubu that's working fine with the ipod so I though I would uninstal itunes. Sounds easy eh?
I opened Wine> Uninstall Wine Software to get the menu opened for uninstalling windows software.
I clicked on the itunes icon and then selected "remove". It then opened a dialog box that gave the options - Repair or remove, so I hit remove. This brings up the "Are you sure option"

This starts the Install process and the whole program is reinstalled!!?
this happened on another item i tried to remove as well!!

So - what am i missing here?

thanks in advance

Chris
NZ
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Uninstall Windows Apps?

Post by dimesio »

Techknotted wrote: This starts the Install process and the whole program is reinstalled!!?
this happened on another item i tried to remove as well!!

So - what am i missing here?
Wine's uninstaller doesn't work very well. http://wiki.winehq.org/FAQ#head-9893ae5 ... af2e69b391
Techknotted
Newbie
Newbie
Posts: 3
Joined: Sat Aug 07, 2010 8:12 pm

Post by Techknotted »

Yeh so I gather. At this stage nearly all tool bars have the shortcut pointing to itunes. So i'm on the Ubu forum trying solve that side of things!

Cheers
crom.osec
Level 1
Level 1
Posts: 7
Joined: Sat Jul 02, 2011 5:40 am

uninstall doesn't work

Post by crom.osec »

Hello, I didn't want to open a new thread since this one is related to my problem.

I have:
a) kubuntu:
Linux 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
b) wine:
v 1.3.23 (but same problem I've had on 1.2...)

Problem: Installed VisualC2005Express using winetricks, then wanted to try another version of VisualC2005 (without winetricks) but uninstall of previous version didn't worked.

Didn't worked = when try to install the other version of VisualStudio2005 it say that there is already installed a trial version and also finds that net2.0 is installed.

I've deleted entire prefix and still didn't worked.
Followed the steps from http://wiki.winehq.org/FAQ#head-ddc6f24 ... d8b64606aa and still didn't worked (this with version 1.2 which came by default in kubuntu).

Then I've apt-get --purge remove wine1.2 and all its dependencies, checked again that wine1.2 is not installed anymore (using aptitude search wine and checking if any wine is installed) then I've removed all wine folders from home, restarted the computer (just to be sure), then installed wine 1.3.23 and still when trying to install visualstudio2005 it finds that net2.0 and trial version are installed.

Does anyone have a clue on what should I do to obtain an entirely new wine?

Thanks for any suggestion.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: uninstall doesn't work

Post by dimesio »

crom.osec wrote:I've removed all wine folders from home, restarted the computer (just to be sure), then installed wine 1.3.23 and still when trying to install visualstudio2005 it finds that net2.0 and trial version are installed.
Did you remove everything in ~/.local/share/wineprefixes? That's where winetricks defaults to installing apps and games.
crom.osec
Level 1
Level 1
Posts: 7
Joined: Sat Jul 02, 2011 5:40 am

uninstall doesn't work

Post by crom.osec »

yep,

actually I've searched for *wine* into / (root) and removed all related to wine so among these I've removed:
~/.wine
~/.local/share/wineprefixes
~/.cache/winetricks

Still seems that somewhere is kept some information about the old installations.
John Drescher

Uninstall Windows Apps?

Post by John Drescher »

On Sat, Jul 2, 2011 at 10:01 AM, crom.osec <[email protected]> wrote:
yep,

actually I've searched for *wine* into / (root) and removed all related to wine so among these I've removed:
~/.wine
~/.local/share/wineprefixes
~/.cache/winetricks

Still seems that somewhere is kept some information about the old installations.
Are you talking about menu items? Those are not stored in any of the
folders you deleted so they will remain. Read the FAQ on how to
deleted the menu items.

John
crom.osec
Level 1
Level 1
Posts: 7
Joined: Sat Jul 02, 2011 5:40 am

Uninstall Windows Apps?

Post by crom.osec »

I'm not talking about menu items. I know that menus are not stored in wine related folders.

The problem, as I've mentioned above is that when try to install visual studio 2005 it finds some prerequisites already installed (like .net 2.0 or windows installer 3.1) and stop the install with the message that another (trial) version of this product (VisualC2005) is already installed and must remove it first.

My big problem is that it keeps finding the previous install even after I've removed all folders and purged wine and installed new version.
This message (that finds previous install) doesn't occur on new kubuntu+wine installation, it occurs only after I've tried winetricks.

So my question is where this information is stored and what I need to do to COMPLETELY remove wine and reinstall a new fresh version (other solution than obvious one to reinstall kubuntu)..
John Drescher

Uninstall Windows Apps?

Post by John Drescher »

On Sat, Jul 2, 2011 at 10:43 AM, crom.osec <[email protected]> wrote:
I'm not talking about menu items. I know that menus are not stored in wine related folders.

The problem, as I've mentioned above is that when try to install visual studio 2005 it finds some prerequisites already installed (like .net 2.0 or windows installer 3.1) and stop the install with the message that another (trial) version of this product (VisualC2005) is already installed and must remove it first.

My big problem is that it keeps finding the previous install even after I've removed all folders and purged wine and installed new version.
This message (that finds previous install) doesn't occur on new kubuntu+wine installation, it occurs only after I've tried winetricks.

So my question is where this information is stored and what I need to do to COMPLETELY  remove wine and reinstall a new fresh version (other solution than obvious one to reinstall kubuntu)..
Are you installing and deleting under a normal user and not using the
root user or su or sudo ?

John
crom.osec
Level 1
Level 1
Posts: 7
Joined: Sat Jul 02, 2011 5:40 am

Uninstall Windows Apps?

Post by crom.osec »

Normal user.

The only change I've made to the logged in user since that user was created during kubuntu install was to add it to "disk" groups.

So the steps I've made are:
1. Into a new kubuntu computer I've installed wine1.2 using terminal, then sudo su, then apt-get install ....

2. I've installed VisualC2005 with winetricks I've started from the menu, as the logged in user.

3. tried to unintall visualC2005 from the menu and failed. then started again winetricks and deleted prefix. Tried to install visual studio 2005 and complains about previous version.

4. into the terminal sudo su, then apt-get --purge remove wine1.2, wine1.2-gecko and winetricks. then apt-get autoclean, apt-get autoremove
(all in sudo su session)

5. restarted computer.

6. searched for all *wine* folders in the root (/), including hidden files and found in home directory the previous mentioned folders (.wine, .local/share/wineprefixes, .cache/winetricks) + several files related to menus and file associations. Deleted all of them.

7. terminal, sudo su, apt-get install wine1.3


8. Noticed that I don't have anymore wine menus (this was my mistake, deleted also some wrong files). Edited the menu and made again entry only for winecfg.

9. Tried to install visual studio 2005 (double click on setup file open with dolphin, dolphin started as normal logged in user)

10. Same error on install - complains that a previous trial version already exists. Seems that finds already installed also microsoft windows installer 3.1 and .net 2.0
John Drescher

Uninstall Windows Apps?

Post by John Drescher »

9. Tried to install visual studio 2005 (double click on setup file open with dolphin, dolphin started as normal logged in user)

10. Same error on install - complains that a previous trial version already exists. Seems that finds already installed also microsoft windows installer 3.1 and .net 2.0
Perhaps you have a different default prefix setup in your environment?

Can you try the install from the terminal instead of double clicking on setup?

John M. Drescher
crom.osec
Level 1
Level 1
Posts: 7
Joined: Sat Jul 02, 2011 5:40 am

Uninstall Windows Apps?

Post by crom.osec »

Tried already, and same result. also I've tried with root user (started dolphin with kdesudo and run setup) and still same problem.
John Drescher

Uninstall Windows Apps?

Post by John Drescher »

On Sat, Jul 2, 2011 at 11:37 AM, crom.osec <[email protected]> wrote:
Tried already, and same result. also I've tried with root user (started dolphin with kdesudo and run setup) and still same problem.
Was the WINEPREFIX environment variable set?

John
John Drescher

Uninstall Windows Apps?

Post by John Drescher »

On Sat, Jul 2, 2011 at 11:46 AM, John Drescher <[email protected]> wrote:
On Sat, Jul 2, 2011 at 11:37 AM, crom.osec <[email protected]> wrote:
Tried already, and same result. also I've tried with root user (started dolphin with kdesudo and run setup) and still same problem.
Also I would avoid using the root user in wine. This will just cause
you problems and expose you malware.

--
John M. Drescher
crom.osec
Level 1
Level 1
Posts: 7
Joined: Sat Jul 02, 2011 5:40 am

Uninstall Windows Apps?

Post by crom.osec »

[...] Was the WINEPREFIX environment variable set? [...]

I didn't set it explicitly. How can I check?

[...] Also I would avoid using the root user in wine. [...]

I agree 100%. I only did it as test.
User avatar
SpawnHappyJake
Level 5
Level 5
Posts: 272
Joined: Sun Feb 06, 2011 5:57 am

Hmm

Post by SpawnHappyJake »

Would an "echo WINEPREFIX" in terminal tell you? I'm away from Linux at the moment, so I can't check at the moment.
Cheers,
Jake
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

Are you trying to install it now with winetricks, or manually? If the latter, you are probably not doing all the workarounds winetricks does to get vc2005express to install. One of them is
# Without mfc42.dll, pidgen.dll won't load, and the app claims "A trial edition is alread installed..."
The script has additional workarounds, depending on what Wine version is being used. If you really want to install it manually, you should probably read the relevant portion of winetricks to see how it does it.
crom.osec
Level 1
Level 1
Posts: 7
Joined: Sat Jul 02, 2011 5:40 am

Uninstall Windows Apps?

Post by crom.osec »

echo WINEPREFIX
WINEPREFIX

So it seems that wine prefix is not set.

[...] Are you trying to install it now with winetricks, or manually? [...]
I've tried to manually install visual studio 2005 when I've received the message about trial edition already installed.

Ok, so it seems that wine was clean but was the wrong message in installer (although I wonder why it finds already installed windows installer 3.1 and net 2.0).

I'll check more, but I can consider this issue solved for now. Thanks for help.
Martin Gregorie

Uninstall Windows Apps?

Post by Martin Gregorie »

On Sun, 2011-07-03 at 04:59 -0500, crom.osec wrote:
echo WINEPREFIX
WINEPREFIX

So it seems that wine prefix is not set.
You can't tell anything from that: "echo blah" does what it says on the
tin and outputs 'blah'. The correct command is

echo $WINEPREFIX

IOW you must prefix the name of a shell variable with '$' if you want to
see what's in it.


Martin
User avatar
SpawnHappyJake
Level 5
Level 5
Posts: 272
Joined: Sun Feb 06, 2011 5:57 am

Thank You Marin!

Post by SpawnHappyJake »

Thank you Marin! That's why we have to say "$HOME", lol :lol:.
Techknotted
Newbie
Newbie
Posts: 3
Joined: Sat Aug 07, 2010 8:12 pm

Post by Techknotted »

Currently updated and running Ubuntu 11.04 - the Natty Narwhal - Wine Version 1.2.2 still.
Itunes is now un-installed. and the system is stable with no issues, Please therefore consider this thread closed with the exception of the other chaps query.
Locked