[wpkg-users] can't copy??
Peter Hartmann
ascensiontech at gmail.com
Fri Aug 24 20:28:43 CEST 2007
OK I see that copy is not in the path (for SYSTEM i guess?)
since"%WINDIR%\system32\cmd.exe /c copy" works. Is there a way to
add that to the path so I can avoid this for all the commands i want
to use?
Thanks,
Peter
On 8/24/07, Peter Hartmann <ascensiontech at gmail.com> wrote:
> This works locally from command line but not from wpkg:
>
> copy /Y "\\server\wpkg\software\icons\icons\Internet Explorer.lnk"
> "%ALLUSERSPROFILE%\Desktop"
>
>
> in packages.xml
>
> <install cmd='copy /Y "\\server\wpkg\software\icons\Internet
> Explorer.lnk" "%ALLUSERSPROFILE%\Desktop" ' />
>
>
> At first I thought it wasn't getting the %SOFTWARE% environment var.
> so I removed it. Any ideas why I'm getting "the system cannot find
> the file specified?"
>
>
> Thanks,
> Peter
>
>
> ps
>
> In case you're wondering: my package gets rid of the IE shortcuts on
> the desktop and quick launch for users and replaces them with IE
> shortcuts that start Firefox instead. (in case they forget that
> running IE is dangerous)
>
wpkg-users mailing list
wpkg-users at lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users
More information about the wpkg-users
mailing list