
BoardBabe
MemberContent Type
Profiles
Forums
Events
Everything posted by BoardBabe
-
It should be del /q "%WinDir%\%%i" at the end...
-
Delte all %WinDir%\*.bmp BUT ONE.
BoardBabe replied to BoardBabe's topic in Unattended Windows 2000/XP/2003
This seems to work also for /f "usebackq tokens=*" %%i in (`dir /b "%winDir%\*.bmp"`) do if %%i neq boot.bmp del /q "%WinDir%\%%i" -
Prevent MS Outlook 2003 from making shortcut @ firstrun
BoardBabe replied to BoardBabe's topic in Application Installs
@benners: Excellent research! This is what i'm looking for. Hmmm. anyone know how this info can be used? -
First read the above, then read through the respective sections at the forum for detailed information for how to use WPI and also keep in mind that just about EVERYTHING has been covered if you just use the search function. Welcome to the forum and good luck with your project. It's not that hard, just do some reading...
-
Delte all %WinDir%\*.bmp BUT ONE.
BoardBabe replied to BoardBabe's topic in Unattended Windows 2000/XP/2003
Hehe I was Thank's for the help! PS. the (del) /f is not needed as the files are not write protected. -
Delte all %WinDir%\*.bmp BUT ONE.
BoardBabe replied to BoardBabe's topic in Unattended Windows 2000/XP/2003
Now it does exclude boot.bmp, but it's still something wrong with the path. I put this in test.cmd on c:\ and the result of #2 is (translated): Could not find C:\Jade.bmp Could not find C:\Pastell.bmp etc. Maybe it should be del /f /q "%WinDir%\%%i"? -
Delte all %WinDir%\*.bmp BUT ONE.
BoardBabe replied to BoardBabe's topic in Unattended Windows 2000/XP/2003
Hmm recheck that script, cause it deletes boot.bmp also -
Also armin's way to install will not allow you to choose what to INCLUDE and EXLUCDE of addons etc.
-
Prevent MS Outlook 2003 from making shortcut @ firstrun
BoardBabe replied to BoardBabe's topic in Application Installs
I'm sorry but that is not a good idea. Appriciate your input though. -
Delte all %WinDir%\*.bmp BUT ONE.
BoardBabe replied to BoardBabe's topic in Unattended Windows 2000/XP/2003
Now how about if there are TWO files i'd not like to delete. (Just for learning how this works...) eg. boot1.bmp and boot2.bmp Oh.. and it did'nt work It searched for the file in the location where the batch were executed. I put a testbatch on C:\ and the result were C:\>test2.cmd Finner ikke C:\Blå Finner ikke C:\Bobler.bmp Finner ikke C:\Fjær.bmp Finner ikke C:\Fluefisker.bm Finner ikke C:\Jade.bmp Finner ikke C:\Kaffekopp.bmp Finner ikke C:\Pastell.bmp Finner ikke C:\Rododendron.b Finner ikke C:\Santa Finner ikke C:\Storm Finner ikke C:\Ullteppe.bmp -
TruBlu01: Do a search, there is a long post about this. Several posts actually.
-
Delte all %WinDir%\*.bmp BUT ONE.
BoardBabe replied to BoardBabe's topic in Unattended Windows 2000/XP/2003
Your last example there seems to be more like what im looking for. -
Delte all %WinDir%\*.bmp BUT ONE.
BoardBabe replied to BoardBabe's topic in Unattended Windows 2000/XP/2003
lol yeh that's a cheap way of doing it.. anyone else? -
I'd like to delete all *.bmp files in %WinDir% but boot.bmp in my cleanup.cmd. whats the best way to do this?
-
spn: As kelsenellenelvian says, download AutoIt3 and compile the above script to an .exe file. Put the .exe file in the same directory as daemon400.exe and run the compiled .exe file from WPI with no switches. If anyone are interested I have an AutoIt script that also changes the language. New updated language files for v4 are not yet posted, but as I am the Norwegian translator pm if you need the new file (1044.dll).
-
Here's a little something I put together in AutoIt for installing Daemon Tools v4 (without Toolbar and shortcuts). ; AutoIt options. AutoItSetOption("TrayIconHide", 1) AutoItSetOption("WinTitleMatchMode", 4) ; Verify only one instance of installer is running. $installername = "AutoInstaller for DaemonTools 4" If WinExists($installername) Then SplashTextOn("Error", @CRLF & @CRLF & "An instance of this script is already running.", 350, 90, -1, -1, -1, "Arial", 11, 11) WinActivate("Error") Sleep(4000) SplashOff() Exit EndIf AutoItWinSetTitle($installername) ; Installation variables. $installerpath = @ScriptDir & "\daemon400.exe" $programpath = @ProgramFilesDir & "\DAEMON Tools\daemon.exe" ; Verify installation file path. If Not FileExists($installerpath) Then SplashTextOn("Error", @CRLF & " File not found:" & @CRLF & " " & $installerpath, 500, 90, -1, -1, 4, "Arial", 11, 11) WinActivate("Error") Sleep(4000) SplashOff() Exit EndIf ; Verify application is not already installed. If FileExists($programpath) Then SplashTextOn("Error", @CRLF & @CRLF & "Daemon Tools 4 already installed.", 350, 90, -1, -1, -1, "Arial", 11, 11) WinActivate("Error") Sleep(4000) SplashOff() Exit EndIf ; Start installation. Run($installerpath) ; Welcome dialog. WinWait("DAEMON Tools 4.00HE", "Welcome to the DAEMON Tools 4.00 Setup Wizard") ControlClick("DAEMON Tools 4.00HE", "Welcome to the DAEMON Tools 4.00 Setup Wizard", "Button2") ; License agreement. WinWait("DAEMON Tools 4.00HE", "License Agreement") ControlClick("DAEMON Tools 4.00HE", "License Agreement", "Button2") ; Choose Components. BlockInput(1) WinWait("DAEMON Tools 4.00HE", "Choose Components") WinActivate("DAEMON Tools 4.00HE", "Choose Components") WinWaitActive("DAEMON Tools 4.00HE", "Choose Components") ControlFocus("DAEMON Tools 4.00HE", "Choose Components", "ComboBox1") Send("{TAB}") Sleep(500) Send("{DOWN}") Sleep(500) Send("{SPACE}") Sleep(500) Send("{DOWN}") Sleep(500) Send("{SPACE}") Sleep(500) Send("{DOWN}") Sleep(500) Send("{SPACE}") ControlClick("DAEMON Tools 4.00HE", "Choose Components", "Button2") BlockInput(0) ; Choose Install Location. WinWait("DAEMON Tools 4.00HE", "Choose Install Location") ControlClick("DAEMON Tools 4.00HE", "Choose Install Location", "Button2") ; Completing the DAEMON Tools Setup Wizard. WinWait("DAEMON Tools 4.00HE", "Completing the DAEMON Tools Setup Wizard") ControlClick("DAEMON Tools 4.00HE", "Completing the DAEMON Tools Setup Wizard", "Button4") Sleep(500) ControlClick("DAEMON Tools 4.00HE", "Completing the DAEMON Tools Setup Wizard", "Button2") Exit ;eof
-
Then why update? I have 6.0.3.1.0.108, /S works
-
I really don't get why the author do not make sure the installer properly support silent installs.... I'm the translator of the Norwegian D-tools, I'll have a chatty with him...
-
Im not quite sure why it does not wor for you, but it might sem you do not have all the components needed for MU? If I have understood correctly you will need to install; Windows Installer v3.1 Windows Update v6 Microsoft Update To make sure MU works properly. My guess is that you need to double check if you have all of those installed.
-
Having trouble with winnt.sif
BoardBabe replied to fly2279's topic in Unattended Windows 2000/XP/2003
I doubt you can rename the %WinDir% after installation though? To get smallcaps wouldn't you have to rename it to something ELSE than "WINDOWS" for then again rename it to "Windows"? I doubt the system would allow you to rename "WINDOWS"... -
Remove shortcut to Sample music and Sample pictures
BoardBabe replied to BoardBabe's topic in Unattended Windows 2000/XP/2003
That's not it -
During cleanup I ran del /q "%UserProfile%\Mine dokumenter\Mine bilder\Eksempelbilder.lnk" del /q "%UserProfile%\Mine dokumenter\Mine musikk\Eksempelmusikk.lnk" Paths are correct -Norwegian Windows XP. The shortcuts was still there after computers last reboot. I tried to manually run the two lines from cmd and the shortcuts were removed... Any idea?
-
Oh, but in my case that's not needed. Start.cmd takes care of everything ' So i guess I do not need Command0 = infront
-
[GuiRunOnce] %SystemDrive%\Start.cmd This works fine 4 me. Should I change it to (see code)... if so why? [GuiRunOnce] Comman0 = %SystemDrive%\Start.cmd thnx
-
K-lite codec pack how to install it?
BoardBabe replied to Solid as a rock's topic in Application Installs
Hehehe Waaaaaaaaaaaaaaaaaaaaaay ahead of you! That post is from March 12th