You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2009/04/07 18:36:13 UTC

[jira] Created: (DIRSTUDIO-482) Uninstalling Studio on windows remove all the other installed component in the same directoy...

Uninstalling Studio on windows remove all the other installed component in the same directoy...
-----------------------------------------------------------------------------------------------

                 Key: DIRSTUDIO-482
                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-482
             Project: Directory Studio
          Issue Type: Bug
    Affects Versions: 1.3.0
         Environment: Windows XP
            Reporter: Emmanuel Lecharny
            Priority: Blocker


I downloaded Studio, launched it, and as I already had it installed, it asked me if I wanted to remove the previous installation. So far so good. Wait... I had a window open where all the deleted file were shown :
/opt/cygwin/<all my cygwin files !>

Basically, it wept ALL MY BLOODY FILES, including Studio. Hopefully, I didn't installed it in c:\windows, otherwise ...

There is something wrong in the uninstaller, and this should be fixed urgently. I'm afraid that it may differ the release ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (DIRSTUDIO-482) Uninstalling Studio on windows remove all the other installed component in the same directoy...

Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSTUDIO-482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre-Arnaud Marcelot reassigned DIRSTUDIO-482:
------------------------------------------------

    Assignee: Pierre-Arnaud Marcelot

> Uninstalling Studio on windows remove all the other installed component in the same directoy...
> -----------------------------------------------------------------------------------------------
>
>                 Key: DIRSTUDIO-482
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-482
>             Project: Directory Studio
>          Issue Type: Bug
>    Affects Versions: 1.3.0
>         Environment: Windows XP
>            Reporter: Emmanuel Lecharny
>            Assignee: Pierre-Arnaud Marcelot
>            Priority: Blocker
>
> I downloaded Studio, launched it, and as I already had it installed, it asked me if I wanted to remove the previous installation. So far so good. Wait... I had a window open where all the deleted file were shown :
> /opt/cygwin/<all my cygwin files !>
> Basically, it wept ALL MY BLOODY FILES, including Studio. Hopefully, I didn't installed it in c:\windows, otherwise ...
> There is something wrong in the uninstaller, and this should be fixed urgently. I'm afraid that it may differ the release ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (DIRSTUDIO-482) Uninstalling Studio on Windows also removes all the other installed component in the same directory!

Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSTUDIO-482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre-Arnaud Marcelot resolved DIRSTUDIO-482.
----------------------------------------------

    Resolution: Fixed

Fixed a revision 763286.

http://svn.apache.org/viewvc?rev=763286&view=rev

> Uninstalling Studio on Windows also removes all the other installed component in the same directory!
> ----------------------------------------------------------------------------------------------------
>
>                 Key: DIRSTUDIO-482
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-482
>             Project: Directory Studio
>          Issue Type: Bug
>    Affects Versions: 1.3.0
>         Environment: Windows XP
>            Reporter: Emmanuel Lecharny
>            Assignee: Pierre-Arnaud Marcelot
>            Priority: Blocker
>
> I downloaded Studio, launched it, and as I already had it installed, it asked me if I wanted to remove the previous installation. So far so good. Wait... I had a window open where all the deleted file were shown :
> /opt/cygwin/<all my cygwin files !>
> Basically, it wept ALL MY BLOODY FILES, including Studio. Hopefully, I didn't installed it in c:\windows, otherwise ...
> There is something wrong in the uninstaller, and this should be fixed urgently. I'm afraid that it may differ the release ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (DIRSTUDIO-482) Uninstalling Studio on Windows also removes all the other installed component in the same directory!

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSTUDIO-482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny closed DIRSTUDIO-482.
---------------------------------------

    Assignee: Felix Knecht  (was: Pierre-Arnaud Marcelot)

> Uninstalling Studio on Windows also removes all the other installed component in the same directory!
> ----------------------------------------------------------------------------------------------------
>
>                 Key: DIRSTUDIO-482
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-482
>             Project: Directory Studio
>          Issue Type: Bug
>    Affects Versions: 1.3.0
>         Environment: Windows XP
>            Reporter: Emmanuel Lecharny
>            Assignee: Felix Knecht
>            Priority: Blocker
>
> I downloaded Studio, launched it, and as I already had it installed, it asked me if I wanted to remove the previous installation. So far so good. Wait... I had a window open where all the deleted file were shown :
> /opt/cygwin/<all my cygwin files !>
> Basically, it wept ALL MY BLOODY FILES, including Studio. Hopefully, I didn't installed it in c:\windows, otherwise ...
> There is something wrong in the uninstaller, and this should be fixed urgently. I'm afraid that it may differ the release ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DIRSTUDIO-482) Uninstalling Studio on Windows also removes all the other installed component in the same directory!

Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSTUDIO-482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre-Arnaud Marcelot updated DIRSTUDIO-482:
---------------------------------------------

    Summary: Uninstalling Studio on Windows also removes all the other installed component in the same directory!  (was: Uninstalling Studio on windows remove all the other installed component in the same directoy...)

