Closed Bug 401757 Opened 17 years ago Closed 17 years ago

Webapp name not quoted in created shortcut

Categories

(Mozilla Labs :: Prism, defect)

x86
Windows XP
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 401201

People

(Reporter: ckpwong, Unassigned)

Details

User-Agent:       Opera/9.24 (Windows NT 5.1; U; en)
Build Identifier: 

When installing a web application in Windows, the automatically created shortcut does not quote the -webapp parameter properly.  As a result, if a web application has spaces in the name, the resulting desktop/start menu/quick launch shortcuts would not launch the webapp.

Reproducible: Always

Steps to Reproduce:
1. Run Prism web application installation
2. Enter a name with spaces, e.g. "Google News"
3. Under "Create shortcuts", choose at least one (any)
4. Click OK
5. Attempt to launch the webapp using the created shortcut
Actual Results:  
Webapp does not launch; Prism install dialog shows up instead.

Expected Results:  
Webapp launched successfully.

Workaround: After the shortcut is created, right click on the shortcut and go to "Properties", add quotes around the webapp parameter.  For example, change

   "C:\Program Files\Prism\prism.exe" -webapp google news@prism.app

to

   "C:\Program Files\Prism\prism.exe" -webapp "google newsprism.app"
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.