Adam Peart <[EMAIL PROTECTED]> writes:

> >
> >But something like this would probably be easier on your users:
> >
> >   shortcut.pl "C:\...\mplayerc.exe" "special:AllUsersDesktop\Media Player"
> 
> what I meant was it created the file "mplayer.lnk", but I wanted it to
> be called Media Player Classic

In that case,

  shortcut.pl "C:\...\mplayerc.exe" "special:AllUsersDesktop\Media Player Classic"

:-)

> Is there away to get it to run that todo at the end just before it
> cleans up the pre-install files & restores the "system restore"?

Add something like this to z:\site\unattend.txt:

  [_meta]
    bottom="z:\site\cleanup.bat"

Then create Z:\site\cleanup.bat to do whatever you like.

I am sorry that the [_meta] settings are not documented.  You can
learn about most of them by performing an Unattended installation and
then examining the [_meta] section in C:\netinst\unattend.txt.

> No rush, just a couple of ideas, and for now I can use a bat file to
> do the trick.  Good work with the perl scripts.  And just think,
> when it runs the todo.pl after mapping to z:, doesn't the command
> prompt run from the current user directory?  Maybe that could be
> used to access the different directories under the current user.

Maybe...  What is the working directory for the logon script?

It does not matter much, though.  The WScript interfaces work well for
resolving these special folders (excecpt for the Quick Launch bar).

 - Pat


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
unattended-info mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to