Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.
 Entire forum ➜ MUSHclient ➜ General ➜ Installer

Installer

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Tue 30 Nov 2004 10:47 PM (UTC)
Message
Could you make the installer not overwrite any installed plugins? I have changed the chat, multiple send, etc plugins and I am worried they might get overwritten. Also, if you want to send me your NSIS script I can convert it to NSIS version 2, which is shinier.

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Nick Gammon   Australia  (23,102 posts)  Bio   Forum Administrator
Date Reply #1 on Tue 30 Nov 2004 11:14 PM (UTC)
Message
Didn't we go through this topic a while back? How do I know something has changed? Or do you just want to never overwrite? In that case, if someone hasn't changed it, and it has a bug which I fix in a later release, then they keep the buggy one forever.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Nick Gammon   Australia  (23,102 posts)  Bio   Forum Administrator
Date Reply #2 on Tue 30 Nov 2004 11:16 PM (UTC)
Message
I am using NSIS version 2, but I can send you the script.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #3 on Tue 30 Nov 2004 11:19 PM (UTC)
Message
Hm, maybe we did. NSIS has an "overwrite if newer" option... Could you send it to poromenos at gmail dot com, and I'll see if I can make any improvements and send it back.

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Nick Gammon   Australia  (23,102 posts)  Bio   Forum Administrator
Date Reply #4 on Wed 01 Dec 2004 04:40 AM (UTC)
Message
I sent it, however I think we talked at some length about the "overwrite if newer" option. Dates simply don't work - what if you changed it last week, and I changed it this week? Mine is newer, yes? But reverse the order, and yours is newer. What we need to detect is *who* made the change, not when it was made.

Like I said last time, I think the only way that could work would be to do a hash of every file (as shipped) and then compare the hash to see if it is the same file. Even then it could get fiddly, as I would need to know the hash of all released versions (assuming there were more than one).

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Flannel   USA  (1,230 posts)  Bio
Date Reply #5 on Wed 01 Dec 2004 04:51 AM (UTC)
Message
I think its plenty fine as it is.

We've said not to use the default files (or at least change their name) forever, so if youve edited something, add a 2 to the filename, or something, to make sure it doesn't get overwritten.

What if something has changed that's important (nick updated something in one of his plugins) but you've changed yours as well, how would you know? What if you changed your plugin, but didnt know you had?

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
Top

Posted by Nick Gammon   Australia  (23,102 posts)  Bio   Forum Administrator
Date Reply #6 on Wed 01 Dec 2004 05:14 AM (UTC)
Message
Probably the answer is: make backups.

If you have done work, and not backed it up, you have the same problem if your hard disk crashes.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #7 on Wed 01 Dec 2004 06:27 PM (UTC)
Message
Quote:

What if something has changed that's important (nick updated something in one of his plugins) but you've changed yours as well, how would you know?

I wouldn't know either way, since if I had changed the filename I'd never open the installed one (unless I saw an announcement saying that it was changed or something).

Quote:

If you have done work, and not backed it up, you have the same problem if your hard disk crashes.

Yes, but I would prefer not to add installers to the risk of HDD crash :P Besides, an HDD crash is mostly recoverable (if you're using NTFS, anyway).

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


17,962 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.