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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
i guess working Directory points to the exe file pointed by the shortcut...
Answered 07/03/2008 by: prashanth
Orange Belt

Please log in to comment
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
Answered 07/03/2008 by: VBScab
Red Belt

Please log in to comment
0
I usually make a property with the correct value (the network path) and set the WkDir to the property.

/M.N
Answered 07/03/2008 by: Mackan75
Orange Belt

Please log in to comment
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.
Answered 07/03/2008 by: VBScab
Red Belt

Please log in to comment
0
Wouldn't an unavailable network resource during install fail to create the shortcut (due WkDir) which is the case for the target?
Answered 07/03/2008 by: AngelD
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity