[wpkg-users] Copying a shortcut from a network share to desktop?

Chris Wilcox not_rich_yet at hotmail.com
Thu Feb 5 10:55:22 CET 2009


Hi all,
 
I've been trying to work this out but have tried for too long - is there any way I can copy a shortcut from a network share (within the WPKG %SOFTWARE% directory on our server) to the desktop of a computer?
 
I think I have got close but it continues to tell me that the file does not exist when WPKG processes line 2:
 
<package id="CH4EnvChangeShortcut" name="CH4 Environmental Change Shortcut" revision="1" reboot="false" priority="0"> <install cmd='net use x: \\10.251.193.3\MMedia\Shortcuts' /> <install cmd='copy "x:\CH4 Environmental Change.lnk" "C:\Documents and Settings\All Users\Desktop"' /> <install cmd='net use x: /delete /yes' /></package>
 
The shortcut definetly exists and is named as above.
 
Help much appreciated, I have a number of apps which only need a shortcut placed for the user to access and getting this to work would be excellent!
 
Thanks,
 
Chris
_________________________________________________________________
Twice the fun—Share photos while you chat with Windows Live Messenger. Learn more.
http://www.microsoft.com/uk/windows/windowslive/products/messenger.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20090205/02d453a2/attachment-0002.html>


More information about the wpkg-users mailing list