Home Register Arcade Gallery Chatroom Members Today's Posts Log In
Go Back   Inside: SereneScreen Fan Forum > SereneScreen Products > Marine Aquarium 3 for Windows
Notices

Reply
 
Thread Tools
Old 01-21-2009, 01:09 PM   #301
Dale
Banned
 
Join Date: Jun 2005

Location: Western Missouri
Posts: 960
Originally posted by Edgar:
When MA3 with installer version comes, the folder will change again to the installed folder of MA3.  
That's for the logo file(s)? [Implies probable inability of individual users to have their own logos, without administrator permission?]
Dale is offline   Reply With Quote
Old 01-21-2009, 01:19 PM   #302
Dale
Banned
 
Join Date: Jun 2005

Location: Western Missouri
Posts: 960
Originally posted by Edgar:
The other problem that we have to think of is the uninstalling of the screensaver. Just using the User folder makes it more difficult to remove all the files that is created by MA3. Like I said, this will require a deeper study of the situation.
There is also the habit of Windows changing the rules for each new version. That is another headache to think about.  
Agree with "deeper study", and agree with "changing rules". But Windows rules are usually upward-compatible if they are followed. For instance: Microsoft has always said that you shouldn't put user-stuff in \Program Files\. But when Vista started enforcing that, lots of programs broke.

I do not agree that "Just using the User folder makes it more difficult to remove all the files that is created by MA3". It is extremely unwise for an uninstaller to touch files that are in the User folder (generalization, but applicable in most cases).

Consider a common situation: Somebody has problems with an application, contacts support (or a friend). Support says "Probably something is corrupted. Uninstall and reinstall".

Result: all users lose all personal settings.

There is a reason that almost NO APPLICATIONS will uninstall things that are in "user space".

So, it's not MORE difficult to uninstall, if you use the User folders. You just do what "everybody else" does, and ignore anything that is in User folders. That makes it EASIER.
Dale is offline   Reply With Quote
Old 01-21-2009, 01:30 PM   #303
Jim Sachs
Developer
 
Jim Sachs's Avatar
 
Join Date: Dec 2000

Location: Southern Oregon
Posts: 9,790
How 'bout if everyone just clicks the icon and watches the fish?
Jim Sachs
Creator of SereneScreen Aquarium
Jim Sachs is offline   Reply With Quote
Old 01-21-2009, 01:36 PM   #304
Nicki
Sugar Plum Fairy
 
Nicki's Avatar
 
Join Date: Dec 2008

Location: Toronto
Posts: 1,267
Originally posted by Jim Sachs:
How 'bout if everyone just clicks the icon and watches the fish?  

All my issues are resolved , so that's what I'm happily doing . Thanks everybody .

On the uninstaller thing though - it really irks me when software leaves its little traces everywhere , especially since I like to make user files im My Documents invisible for the sake of tidyness . But maybe there could be an option to uninstall ( basic ) or uninstall ( all traces ) . That way both needs could be met .
Nicki is offline   Reply With Quote
Old 01-21-2009, 01:44 PM   #305
feldon34
Forum Administrator
 
feldon34's Avatar
 
Join Date: Dec 2000

Location: Rock Hill, SC
Posts: 10,939
I am assuming the the Marine Aquarium 3 installer application will prompt to install for "All Users" or the "Currently Logged in User" as most installer packages now offer this choice.


Now you cannot assume that the C: drive is the boot drive. Further, you cannot assume that Documents and Settings is the profile folder. From Windows XP Environment Variables:

If Marine Aquarium 3 is installed for "All Users" then Logos and Playlist should be stored in the reserved directory %ALLUSERSPROFILE%\Application Data\SereneScreen\.

C:\Documents and Settings\All Users\Application Data\SereneScreen\ on most but not all systems.


If Marine Aquarium 3 is installed for a specific user and different users will have different logos and music playlists, then Logos and Playlist should be stored in the reserved directory %APPDATA%\SereneScreen\.

C:\Documents and Settings\Username\Application Data\SereneScreen\ on most but not all systems.


These directories are applicable to 2000, XP, Vista, and Windows 7.


The challenges:

