/build/static/layout/Breadcrumb_cap_w.png

Working directory and Start in dir for Shortcuts

I have a package that creates shortcuts.

Is the Working directory option in the Shorcuts (created in wise package studio) the same as what corresponds to the "Start in"; when you look at the actual shortcut properties?

In my case, the "Start in" for the shortcut should point to a network drive (Eg. L:\appname\dira). When I create the shorcut icon in my wsi file, I have no option of changing the working directory to L:\appname\dira, all I see is pre-filled options like Windows, Windows\Profiles, Program files and so forth.

How do I create the "start in" properties for my shortcuts in my wise package?

Thanks

0 Comments   [ + ] Show comments

Answers (5)

Posted by: prashanth 15 years ago
Orange Belt
0
i guess working Directory points to the exe file pointed by the shortcut...
Posted by: anonymous_9363 15 years ago
Red Belt
0
...which would make your guess wrong! :)

In the 'Shortcut' table:
- The 'Directory_' column is the folder into which the shortcut will be placed
- The 'WkDir' column is the 'Start In' folder, which is shown as 'Working Directory' in WPS's UI
- The EXE's path prefixes the EXE name in the 'Target' column
Posted by: Mackan75 15 years ago
Orange Belt
0
I usually make a property with the correct value (the network path) and set the WkDir to the property.

/M.N
Posted by: anonymous_9363 15 years ago
Red Belt
0
ORIGINAL: Mackan75
I usually make a property with the correct value (the network path) and set the WkDir to the property.
@Marcus, Quite right. I'd overlooked the part of the question where the OP wasn't able to select the actual working directory.


@aek, Wise's UI restricts you to selecting folders which are part of the installation. Normally, one would add the target into the CreateFolder table but this isn't an option for network drives, so you need to edit the 'Shortcut' table directly. As Marcus says, create a property with the target folder's path as its value and then specify that property in the 'WkDir' column for the shortcut in the 'Shortcut' table.
Posted by: AngelD 15 years ago
Red Belt
0
Wouldn't an unavailable network resource during install fail to create the shortcut (due WkDir) which is the case for the target?
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