History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: LPP-3875
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: P0 P0
Assignee: Mamye Kratt
Reporter: Antun Karlovac
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenLaszlo

Default install location is inappropriate for Windows Vista

Created: 12/Apr/07 03:53 PM   Updated: 16/Oct/08 10:51 AM
Component/s: Installer
Affects Version/s: 4.0.0, 3.4
Fix Version/s: Dunkin (4.2b3)

Time Tracking:
Not Specified

Severity: Minor
Runtime: N/A
Fix in hand: False


 Description  « Hide
By default OpenLaszlo installs in C:\Program Files... Vista no longer allows that settings get placed under Program Files. i.e . these files should not vary.

In OpenLaszlo, you have to put your own source code under this folder, and the server tries to save files there too (e.g. SWFs for SOLO deployment).

It might be better to suggest an alternative install location, such as C:\Programs (that's a made-up one).

-Antun

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
P T Withington - 09/May/07 10:52 AM
To investigate, once you have a Vista box

Philip Romanik - 09/Oct/07 12:20 PM
Vista uses virtualization to control access to files. I installed 4.0.5 from:

http://download.openlaszlo.org/4.0.5/openlaszlo-4.0.5-windows-dev-install.exe

In the short term, a solution is to modify the security permissions on
c:\Program Files\OpenLaszlo Server 4.0.5 and add "Full control" to Users. You need administrator privilege to do this:

- Right-click on c:\Program Files\OpenLaszlo Server 4.0.5 in explorer. Select properties
- goto "Security" tab
- click "Edit" button (You should get a popup box asking for permission to do this)
- in the list of "Group or user names" select "Users". Click "Full control" and hit the "Apply" button.

All the files under c:\Program Files\OpenLaszlo Server 4.0.5 should now be accessible by users.


P T Withington - 10/Oct/07 05:13 AM
So there are really two issues here:

1) Presumably we would have to get a secret handshake from MS to allow our installer to be trusted. (In OS X, you default to being an admin and when you install you just get prompted for your pw. In Vista you default to not being admin, so you must become admin _before_ you try to install. But it seems that there must be some trusted installers that are allowed to auto-admin themselves.)

2) Programs should not be diddling files in the Applications/Program Files folder because that looks like malware. We should split the stuff that needs to be r/w to another folder. Library/Application\ Support on OS X, I don't know the equivalent on Vista.

Maybe you want to split this into two bugs?

Philip Romanik - 17/Jun/08 11:04 AM
For RingDing documentation:

The 4.1 Windows installer saves the OpenLaszlo files to c:\Program Files by default. If you use the default value, you need to adjust the file permissions after installation.

- From Windows explorer, right-click on c:\Program Files\OpenLaszlo Server 4.1. Select properties
- go to "Security" tab
- Click "Edit button" (You should get a popup box asking for permission to do this).
- In the list of "Group or user names" select "Users". On the row labeled 'Full control" click the Allow checkbox. Hit the "Apply" button.

All the files under c:\Program Files\OpenLaszlo Server 4.1 shoudl not be accessible by users.

Philip Romanik - 17/Jun/08 11:12 AM
My last comment is a bit wrong:


For RingDing documentation:

The 4.1 Windows installer saves the OpenLaszlo files to c:\Program Files by default. If you use the default value, you need to adjust the file permissions after installation.

- From Windows explorer, right-click on c:\Program Files\OpenLaszlo Server 4.1. Select properties
- go to "Security" tab
- Click "Edit button" (You should get a popup box asking for permission to do this).
- In the list of "Group or user names" select "Users". On the row labeled 'Full control" click the Allow checkbox. Hit the "Apply" button.

All the files under c:\Program Files\OpenLaszlo Server 4.1 should now be accessible by users.


Amy Muntz - 17/Jun/08 12:11 PM
Lou- please add this to the Release Notes. Once it is in the Release Notes, assign back to me.

Amy Muntz - 27/Jun/08 01:40 PM
Lou - I added this to the Release Notes. Please close when you finalize the Release notes, with that checkin id.

Amy Muntz - 27/Jun/08 01:45 PM
Added to the Release Notes. Deferring more widespread changes for Vista to DingDong.

keiji ono - 13/Jul/08 10:40 PM
I could installed v4.1.1 to my vista without any settings of securities.
My vista is Ultimate that is not applied any SP, and using jdk1.5.0_14.

Philip Romanik - 23/Sep/08 05:58 AM
(email to Amy)

I've been looking into LPP-3875 to address issues with the installer and Vista. The best solution is to modify the default installation directory. The existing default is "c:\Program Files\...". If a user has the default permissions, the only way to use OpenLaszlo at this location is to run as an administrator. There are a couple of ways to facilitate this change, but there are other problems. For example, I've read that log files might not be generated properly when Tomcat is installed here.

I propose changing the default installation directory from
C:\Program Files\OpenLaszlo Server ...
to
C:\OpenLaszlo\OpenLaszlo Server ...

Making this change means that users do not need to run with administrator privileges and there should be no access issues to any of the files.

I think we should also upgrade the installer from v1.98 to the current version (v2.39). There is much better error reporting in the new version if something goes wrong. I created LPP-7036 for this.



Philip Romanik - 02/Oct/08 12:31 PM
(email to Amy)

Running OpenLaszlo Server on Windows Vista

There are two options. The first option is to manually ask for administrator privileges whenever you want to start or stop the OpenLaszlo Server.

1. Navigate to Start->All Programs->OpenLaszlo Server->Start OpenLaszlo Server.
   Right click and select 'Run as administrator'. Click 'Continue' when Vista displays a dialog box asking for permission.

Use the same procedure to select 'Stop OpenLaszlo Server' or 'OpenLaszlo Explorer'.


The second option is to modify the application shortcuts to run as administrator whenever they are selected.

1. Navigate to Start->All Programs->OpenLaszlo Server->Start OpenLaszlo Server.
  Right click and select 'Properties'
2. The properties dialog box should open in the 'Shortcut' tab. Click on the 'Advanced...' button.
3. Click on the checkbox to 'Run as administrator' and click the 'OK' button.
4. Click the 'OK' button on the 'Shortcut' tab. Vista will display a dialog box asking for permission to change the shortcut settings.

Follow the same procedure for the 'Stop OpenLaszlo Server' or 'OpenLaszlo Explorer' shortcuts.

Note, Microsoft Vista will still ask for permission to run as an administrator. However, you do not have to remember to run as an administrator each time.



Philip Romanik - 16/Oct/08 10:51 AM
4.2b2 release notes includes information on running in Vista.

LPP-7036 is a follow-on item to upgrade to the latest Nullsoft installer. The latest installer includes better Vista support.