When you install the Aquarium as All Users, a flag needs to be set somewhere for the Aquarium to look at one registry tree and one Documents and Settings folder regardless of the logged-in user. By the way this makes Uninstall easy.

However if you install the Aquarium on a User Account, then CURRENTUSER of the registry is used, and a specific user Profile folder inside Documents and Settings is used for that user's logos and playlists. If a user logs out and logs in, then they are using a different registry key, and different SereneScreen logo folder.


Now, how smart should the Aquarium then be expected to be? If you create a new user account should it scan the registry to see if there is an existing Aquarium Settings (especially one with a valid keycode?).

When you Uninstall the Aquarium, should it delete all profile information and registry keys for all users?
"Journalism is printing what someone else does not want printed. Everything else is public relations." - George Orwell
"If voting changed anything, they'd make it illegal." - Emma Goldman
feldon34 is offline   Reply With Quote
Old 01-21-2009, 02:08 PM   #306
Derrek
Registered
 
Join Date: Nov 2001

Posts: 186
Originally posted by Jim Sachs:
How 'bout if everyone just clicks the icon and watches the fish?  
That's too funny. It gave me a good laugh.

It has been so long so I don't remember but did you have the cross compatibility problems with the first screensaver and Windows 98/ME/2000/XP
Derrek is offline   Reply With Quote
Old 01-21-2009, 02:10 PM   #307
feldon34
Forum Administrator
 
feldon34's Avatar
 
Join Date: Dec 2000

Location: Rock Hill, SC
Posts: 10,939
The installer/uninstaller package I really like, although it may be too limited for your needs, is AGENTIX. It adds just 37kb to the package, and I am very happy with the feature set and ease of setting it up. It's very streamlined and quick to open and close. I find it is not buggy, flaky, and massive bloatware like InstallShield tends to be.


If you want a more powerful but still lightweight installer, consider the Nullsoft Installer. It is open source and has a ton of functionality and a full scripting language. It's easy to add pages like requesting and verifying a serial number during the installation, and easy to do different languages.

There are a lot of example code on how to use Nullsoft, even how to interact with REBOL.

One idea is to put a small cleanup batch file inside the User Profile folder and set that batch file to run, deleting all the other files in that folder, and then itself. You can tell Windows to run that script if someone clicks remove in "Add/Remove Programs".

This seemed useful:
http://nsis.sourceforge.net/Add_unin...emove_Programs
"Journalism is printing what someone else does not want printed. Everything else is public relations." - George Orwell
"If voting changed anything, they'd make it illegal." - Emma Goldman
feldon34 is offline   Reply With Quote
Old 01-21-2009, 02:11 PM   #308
feldon34
Forum Administrator
 
feldon34's Avatar
 
Join Date: Dec 2000

Location: Rock Hill, SC
Posts: 10,939
Originally posted by Derrek:
That's too funny. It gave me a good laugh.

It has been so long so I don't remember but did you have the cross compatibility problems with the first screensaver and Windows 98/ME/2000/XP  
MA3 is written in DirectX 9, so it requires 2000, XP, Vista, or Windows 7. It will not work on 95/98/Me at all.
"Journalism is printing what someone else does not want printed. Everything else is public relations." - George Orwell
"If voting changed anything, they'd make it illegal." - Emma Goldman
feldon34 is offline   Reply With Quote
Old 01-21-2009, 02:19 PM   #309
Derrek
Registered
 
Join Date: Nov 2001

Posts: 186
Originally posted by feldon32:
MA3 is written in DirectX 9, so it requires 2000, XP, Vista, or Windows 7. It will not work on 95/98/Me at all.  
I understand that. I was referring to MA1 (or beta name .99)
Derrek is offline   Reply With Quote
Old 01-21-2009, 02:26 PM   #310
Jim Sachs
Developer
 
Jim Sachs's Avatar
 
Join Date: Dec 2000

Location: Southern Oregon
Posts: 9,790
No, I just wrote that one for Win98.
Jim Sachs
Creator of SereneScreen Aquarium
Jim Sachs is offline   Reply With Quote
Old 01-21-2009, 03:08 PM   #311
Dale
Banned
 
Join Date: Jun 2005

Location: Western Missouri
Posts: 960
Originally posted by feldon32:
I am assuming the the Marine Aquarium 3 installer application will prompt to install for "All Users" or the "Currently Logged in User" as most installer packages now offer this choice.


