Dynamic Shortcut to Web App URL - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

kithkanan
Posts: 21
Joined: Mon Jul 13, 2009 11:28 am

Dynamic Shortcut to Web App URL

Hello Everyone,

Is it possible to create a shortcut (that would be created to Desktop) to my Web App dynamically?

For example, I have an application named "App" and I am adding it as a Virtual Directory to my IIS (under Default Website). So, after installing (say in localhost) I should have http://localhost/App/default.aspx. I have this part already working . But how do I create a shorcut for it so if I install it on other server the {localhost} would change to that server's server-name? I wanted my shortcut to dynamically point to wherever the Web App was installed : {http://myservername}/App/default.aspx. Is it possible?

I hope I'm making sense.

I'm new to Advanced Installer and I really need your help.

Any work-around or suggestion is highly appreciated. My approach may not be correct.

Thanks in advance! :)
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Dynamic Shortcut to Web App URL

Hi,

I'm afraid that Advanced Installer doesn't support this directly.

However you can try this:

- Create a New Dialog in the Dialogs page.
- Add a Edit Box to that dialog with the property set to:

Code: Select all

 [SERVER_NAME]
- In the Edit Box you can enter the name of the server, the name will be passed on to the shortcut throw the [SERVER_NAME] property.
- Go to Files and Folders page, Desktop folder → right click in the right window → New Shortcut to → URL .
- A New Internet Shortcut dialog it will appear.
- Here enter the desired name of the shortcut in the Name field and set the following value in the URL field :

Code: Select all

http://[SERVER_NAME]/App/default.aspx 

This way you will be able to create the dynamic shortcut that points to the server.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
kithkanan
Posts: 21
Joined: Mon Jul 13, 2009 11:28 am

Re: Dynamic Shortcut to Web App URL

Hey!

Thank you so much for your reply. I tried your suggestion and it worked like a charm :)

Thanks a bunch!

Return to “Common Problems”