Shortcut with empty working directory - Advanced Installer Community
Foobartender
Posts: 3
Joined: Thu Feb 09, 2012 6:37 pm

Shortcut with empty working directory

I would like to create a shortcut to an installed .exe file with no working directory set, but the UI does not allow me to do that. In the shortcut properties dialog of Windows you can leave "Start in" empty and successfully save it. It should be possible to create such a shortcut with Advanced Installer, too. If it is, but I'm just too stupid, please tell me. ;)

I'm repackaging an application that defaults to a directory below the current users home directory when the working directory is not set, so setting it to something absolute is not an option.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Shortcut with empty working directory

Hello,

To set an no working directory for your shortcut you can simply use our "Dialog Editor" feature to tweak your shortcut entry. Here are the steps:
1. go to "Table Editor" page and select the "Shortcut" table
2. set the "WkDir" column of your shortcut row to no string
3. rebuild the project

Please note that our "Table Editor" feature is available only starting with our "Enterprise" edition of Advanced Installer.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”