Now you cannot assume that the C: drive is the boot drive. Further, you cannot assume that Documents and Settings is the profile folder. From Windows XP Environment Variables:  
Yes, as you say, environment variables must be used. Such as %PROGRAMFILES% for where the program files go.

Originally posted by feldon32:
If Marine Aquarium 3 is installed for "All Users" then Logos and Playlist should be stored in the reserved directory %ALLUSERSPROFILE%\Application Data\SereneScreen\.  
I do not agree. Installing the PROGRAM for all users simply means that any user can run the PROGRAM. The "default" logos and playlist could (and probably should) be located somewhere other than %PROGRAMFILES%. And the logos (and/or logo selection list) and playlist for each INDIVIDUAL USER could be located in %APPDATA% or the user's "My Documents", or wherever.

If the PROGRAM is installed for only "Current User", then that simply means that the PROGRAM is accessible to only that user. That decision is not usually DIRECTLY related to where files reside. And there are various good ways to accomplish the "protection" that allows only that one user to use this installation of the program. [And, BTW, there must be provision for the program to be installed for two or more individual users, but not all users]

Originally posted by feldon32:
The challenges:

When you install the Aquarium as All Users, a flag needs to be set somewhere for the Aquarium to look at one registry tree and one Documents and Settings folder regardless of the logged-in user. By the way this makes Uninstall easy.  
No, that's not necessary. Depending on what the designers want, it's easy enough to have the PROGRAM use what's applicable to an individual user to totally override the defaults; or to have the program look in the defaults AND look to see if the user has individual customizations, or several other PROGRAMMING possibilities, including having the PROGRAM, when first run for a user, transfer all of the system defaults to a folder in the user's area.

Originally posted by feldon32:
However if you install the Aquarium on a User Account, then CURRENTUSER of the registry is used, and a specific user Profile folder inside Documents and Settings is used for that user's logos and playlists. If a user logs out and logs in, then they are using a different registry key, and different SereneScreen logo folder.  
That's one possible implementation.

Originally posted by feldon32:
Now, how smart should the Aquarium then be expected to be? If you create a new user account should it scan the registry to see if there is an existing Aquarium Settings (especially one with a valid keycode?).  
The usual alternative is to not do anything when a new user account is created. But if the user CAN run the PROGRAM, when the PROGRAM first runs, it checks to see if the needed folders/files/whatever are in that user's space. If not, they are created at that time. [Alternatively, by program design, those folders/files might be created only if the user chooses to make customizations to the system defaults, add logos, playlists, etc.]

Originally posted by feldon32:
When you Uninstall the Aquarium, should it delete all profile information and registry keys for all users?  
*OPINION* it should delete only those things that would be RE-created by a RE-installation. In other words, any individualizations or system customizations should NOT be deleted.

Yes, I agree with the previous comment that it is "annoying" that uninstall programs leave a lot of things behind, but:

A. Most users never know, and therefore aren't annoyed.
B. Most users WOULD be annoyed if an uninstall/reinstall lost their settings.
C. That's why "registry cleaners" exist, for those who are annoyed.
Dale is offline   Reply With Quote
Old 01-21-2009, 05:38 PM   #312
rps
Registered
 
Join Date: Oct 2008

Posts: 57
My $0.02... I think Dale is right on the mark with his comments, and his description of how a "well-behaved" Windows program should work. Microsoft has defined specific "folder symbols" (that are mapped to real folders, on a user by user basis), and what each folder should be used for. There are Win32 API functions for retrieving that information. (See: SHGetFolderPath, CSIDL_PROGRAM_FILES, and CSIDL_APPDATA)

~Ralph S.
rps is offline   Reply With Quote
Old 01-21-2009, 06:48 PM   #313
Edgar
Prolific/SereneScreen Developer
 
Join Date: Mar 2003
1 Highscore

Location: Norwalk, CA
Posts: 513
On the next build, if Jim approves it, the user folder will be created in the directory pointed by the environment variable "APPDATA".

If MA3 is successful getting that value and MA3 was able to create "Marine Aquarium 3" folder there, then the MA3Playlist.lst will be written there.

