Hello Milen,
We have tested your scenario on multiple machines and we were able to replicate the behavior only on a Windows Vista x64 machine with Google Chrome as default browser. We are not sure why this is happening, but after investigating this further it seems this is also happening when manually creating a shortcut to URL. For example using the following test case:
- on "Desktop" location from the context menu choose "New -> Shortcut" option
- in the "Type the location of the item" field add the following URL
Code: Select all
http://localhost:8082/app/home.jsf?path=C:\install\
- click on [Next] and [Finish] buttons
- double click on the created URL shortcut
the Google Chrome browser will display the following URL in the "URL" field
Code: Select all
http://localhost:8082/app/home.jsf?path=C:\install"
We are not sure why this is happening (maybe this is a Chrome limitation). However, in order to avoid this behavior, you can try to create a custom action which will parse the "SETUPEXEDIR" property value, will replace the "\" character with its corresponding URL encoded character (%5C) and will place the result into another installer property (COMPUTED_SETUPEXEDIR). Then, you can use the "COMPUTED_SETUPEXEDIR" property in your custom action "URL" field.
I have added an improvement on our TODO list so that in a future version of Advanced Installer our "Open URL" custom action automatically parse the URL characters and replace the required ones with their corresponding URL encoded characters. We will let you know when this improvement will be available.
All the best,
Daniel
FOLLOW US
Get the latest news in Application Packaging