was paketieren betrifft bin ich noch totaler Anfänger, hab bis jetzt immer alles mit den Wizard paketiert.
Nun aber brauch ich ein Paket um den Windows Fast Startup zu deaktivieren.
Meine Setup.inf sieht bis jetzt wie folgt aus:
Code: Select all
[Product]
; ReplaceEnv <Variable>
#Set:Product
#Set:Installation, DONTDELETE ADMIN CLIENT
#Set:Deinstallation, DELETE ADMIN CLIENT
[Set:Product]
[Set:Installation]
AddMeter -1
Call cmd.exe /c "%Src%\powercfgoff.bat"
If "%ErrorLevel%" <> "0" Then "SET:InstallationError" EndIf
[Set:Deinstallation]
-Call cmd.exe /c "%Src%\powercfgon.bat"
If "%ErrorLevel%" <> "0" Then "SET:DeInstallationError" EndIf
-AddMeter -1
[Set:InstallationError]
ErrorLogMsg %ErrorText% %ErrorLevel% %CallingText% powercfgoff.bat
Abort
[Set:DeInstallationError]
-Abort
-ErrorLogMsg %ErrorText% %ErrorLevel% %CallingText% powercfgon.bat
Code: Select all
powercfg /h off
Code: Select all
powercfg /h on
Übersehe ich irgendwas oder hab ich wo einen Fehler?
Danke