If you need to have an AltLogo.png, put it in that same folder.

It will make this even more complicated for users to find their user data folder but it will prevent the file write access problem that is being reported here.
Edgar Tolentino
Prolific Developer

www.prolific.com
www.LifeGlobe.com
Edgar is offline   Reply With Quote
Old 01-21-2009, 09:12 PM   #314
Dale
Banned
 
Join Date: Jun 2005

Location: Western Missouri
Posts: 960
Originally posted by Edgar:
On the next build, if Jim approves it, the user folder will be created in the directory pointed by the environment variable "APPDATA".
..........
It will make this even more complicated for users to find their user data folder ....
.  
The usual way to "uncomplicate" that is to provide a way for the user to DISPLAY (and perhaps click-on-to-go-to) any folders of interest. Then you can just tell the user what button to click on, to find their data folder.

It is common to display various significant folder paths in the "About" screen.

That would work for MA3, and it would be perhaps even more logical to display the significant folder paths in the "Program Settings" panel.

[Gilding the lily: allow users to CHANGE these paths, by changing what is shown on that panel - perhaps optionally moving the current contents to the new path]
Dale is offline   Reply With Quote
Old 01-21-2009, 10:14 PM   #315
Jim Sachs
Developer
 
Jim Sachs's Avatar
 
Join Date: Dec 2000

Location: Southern Oregon
Posts: 9,790
Edgar's latest try at a Vista security hole fix: Beta 8g

http://www.fish-byte.com/MA3Beta.zip
Jim Sachs
Creator of SereneScreen Aquarium
Jim Sachs is offline   Reply With Quote
Old 01-22-2009, 04:44 AM   #316
cjmaddy
Registered
 
cjmaddy's Avatar
 
Join Date: Nov 2001

Location: Lancashire, UK
Posts: 7,854
The 'L' key logo change is not working again in Beta8g. - So where must we now move the AltLogo file to this time? - It's still in the MA26 install folder, and I've tried it in the '8g' MA3Beta.scr folder. - The alternate logo will still display in Beta8f, but not in this latest Beta8g.

The misalignment effect I've previously described is still present. Shouldn't it be pointed out that if MA3 is to be viewed on more than one monitor, then all monitors must be the same size and set to the same resolution? - This may be considered obvious to some, - but unlike similar programs, (MA2.6 for instance), MA3 does not display the whole scene at a reduced resolution, unless both screens are similarly reduced.
cjmaddy is offline   Reply With Quote
Old 01-22-2009, 07:25 AM   #317
jleslie
Engineer
 
jleslie's Avatar
 
Join Date: Aug 2002

Location: London, UK
Posts: 1,279
On the uninstaller - I think it should have an option to leave the configuration files behind, but should also be able to remove everything. That's considered good behaviour for an uninstaller...
John
jleslie is offline   Reply With Quote
Old 01-22-2009, 07:46 AM   #318
Jav400
Administrator
 
Jav400's Avatar
 
Join Date: Dec 2000
22 Highscores

Location: Tennessee
Posts: 9,725
Personally it tick's me off no end for a program to leave files behind. If I want something deleted from my system, I expect it to be as if it was never there after a uninstall.
Jav400 is offline   Reply With Quote
Old 01-22-2009, 10:26 AM   #319
Edgar
Prolific/SereneScreen Developer
 
Join Date: Mar 2003
1 Highscore

Location: Norwalk, CA
Posts: 513
If you try to add a entry in the playlist for the frist time, check the folder it opens up from, that will be the folder where you need to put the AltLogo.png.
Edgar Tolentino
Prolific Developer

www.prolific.com
www.LifeGlobe.com
Edgar is offline   Reply With Quote
Old 01-22-2009, 10:40 AM   #320
loub516
Registered
 
loub516's Avatar
 
Join Date: Mar 2002

Location: Savannah, Ga.
Posts: 421
That's where mine is but the L key is not working. Beta 8g
LB

Last edited by loub516; 01-22-2009 at 12:28 PM.
loub516 is offline   Reply With Quote
Reply
Go Back   Inside: SereneScreen Fan Forum > SereneScreen Products > Marine Aquarium 3 for Windows




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 On


All times are GMT -6. The time now is 10:31 AM.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.