Steps to create an SWD package to push out a shortcut to the desktop of a user</h2>
One of the more common software distribution tasks is to place a shortcut for an application onto a users desktop.
This is very easy to do using LANDesk Enhanced Package builder.
Please follow these steps:
1. Install the LANDesk Package Builder Software on the machine that you are using as the "Source" machine.
Browse to the "
YourCoreServer\ldmain\install\Package_Builder" directory. Run the enusetup.exe installer. This will install the Package Builder Software onto the target machine.
2. Once the software is installed, go to Start | Programs | LANDesk Management | LANDesk Enhanced Package Builder.
3. Click the New document icon or go to File | New to create a blank project.
4. Under BASE INSTALLATION choose File.
5. Click on the Select Files button as shown with the red circle above, and browse to the desired Shortcut file. In this case, we are pointing to a shortcut for Mozilla Firefox.
6. Click the Open button. This will place it in the window, but not in the above section.
7. Click in the Destination Copy to: box, and then select the System Variable button. This will pull up a list of available system variables. Select the $ALLUSERSDIR$ variable which is first in the list.
8. In the Destination Copy to: box, append \desktop to the $ALLUSERSDIR$. It will end up looking like this: $ALLUSERSDIR$\Desktop. This tells Package Builder to place the shortcut onto the desktop directory for all users.
NOTE: If the icon exists and needs to be overwritten select the Overwrite drop down and change from Default to Yes.
9. Click the Add button which will put the entry into the upper pane with a 0001 FILE: entry.
10. Click File | Save As... and save the project to a directory.
11. Click Build | Build
12. The Build Install window will come up.
Select the One File Install option, and specify a folder for the build directory. It will create the directory if it does not exist. The Build completed window will come up with the location of the SWD package.
It will be in the build directory specified, in a directory called "Onefile".
13. The resulting EXE file can either be run manually, or be pushed out through LANDesk using Software Distribution.
NOTE: When creating the Software Distribution Package the type of package must be an SWD package, and NOT an EXE package. Any package created with Package Builder must be an SWD package as seen below.