This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Shortcuts with extra quotes
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 25, 2006
01:06 PM
Shortcuts with extra quotes
Hello,
My shortcut needs this commandline:
The problem is, I entered it as shown but either IS or Windows puts another pair of quotes around the entire line, presumably because of the spaces. When I click on the shortcut it doesn't work. I thought I could fake it out and I entered the shortcut target like this:
so when the surrounding quotes are added it might work. The command works except the javaw errors out with "com.progress.... not found." I guess it doesn't like the quotes around the last parameter.
I also played around with short (8.3) path names but I still get the quotes and the shortcut still didn't work.
How can I enter the shortcut target so my quotes are correct?
Please help anyone, this is a very urgent matter. My code freeze is tomorrow.
Thanks,
Jeff
My shortcut needs this commandline:
"$P(absoluteInstallLocation)\jre\bin\javaw.exe" -classpath "$P(absoluteInstallLocation)\lib\dxadmin.jar" -Djava.security.policy="$P(absoluteInstallLocation)\lib\policy" com.progress.dataxtend.admin.ui.ServerViewer
The problem is, I entered it as shown but either IS or Windows puts another pair of quotes around the entire line, presumably because of the spaces. When I click on the shortcut it doesn't work. I thought I could fake it out and I entered the shortcut target like this:
$P(absoluteInstallLocation)\jre\bin\javaw.exe" -classpath "$P(absoluteInstallLocation)\lib\dxadmin.jar" -Djava.security.policy="$P(absoluteInstallLocation)\lib\policy" "com.progress.dataxtend.admin.ui.ServerViewer
so when the surrounding quotes are added it might work. The command works except the javaw errors out with "com.progress.... not found." I guess it doesn't like the quotes around the last parameter.
I also played around with short (8.3) path names but I still get the quotes and the shortcut still didn't work.
How can I enter the shortcut target so my quotes are correct?
Please help anyone, this is a very urgent matter. My code freeze is tomorrow.
Thanks,
Jeff
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 30, 2006
05:15 PM
How did you set this up in the Shortcut action? With a quick example, I put the path to the executable in the shortcut's Target field, and the value
-classpath "$P(absoluteInstallLocation)\lib\dxadmin.jar" -Djava.security.policy="etc." com.class.Name
in the Args field, and it seemed to come out right...
-classpath "$P(absoluteInstallLocation)\lib\dxadmin.jar" -Djava.security.policy="etc." com.class.Name
in the Args field, and it seemed to come out right...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 01, 2006
04:09 PM
I didn't even notice the "Args" field. sigh. That's what I needed all along. After talking to TS I implemented a launcher (at least I got some experience with that...). I'll have to give the Args field a try in the next version of our installer since our code freeze has come and gone.
As always, Robert, thanks so much for your help!
Regards,
Jeff
As always, Robert, thanks so much for your help!
Regards,
Jeff