Page 1 of 2

Autorun.inf

PostPosted: 10.10.2016, 14:54
by dsca
Hi,

ich hätte noch eine kleine Verbesserung für den WSUS-Offline-Stick.
Die autorun.inf im client-Verzeichnis, könnte man wie folgt anpassen:

Code: Select all
[autorun]
OPEN=UpdateInstaller.exe
icon=autorun.ico
label=WSUS-Offline 12-07-2016


hätte den Vorteil, das der Stick so angezeigt wird - ist das nicht hübsch? Ich finde das schön... :D
Noch schöner wäre es, wenn das Datum automatisch von "UpdateGenerator.exe" in die autorun.inf geschrieben werden würde - derzeit mache ich das noch jedes mal manuell...
Image


Gruß
dsca

Re: Autorun.inf

PostPosted: 10.10.2016, 16:57
by Rush
danke sehr nette und hübsche idee ... bin dafür :)

Re: Autorun.inf

PostPosted: 10.10.2016, 17:32
by psj
Ich benutze dafür client\custom\FinalizationHook.cmd :
Code: Select all
rem output custom autorun.inf
set ar=..\..\client\autorun.inf
echo [autorun]>%ar%
echo OPEN=UpdateInstaller.exe>>%ar%
echo icon=autorun.ico>>%ar%
echo label=WSUS-Offline (v. %WSUSOFFLINE_VERSION%) %DATE:~-11%>>%ar%
set ar=


MfG psj

Re: Autorun.inf

PostPosted: 10.10.2016, 19:44
by aker
Alternativ ging auch:
Code: Select all
echo icon=UpdateInstaller.exe,0>>%ar%


Viele Grüße

Re: Autorun.inf

PostPosted: 26.10.2016, 20:16
by dsca
wird das in einer künftigen Version eingebaut :?:

Re: Autorun.inf

PostPosted: 28.10.2016, 15:03
by WSUSUpdateAdmin
Moin!

Ja: http://trac.wsusoffline.net/browser/trunk (r829) :)

Das Schlüsselwort "label" wollte ich nicht "verballern", da steht jetzt schon drin (im ISO-Volume-Deskriptor), für welche Plattform das ISO ist; das finde ich wichtiger.
Ich hab' dafür "action" belegt (vgl. Autorun.inf Entries).

Danke, Gruß & ein schönes Wochenende,
Torsten

Re: Autorun.inf

PostPosted: 29.10.2016, 16:53
by Rush
super danke :)

Re: Autorun.inf

PostPosted: 02.01.2017, 13:18
by dsca
ähhh, in den Changelogs steht es nun drin, aber das icon fehlt immer noch - oder bin ich blind? :shock:

Re: Autorun.inf

PostPosted: 02.01.2017, 14:16
by WSUSUpdateAdmin
Also ich hab' das Icon...

Re: Autorun.inf

PostPosted: 02.01.2017, 22:29
by aker
Ich ebenfalls.