robgeerts Posted May 5, 2005 Posted May 5, 2005 (edited) Recently, I learned a bit about making an unattended XP installation.I've made one for myself and it works...except for a few things...- How do I run taskkill minimized or in the background?- How do I put my RecycleBin-icon below the network-connections-icon and above the internet explorer-icon ?Here are some questions more about my RunOnxeEx.cmd:cmdow @ /HID@Echo OffSET PP=%systemdrive%\Install\SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Persoonlijke installaties" /fREG ADD %KEY%\001 /VE /D "Adobe Reader 6" /fREG ADD %KEY%\001 /V 1 /D "%PP%pdf\adobereader6.msi /qn" /f//ERROR: Doesn't install at all?REG ADD %KEY%\002 /VE /D "MSN Messenger" /fREG ADD %KEY%\002 /V 1 /D "%PP%msn\msn7.msi /qn" /fREG ADD %KEY%\002 /V 2 /D "taskkill /F /IM msnmsgr.exe" /fREG ADD %KEY%\003 /VE /D "MSN Plus 3.5" /fREG ADD %KEY%\003 /V 1 /D "%PP%msn\msnplus.exe /SilentInstallNoSponsor" /fREG ADD %KEY%\003 /V 3 /D "taskkill /F /IM msnmsgr.exe" /fREG ADD %KEY%\003 /V 4 /D "taskkill /F /IM msmsgs.exe" /fREG ADD %KEY%\003 /V 5 /D "taskkill /F /IM iexplore.exe" /fREG ADD %KEY%\004 /VE /D "Microsoft Antispyware" /fREG ADD %KEY%\004 /V 1 /D "%PP%spyware\MicrosoftAntispyware.msi /qn" /fREG ADD %KEY%\004 /V 2 /D "taskkill /F /IM gcasServ.exe" /fREG ADD %KEY%\004 /V 3 /D "taskkill /F /IM gcasDtServ.exe" /f//correctly installs but at first startip it says it has encountered a problem (error 101)REG ADD %KEY%\005 /VE /D "Panda Antivirus" /fREG ADD %KEY%\005 /V 1 /D "%PP%panda\titanin.exe /silent" /f//ERROR: how to automatically add the registration name and code?REG ADD %KEY%\006 /VE /D "Winrar" /fREG ADD %KEY%\006 /V 1 /D "%PP%winrar\winrar.exe /verysilent" /fREG ADD %KEY%\006 /V 2 /D "REGEDIT /S %PP%winrar\winrar.key" /f//ERROR: how to close windows explorer? how to unattend winrar?REG ADD %KEY%\007 /VE /D "Mp3 Converter" /fREG ADD %KEY%\007 /V 1 /D "%PP%mp3\convert.exe /s" /f//ERROR: it also installs windows media 9 runtime, how to unattend this?REG ADD %KEY%\008 /VE /D "Password Keychain" /fREG ADD %KEY%\008 /V 1 /D "%PP%password\passwordkeeper_setup.exe /VERYSILENT /SP-" /fREG ADD %KEY%\008 /V 2 /D "taskkill /F /IM Passkeychain.exe" /fREG ADD %KEY%\009 /VE /D "Skype" /fREG ADD %KEY%\009 /V 1 /D "%PP%skype\SkypeSetup.exe /silent" /fREG ADD %KEY%\009 /V 2 /D "taskkill /F /IM Skype.exe" /f//works but how can I cancel start at startup?REG ADD %KEY%\020 /VE /D "Office 2003" /fREG ADD %KEY%\020 /V 1 /D "%PP%office\SETUP.EXE TRANSFORMS=Unattended.MST /qb-" /f//no errors, it says that it is installing, but after returning in windows, there's no office folder inside the Program Files folder...REG ADD %KEY%\025 /VE /D "Systeem opschonen" /fREG ADD %KEY%\025 /V 1 /D "%PP%RegTweaks.reg" /fREG ADD %KEY%\025 /V 2 /D "%PP%Cleanup.cmd" /fEXITHere is my Cleanup.cmd wich works except for deleting this folder:C:\Install\office\FILES\SETUPcmdow @ /HIDnet user aspnet /deleteDEL "%AllUsersProfile%\Start Menu\Set Program Access and Defaults.lnk"DEL "%AllUsersProfile%\Start Menu\Windows Catalog.lnk"DEL "%AllUsersProfile%\Start Menu\Windows Update.lnk"DEL "%AllUsersProfile%\Start Menu\Programma's\Windows Movie Maker.lnk"DEL "%AllUsersProfile%\Start Menu\Programma's\Windows Media Player.lnk"DEL "%AllUsersProfile%\Start Menu\Programma's\Windows Messenger.lnk"DEL "%AllUsersProfile%\Start Menu\Programma's\Hulp op afstand.lnk"DEL "%AllUsersProfile%\Start Menu\Programma's\Outlook Express.lnk"RD /S /Q %systemdrive%\drivers\RD /S /Q %systemdrive%\install\EXITThanks for your help! Edited May 6, 2005 by robgeerts
WotC Posted May 6, 2005 Posted May 6, 2005 - How do I run taskkill minimized or in the background?If u do a taskkill /f /im ***.*** the dosbox is closed automatically? but i think that cmdow.exe @ /HID or something silmilar solves ur problem.Get it here: http://www.commandline.co.uk/cmdow/index.html- How do I remove the popup that appears at the first startup at the start-button?something like:;Disable all BalloonTips[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]"EnableBalloonTips"=dword:00000000[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]"FolderContentsInfoTip"=dword:00000000[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\tips]"Show"=dword:00000000[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]"StartButtonBalloonTip"=dword:00000000[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]"ShowInfoTip"=dword:00000000[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]"NoSMBalloonTip"=dword:00000000should help you (it removes all those nasty balloon tips)- How do I put my RecycleBin-icon below the network-connections-icon and above the internet explorer-icon ?Commonly this is done by an USB attached device - called a mouse :-)As for MS Antispy: USe the msi file (i think the exe expands it to the temp folder)As for "also it opens a Windows Explorer window, how do I close this?":THATS INDEED A VERY GOOD QUESTION - i have a smiliar problem with xplorer2!As for " don't see it in the Program Files folder": in the folder or the add/remove programs?Cleanup.cmd won't run: Hmmm - does it need a cmd/c cleanup.cmd? I'm not using RunOnceEx method - sorry :-(
robgeerts Posted May 6, 2005 Author Posted May 6, 2005 - How do I run taskkill minimized or in the background?If u do a taskkill /f /im ***.*** the dosbox is closed automatically? but i think that cmdow.exe @ /HID or something silmilar solves ur problem.Get it here: http://www.commandline.co.uk/cmdow/index.html- How do I remove the popup that appears at the first startup at the start-button?something like:;Disable all BalloonTips[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]"EnableBalloonTips"=dword:00000000[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]"FolderContentsInfoTip"=dword:00000000[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\tips]"Show"=dword:00000000[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]"StartButtonBalloonTip"=dword:00000000[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]"ShowInfoTip"=dword:00000000[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]"NoSMBalloonTip"=dword:00000000should help you (it removes all those nasty balloon tips)- How do I put my RecycleBin-icon below the network-connections-icon and above the internet explorer-icon ?Commonly this is done by an USB attached device - called a mouse :-)As for MS Antispy: USe the msi file (i think the exe expands it to the temp folder)As for "also it opens a Windows Explorer window, how do I close this?":THATS INDEED A VERY GOOD QUESTION - i have a smiliar problem with xplorer2!As for " don't see it in the Program Files folder": in the folder or the add/remove programs?Cleanup.cmd won't run: Hmmm - does it need a cmd/c cleanup.cmd? I'm not using RunOnceEx method - sorry :-(<{POST_SNAPBACK}>i know i can manually move the recylcebin-icon but i wan't it automatically?Isn't it a registery-key what makes this possible?how do I get the msi-version of MS Spyware?Does anyone know the solutions for my other problems?
WotC Posted May 6, 2005 Posted May 6, 2005 MSI: READ MY POSTING! And its ANTIspyware, not just spyware - the spyware is Windows itself As for MS Antispy: Use the msi file (i think the exe expands it to the temp folder)Again, use this USB attached device to double click the exe - when the install screen pops up, check the tempfolder. The exe EXPANDS an msi to the tempfolder! Look for a folder like _is1F - the msi is in that folder!And i THINK u can't automatically rearrange the icons on the desktop...
robgeerts Posted May 6, 2005 Author Posted May 6, 2005 MSI: READ MY POSTING! And its ANTIspyware, not just spyware - the spyware is Windows itself As for MS Antispy: Use the msi file (i think the exe expands it to the temp folder)Again, use this USB attached device to double click the exe - when the install screen pops up, check the tempfolder. The exe EXPANDS an msi to the tempfolder! Look for a folder like _is1F - the msi is in that folder!And i THINK u can't automatically rearrange the icons on the desktop...<{POST_SNAPBACK}>excusez moi!I found the MSI!! THANKS!Too bad, that I can't rearrange the icons..
WotC Posted May 13, 2005 Posted May 13, 2005 Winrar: /SAntiSpyware: MicrosoftAntiSpywareInstall.msi /qb afterwards run: anti_spyware_install_path\gcasDtServ.exe /regserverSkype - run this as a regfile:Windows Registry Editor Version 5.00[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]"Skype"=-Office: don't start the setup.exe - use the msi!Anything else? Maybe summarize whats still missing/not working!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now