JREF Homepage Swift Blog Events Calendar $1 Million Paranormal Challenge The Amaz!ng Meeting Useful Links Support Us
James Randi Educational Foundation JREF Forum
Forum Index Register Members List Events Mark Forums Read Help

Go Back   JREF Forum » General Topics » Computers and the Internet
Click Here To Donate

Notices


Reply
Old 25th November 2009, 08:36 AM   #1
Almo
Masterblazer
 
Almo's Avatar
 
Join Date: Aug 2005
Location: Montreal, Quebec
Posts: 3,049
Arrrghh! Bad programmers/uninstall scripts

I hate it when people write uninstall scripts with bugs. One just erased a load of stuff from my start menu.

Grrrrrrr.

I once had one delete my entire D:\Games directory.
__________________
Almo!

My Blog
"God may not play dice with the universe, but something strange is going on with the prime numbers." — Paul Erdős
Stop being so rational. It doesn't make any sense. - Gauthier Malou
Almo is offline   Quote this post in a PM   Nominate this post for this month's language award Copy a direct link to this post Reply With Quote Back to Top
Old 25th November 2009, 09:40 AM   #2
laca
Muse
 
Join Date: May 2009
Posts: 739
Originally Posted by Almo View Post
I hate it when people write uninstall scripts with bugs. One just erased a load of stuff from my start menu.

Grrrrrrr.

I once had one delete my entire D:\Games directory.
laca is offline   Quote this post in a PM   Nominate this post for this month's language award Copy a direct link to this post Reply With Quote Back to Top
Old 25th November 2009, 09:47 AM   #3
jnelso99
Critical Thinker
 
Join Date: Jun 2003
Posts: 253
Wasn't there some Apple application uninstall script a couple years ago that had in it something to the effect of "cd \SomeAppDir; rm .\*", but they forgot the "."?
jnelso99 is offline   Quote this post in a PM   Nominate this post for this month's language award Copy a direct link to this post Reply With Quote Back to Top
Old 25th November 2009, 12:52 PM   #4
Paul C. Anagnostopoulos
Looking for Fountain of Smart
 
Paul C. Anagnostopoulos's Avatar
 
Join Date: Aug 2001
Location: a little toolshed
Posts: 17,157
My recipe for installation: Put absolutely everything in the product directory. Don't put anything anywhere else. You're allowed to add an item to the Start menu. And for crying out loud don't put a damn icon on my desktop without asking me, you cluttering bastard!

~~ Paul
__________________
Millions long for immortality who do not know what to do with themselves on a rainy Sunday afternoon. ---Susan Ertz

pi = 3.1415926...19729715941700531415926095214704122509...

Last edited by Paul C. Anagnostopoulos; 25th November 2009 at 12:54 PM.
Paul C. Anagnostopoulos is offline   Quote this post in a PM   Nominate this post for this month's language award Copy a direct link to this post Reply With Quote Back to Top
Old 25th November 2009, 02:06 PM   #5
Rrose Selavy
Graduate Poster
 
Rrose Selavy's Avatar
 
Join Date: Sep 2004
Location: UK
Posts: 1,156
It's also when they add themsleves to startup as well I hate. Even tweaking msconfg it's back when next time you use the prog..
That's why I won't have Apple Quicktime on my system.
Rrose Selavy is offline   Quote this post in a PM   Nominate this post for this month's language award Copy a direct link to this post Reply With Quote Back to Top
Old 25th November 2009, 02:29 PM   #6
Yalius
Thinker
 
Join Date: Dec 2005
Posts: 214
Originally Posted by Paul C. Anagnostopoulos View Post
My recipe for installation: Put absolutely everything in the product directory. Don't put anything anywhere else. You're allowed to add an item to the Start menu. And for crying out loud don't put a damn icon on my desktop without asking me, you cluttering bastard!

~~ Paul
I prefer having the program and program only in the product directory. Any user prefs, saved games, config files or anything that changes in the course of using the program to go into ..\AppData or ..\Application Data.
Yalius is offline   Quote this post in a PM   Nominate this post for this month's language award Copy a direct link to this post Reply With Quote Back to Top
Old 25th November 2009, 06:22 PM   #7
Paul C. Anagnostopoulos
Looking for Fountain of Smart
 
Paul C. Anagnostopoulos's Avatar
 
Join Date: Aug 2001
Location: a little toolshed
Posts: 17,157
Originally Posted by Yalius
I prefer having the program and program only in the product directory. Any user prefs, saved games, config files or anything that changes in the course of using the program to go into ..\AppData or ..\Application Data.
Why? There's probably some good reason, so I'll allow it, as long as it all goes in an app-specific directory under Application Data.

~~ Paul
__________________
Millions long for immortality who do not know what to do with themselves on a rainy Sunday afternoon. ---Susan Ertz

pi = 3.1415926...19729715941700531415926095214704122509...
Paul C. Anagnostopoulos is offline   Quote this post in a PM   Nominate this post for this month's language award Copy a direct link to this post Reply With Quote Back to Top
Old 25th November 2009, 07:35 PM   #8
grmcdorman
Muse
 
Join Date: Mar 2007
Posts: 553
Originally Posted by Paul C. Anagnostopoulos View Post
Why? There's probably some good reason, so I'll allow it, as long as it all goes in an app-specific directory under Application Data.

~~ Paul
The "program files" directory should be read-only to normal (non-privileged) programs. This is to prevent accidental or malicious (virus/malware) modifying application or system components.

Recent versions of Windows enforce this, but there are still a lot of applications that don't follow this (including newly created ones). This is why people often use only "administrator" (fully privileged) accounts under XP.

It is possible to change access to individual directories under "Program Files", but it is not easy under XP Home for the user.

ETA: In addition, placing modifiable configuration files in a user-specific directory makes per-user configurations automatic. The configuration files that should be shared between all users have a specific place as well (in XP, "Documents and Settings\All Users", various sub-directories.)

Further, Windows allows these folders to be moved to other locations (e.g. a 2ND hard drive for performance or ease of backup). A program that doesn't follow these rules makes life difficult.
__________________
"Hello. My name is Inigo Skywalker. You are my father. Prepare to die."

Last edited by grmcdorman; 25th November 2009 at 07:38 PM.
grmcdorman is offline   Quote this post in a PM   Nominate this post for this month's language award Copy a direct link to this post Reply With Quote Back to Top
Old 26th November 2009, 10:55 AM   #9
Paul C. Anagnostopoulos
Looking for Fountain of Smart
 
Paul C. Anagnostopoulos's Avatar
 
Join Date: Aug 2001
Location: a little toolshed
Posts: 17,157
Yup, those are good reasons. I'll allow it.

~~ Paul
__________________
Millions long for immortality who do not know what to do with themselves on a rainy Sunday afternoon. ---Susan Ertz

pi = 3.1415926...19729715941700531415926095214704122509...
Paul C. Anagnostopoulos is offline   Quote this post in a PM   Nominate this post for this month's language award Copy a direct link to this post Reply With Quote Back to Top
Reply

JREF Forum » General Topics » Computers and the Internet

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -7. The time now is 02:48 PM.
Powered by vBulletin. Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© 2001-2010, James Randi Educational Foundation. All Rights Reserved.

Disclaimer: Messages posted in the Forum are solely the opinion of their authors.