Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uninstall does not remove symbolic links #99

Open
ReinerWirtz opened this issue Apr 29, 2011 · 2 comments
Open

Uninstall does not remove symbolic links #99

ReinerWirtz opened this issue Apr 29, 2011 · 2 comments

Comments

@ReinerWirtz
Copy link

I used IJ 1.2.15 to install an application which uses shared libraries on Linux, SUN and AIX.
During installation tests I discovered issue #75.
Because of a hint by Damon Courtney I tried to use the 1.2 snapshot version from March 22nd 2011.
This version of IJ installed the shared library correctly, but I discovered issue #92.
So I tied a special patch version in the way that I use the snapshot version and replced the directory "Binaries/Windows/twapi" of the snapshot version by the corresponding directory of the IJ release 1.2.15.
It works fine, but now I tried to uninstall the application on a Linux machine.
But this does not work properly. All the symbolic links, which were correctly created by the installer, are not removed by the uninstaller of IJ. They remain in their installation directory.

@damoncourtney
Copy link
Owner

Are you sure you're operating from a clean install? If the symlinks were on the system before you ran the installer, InstallJammer will not delete them when it uninstalls. I can't think of another reason why the symlinks would not be included in the uninstaller.

Did you install as a regular user or as root? If you installed as a regular user, look in ~/.installjammerinfo for your Application ID directory and then find the most recent installation and look at the .log file. It should contain the data telling you what all was installed. This is the file the uninstaller uses to determine what to remove. Do you see the symlinks in there?

On Apr 29, 2011, at 8:54 AM, ReinerWirtz wrote:

I used IJ 1.2.15 to install an application which uses shared libraries on Linux, SUN and AIX.
During installation tests I discovered issue #75.
Because of a hint by Damon Courtney I tried to use the 1.2 snapshot version from March 22nd 2011.
This version of IJ installed the shared library correctly, but I discovered issue #92.
So I tied a special patch version in the way that I use the snapshot version and replced the directory "Binaries/Windows/twapi" of the snapshot version by the corresponding directory of the IJ release 1.2.15.
It works fine, but now I tried to uninstall the application on a Linux machine.
But this does not work properly. All the symbolic links, which were correctly created by the installer, are not removed by the uninstaller of IJ. They remain in their installation directory.

Reply to this email directly or view it on GitHub:
#99

@ReinerWirtz
Copy link
Author

Hi Damon,
I'm sure, that is was a clean install.
I wanted to look, in which files the needed environment variables will be written by IJ.
So I created a new user and installed the product for this user.
After the uninstall I saw the remaining links.
Then I removed the install directory and the directory ".installjammerinfo".
Then I copied the file ".profile" to ".bash_profile" and did again a new install.
Then I did the uninstall again and discovered the remaining links again.

I reproduced the situation again.
There was no ".installljammerinfo" and no installation directory and no environment variables in the user ".profile" and ".bashrc" files.
Then I installed the product.
I make a directory listing of the installation directory (HCS_install_ls.lst) and created a tar-container (HCS_installjammerinfo.tar) with the ".installjammerinfo/" directory.
Then I did the uninstall and created the directory listing of the installation directory (HCS_uninstall_ls.lst) afterwards.
The directory ".installjammerinfo" is empty after the uninstall.

I have not tested the uninstall on other operating systems yet.

Greetings
Reiner

-----Ursprüngliche Nachricht-----
Von: damoncourtney [mailto:reply@reply.github.com]
Gesendet: Freitag, 29. April 2011 19:04
An: WIRTZ, Reiner
Betreff: Re: [GitHub] Uninstall does not remove symbolic links [damoncourtney/installjammer GH-99]

Are you sure you're operating from a clean install? If the symlinks were on the system before you ran the installer, InstallJammer will not delete them when it uninstalls. I can't think of another reason why the symlinks would not be included in the uninstaller.

Did you install as a regular user or as root? If you installed as a regular user, look in ~/.installjammerinfo for your Application ID directory and then find the most recent installation and look at the .log file. It should contain the data telling you what all was installed. This is the file the uninstaller uses to determine what to remove. Do you see the symlinks in there?

On Apr 29, 2011, at 8:54 AM, ReinerWirtz wrote:

I used IJ 1.2.15 to install an application which uses shared libraries on Linux, SUN and AIX.
During installation tests I discovered issue #75.
Because of a hint by Damon Courtney I tried to use the 1.2 snapshot version from March 22nd 2011.
This version of IJ installed the shared library correctly, but I discovered issue #92.
So I tied a special patch version in the way that I use the snapshot version and replced the directory "Binaries/Windows/twapi" of the snapshot version by the corresponding directory of the IJ release 1.2.15.
It works fine, but now I tried to uninstall the application on a Linux machine.
But this does not work properly. All the symbolic links, which were correctly created by the installer, are not removed by the uninstaller of IJ. They remain in their installation directory.

Reply to this email directly or view it on GitHub:
#99

Reply to this email directly or view it on GitHub:
#99 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants