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
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)
Please log in to answer
Posted by:
prashanth
15 years ago
Posted by:
anonymous_9363
15 years ago
...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
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
Posted by:
anonymous_9363
15 years ago
ORIGINAL: Mackan75@Marcus, Quite right. I'd overlooked the part of the question where the OP wasn't able to select the actual working directory.
I usually make a property with the correct value (the network path) and set the WkDir to the property.
@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
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.