> Uninstalling Studio on Windows also removes all the other installed component in the same directory!
> ----------------------------------------------------------------------------------------------------
>
>                 Key: DIRSTUDIO-482
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-482
>             Project: Directory Studio
>          Issue Type: Bug
>    Affects Versions: 1.3.0
>         Environment: Windows XP
>            Reporter: Emmanuel Lecharny
>            Assignee: Pierre-Arnaud Marcelot
>            Priority: Blocker
>
> I downloaded Studio, launched it, and as I already had it installed, it asked me if I wanted to remove the previous installation. So far so good. Wait... I had a window open where all the deleted file were shown :
> /opt/cygwin/<all my cygwin files !>
> Basically, it wept ALL MY BLOODY FILES, including Studio. Hopefully, I didn't installed it in c:\windows, otherwise ...
> There is something wrong in the uninstaller, and this should be fixed urgently. I'm afraid that it may differ the release ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSTUDIO-482) Uninstalling Studio on Windows also removes all the other installed component in the same directory!

Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSTUDIO-482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12697065#action_12697065 ] 

Pierre-Arnaud Marcelot commented on DIRSTUDIO-482:
--------------------------------------------------

That's fixed now.

It now creates a "Apache Directory Studio" even if you select a custom location.
I.e if you select "/opt", Studio will now be installed in "/opt/Apache Directory Studio".

And that's only this directory that is being deleted... Hopefully.

[If this fix is not enough, we could also look at this: http://nsis.sourceforge.net/Advanced_Uninstall_Log_NSIS_Header]

> Uninstalling Studio on Windows also removes all the other installed component in the same directory!
> ----------------------------------------------------------------------------------------------------
>
>                 Key: DIRSTUDIO-482
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-482
>             Project: Directory Studio
>          Issue Type: Bug
>    Affects Versions: 1.3.0
>         Environment: Windows XP
>            Reporter: Emmanuel Lecharny
>            Assignee: Pierre-Arnaud Marcelot
>            Priority: Blocker
>
> I downloaded Studio, launched it, and as I already had it installed, it asked me if I wanted to remove the previous installation. So far so good. Wait... I had a window open where all the deleted file were shown :
> /opt/cygwin/<all my cygwin files !>
> Basically, it wept ALL MY BLOODY FILES, including Studio. Hopefully, I didn't installed it in c:\windows, otherwise ...
> There is something wrong in the uninstaller, and this should be fixed urgently. I'm afraid that it may differ the release ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSTUDIO-482) Uninstalling Studio on windows remove all the other installed component in the same directoy...

Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSTUDIO-482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12696626#action_12696626 ] 

Pierre-Arnaud Marcelot commented on DIRSTUDIO-482:
--------------------------------------------------

Ouch !!!

That's very bad... Sorry about it.

The problem is that we simply drop the folder where Studio was installed.
It looks like this in the uninstaller code:
RMDir /r "$STUDIO_HOME_DIR"  ;Studio install dir

I think we used this because usually on Windows each software is installed in its own (sub) folder.

We have to fix this...

I think we could use something like that:
http://nsis.sourceforge.net/Uninstall_only_installed_files

> Uninstalling Studio on windows remove all the other installed component in the same directoy...
> -----------------------------------------------------------------------------------------------
>
>                 Key: DIRSTUDIO-482
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-482
>             Project: Directory Studio
>          Issue Type: Bug
>    Affects Versions: 1.3.0
>         Environment: Windows XP
>            Reporter: Emmanuel Lecharny
>            Assignee: Pierre-Arnaud Marcelot
>            Priority: Blocker
>
> I downloaded Studio, launched it, and as I already had it installed, it asked me if I wanted to remove the previous installation. So far so good. Wait... I had a window open where all the deleted file were shown :
> /opt/cygwin/<all my cygwin files !>
> Basically, it wept ALL MY BLOODY FILES, including Studio. Hopefully, I didn't installed it in c:\windows, otherwise ...
> There is something wrong in the uninstaller, and this should be fixed urgently. I'm afraid that it may differ the release ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.