Jump to content

Some general questions...


Recommended Posts

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 Off

SET PP=%systemdrive%\Install\

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Persoonlijke installaties" /f

REG ADD %KEY%\001 /VE /D "Adobe Reader 6" /f
REG 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" /f
REG ADD %KEY%\002 /V 1 /D "%PP%msn\msn7.msi /qn" /f
REG ADD %KEY%\002 /V 2 /D "taskkill /F /IM msnmsgr.exe" /f

REG ADD %KEY%\003 /VE /D "MSN Plus 3.5" /f
REG ADD %KEY%\003 /V 1 /D "%PP%msn\msnplus.exe /SilentInstallNoSponsor" /f
REG ADD %KEY%\003 /V 3 /D "taskkill /F /IM msnmsgr.exe" /f
REG ADD %KEY%\003 /V 4 /D "taskkill /F /IM msmsgs.exe" /f
REG ADD %KEY%\003 /V 5 /D "taskkill /F /IM iexplore.exe" /f

REG ADD %KEY%\004 /VE /D "Microsoft Antispyware" /f
REG ADD %KEY%\004 /V 1 /D "%PP%spyware\MicrosoftAntispyware.msi /qn" /f
REG ADD %KEY%\004 /V 2 /D "taskkill /F /IM gcasServ.exe" /f
REG 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" /f
REG 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" /f
REG ADD %KEY%\006 /V 1 /D "%PP%winrar\winrar.exe /verysilent" /f
REG 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" /f
REG 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" /f
REG ADD %KEY%\008 /V 1 /D "%PP%password\passwordkeeper_setup.exe /VERYSILENT /SP-" /f
REG ADD %KEY%\008 /V 2 /D "taskkill /F /IM Passkeychain.exe" /f

REG ADD %KEY%\009 /VE /D "Skype" /f
REG ADD %KEY%\009 /V 1 /D "%PP%skype\SkypeSetup.exe /silent" /f
REG 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" /f
REG 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" /f
REG ADD %KEY%\025 /V 1 /D "%PP%RegTweaks.reg" /f
REG ADD %KEY%\025 /V 2 /D "%PP%Cleanup.cmd" /f

EXIT

Here is my Cleanup.cmd wich works except for deleting this folder:

C:\Install\office\FILES\SETUP

cmdow @ /HID
net user aspnet /delete

DEL "%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\

EXIT

Thanks for your help!

Edited by robgeerts
Link to comment
Share on other sites


- 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:00000000

should 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 :-(

Link to comment
Share on other sites

- 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:00000000

should 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 :-(

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?

Link to comment
Share on other sites

MSI: READ MY POSTING!

:D And its ANTIspyware, not just spyware - the spyware is Windows itself :D

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...

Link to comment
Share on other sites

MSI: READ MY POSTING!

:D And its ANTIspyware, not just spyware - the spyware is Windows itself  :D

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...

excusez moi!

I found the MSI!! THANKS!

Too bad, that I can't rearrange the icons..

Link to comment
Share on other sites

Winrar: /S

AntiSpyware: MicrosoftAntiSpywareInstall.msi /qb

afterwards run: anti_spyware_install_path\gcasDtServ.exe /regserver

Skype - 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!

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...