World Wind Forums

Go Back   World Wind Forums > Support > Bug Reports

Bug Reports If you've found a bug in World Wind, discuss it here.

Reply
 
Thread Tools Display Modes
Old 02-12-2009, 07:01 PM   #1
rpremuz
Junior Member
 
Join Date: Feb 2009
Posts: 1
Default installation puts shortcuts in the current user profile

On MS Windows 2000 and Windows XP (which are supported by World Wind)
the following environment variables exist (among others) after a user
logs into Windows:
ALLUSERSPROFILE - directory path of the user profile accessible by all users
USERPROFILE - directory path of the current user profile

I installed World Wind 1.4 on an MS Windows XP Professional SP3
(English edition) and noticed that the installation put shortcuts for
starting the application into the following directory:
"%USERPROFILE%\Start Menu\Programs\NASA\World Wind"
which is intended only for that particular user. If other users log
into the system, they can't access the shortcuts (i.e. the shortcuts
don't appear on the Start Menu).

Instead the installation should put the shortcuts in
"%ALLUSERSPROFILE%\Start Menu\Programs\NASA\World Wind"

Here are two commands that the admin (who run the installation)
can run in cmd.exe to fix the problem:

xcopy "%USERPROFILE%\Start Menu\Programs\NASA\World Wind" "%ALLUSERSPROFILE%\Start Menu\Programs\NASA\World Wind" /I
rmdir /s /q "%USERPROFILE%\Start Menu\Programs\NASA\World Wind"

Please fix the problem in the next release of the software.

BTW, I see that problem too often in software developed for MS Windows
and I'd say that many software developers for MS environment lack
knowledge of basic rules for administration of a multi-user system:
(1) There is an administrative user account that is used for
installing software (including drivers) or configuring some
system-wide settings.
(2) Users should log in with user accounts that don't have the
administrative rights, i.e. they are not able to install any software
except some simple plug-ins for Internet browsers.
(3) Every application software installed on the system should run
without requiring that the user has administrative rights on the
system. Also, the application should save the user's settings in the
area of the system that belongs to and is intended for use by the user
(e.g. user's home directory, user's profile directory, user's registry
files).

In the past Microsoft didn't try hard to teach users and developers to
follow such rules and so many got used to some bad habits regarding
using the Windows, which caused everybody many problems.

-- rpr.
rpremuz is offline   Reply With Quote
Old 02-12-2009, 08:54 PM   #2
bull
Cosmic Overlord
 
bull's Avatar
 
Join Date: Oct 2004
Location: United Kingdom
Posts: 2,362
Default

I will try to fix this in the next release.
__________________
Bull_[UK]

bull is offline   Reply With Quote
Old 08-02-2009, 01:49 PM   #3
Ammianus
Senior Member
 
Ammianus's Avatar
 
Join Date: Jan 2009
Location: Boston, MA, USA
Posts: 129
Default

Don't most applications have some option in the installation saying do you want Shortcuts visible to all users or just to current user? Is this fix to do the same, or to default to All users.

Quote:
(3) Every application software installed on the system should run
without requiring that the user has administrative rights on the
system. Also, the application should save the user's settings in the
area of the system that belongs to and is intended for use by the user
(e.g. user's home directory, user's profile directory, user's registry
files).
Specifically for this do you mean that each user has separate cache files, separate preferences?

I haven't tried but in Windows Vista, the settings for WW.NET are saved under C:\Users\<myusername>\AppData\Roaming\NA SA\World Wind\1.4.0.1 i.e. World.xml for start up settings, and WorldWind.xml for cache, config and data information.

Wouldn't this be stored per user if they configured it already? I guess by default the cache, data and config information are stored in the WorldWind installation directory. Maybe these defaults should be changed to the relevant user directories? But then again doesn't it make some sense for the cache to be shared rather than repeated in multiple places?

This has been logged as Issue 9 on the 1_4_1_Issues. Please note this does not mean it will be or is planned to be fixed at this time.

Last edited by Ammianus; 08-02-2009 at 01:56 PM.
Ammianus is offline   Reply With Quote
Old 05-19-2010, 09:08 PM   #4
Unregistered
Guest
 
Posts: n/a
Default MSI installer? ALLUSERS Property

If this application is an msi installer you might be able to resolve the issue buy setting the ALLUSER property in the command line.
  Reply With Quote
Old 05-27-2010, 04:52 PM   #5
m_k
Bored Explorer
 
m_k's Avatar
 
Join Date: Nov 2004
Location: Warsaw, Poland
Posts: 1,737
Default

WW.Net uses NSIS installer.
__________________
Hot stuff: FAQ, forum search, DirectX, .NET, Video Card Compatibility list
m_k is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may post new threads
You may 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 +1. The time now is 05:17 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.