[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  Installer
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Installer

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


Posted by Poromenos   Greece  (1,037 posts)  [Biography] 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!
[Go to top] top

Posted by Nick Gammon   Australia  (21,607 posts)  [Biography] 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
[Go to top] top

Posted by Nick Gammon   Australia  (21,607 posts)  [Biography] 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
[Go to top] top

Posted by Poromenos   Greece  (1,037 posts)  [Biography] 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!
[Go to top] top

Posted by Nick Gammon   Australia  (21,607 posts)  [Biography] 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
[Go to top] top

Posted by Flannel   USA  (1,230 posts)  [Biography] 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.
[Go to top] top

Posted by Nick Gammon   Australia  (21,607 posts)  [Biography] 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
[Go to top] top

Posted by Poromenos   Greece  (1,037 posts)  [Biography] 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!
[Go to top] 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.


4,147 views.

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

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]