|
|
|
[
Permlink
| « Hide
]
P T Withington - 09/May/07 10:52 AM
To investigate, once you have a Vista box
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. 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? 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. 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. (email to Amy)
I've been looking into 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. (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. 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. |
||||||||||||||||||||||||||||||||||||||||||||||||||