Changing shortcut working directory - 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!

XtraLars
Posts: 1
Joined: Thu Aug 21, 2008 1:45 pm

Changing shortcut working directory

I tried searching for this, but the words shortcut, working and directory were too common :x ... so I post instead.

I'm creating a package (Lotus Notes 7.0.2) that contains a shortcut on the users desktop. This shortcut leads to a local file (installed in the package) and needs the "working directory" to be set on the users home area (g:) on the file server.
With this shortcut, I don't have to do anything with the computer after the package is installed.

I can't find a way to set g: as the working directory for this shortcut, and I'm not familiar with how custom actions and such work (yet ;) )
I changed the shortcut in explorer before I added it in advinst, but advinst changed working dir to "desktopfolder".

Any clues?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Changing shortcut working directory

Hi,

You can set a custom working directory for the shortcut by using a property-based folder. Here are the steps:
- go to the Install Parameters page
- create a new property, for example MY_DIR (only uppercase letters)
- set its value to the path of the working directory (for example "G:\")
- go to the "Files and Folders" page
- create a property-based folder with the MY_DIR property
- set this folder as the working directory of the shortcut

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”