Help - Search - Members - Calendar
Full Version: kill msn process when installed
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   
Google Internet Forums Unattended CD/DVD Guide
Darude1234
Hi,

When all my application in the batch are installed msn starts and opens the main window. I want that it start without opening the main window. I know that it can be set in the options window, but can it be set in the batch?

Greetings,

Ruud
(from Holland).
SiMoNsAyS
use pskill to kill the process, like
CODE
pskill.exe msnmsgr.exe
Darude1234
Thanks, it worked!
The program gives some text messages from the company, but with these commands they are gone:

CODE
ECHO.
ECHO Installing MSN Messenger 6.2
ECHO Please wait...
start /wait %systemdrive%\Install\MSN\MSN62WinXP.msi /qb
pskill.exe msnmsgr.exe
CLS
ECHO.
ECHO Installing Programs. Please Wait...
ECHO.
ECHO Installing MSN Messenger 6.2
ECHO Please wait...
ECHO.
ECHO Installing MSN Messenger 6.2 Completed!
ECHO.
Darude1234
I still have a little problem. MSN Messenger will close when it's installed. But the next time I start Windows, the MSN Messenger Main Window startup again.
Is there any registry tweak or something to set options for MSN, because in the options you can set such things on the general tab.
SiMoNsAyS
CODE
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
"MsnMsgr"=-


and optional...
CODE
[HKEY_CURRENT_USER\Software\Microsoft\MSNMessenger]
"PassportBalloon"=hex:02,00,00,00
"FirstTimeUser"=dword:00000000
"AlwaysOnTop"=hex:00,00,00,00
"WindowRect"=hex:d4,02,00,00,00,00,00,00,00,04,00,00,e2,02,00,00
"WindowMax"=hex:00,00,00,00
"AppSettings"=hex:22,00,00,00
"PassportBalloon"=hex:0a,00,00,00
... discussed before, next time, please search smile.gif
Darude1234
QUOTE (SiMoNsAyS @ Feb 1 2005, 10:03 AM)
CODE
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
"MsnMsgr"=-


and optional...
CODE
[HKEY_CURRENT_USER\Software\Microsoft\MSNMessenger]
"PassportBalloon"=hex:02,00,00,00
"FirstTimeUser"=dword:00000000
"AlwaysOnTop"=hex:00,00,00,00
"WindowRect"=hex:d4,02,00,00,00,00,00,00,00,04,00,00,e2,02,00,00
"WindowMax"=hex:00,00,00,00
"AppSettings"=hex:22,00,00,00
"PassportBalloon"=hex:0a,00,00,00
... discussed before, next time, please search smile.gif

Yes, but this code will messenger prevent from running on Windows Startup.
I want Messenger to startup at Windows startup but only in the system tray not showing the main window. Same as you can set in the option window of MSN on the general tab.

There is an option to start messenger at windows startup and there is an option to show the main window when messenger starts and the last one i want to turn off.
SiMoNsAyS
have u checked the optional parameters?
CODE
[HKEY_CURRENT_USER\Software\Microsoft\MSNMessenger]
"AppSettings"=hex:22,00,00,00
it is really user dependant and you must record the changes by your own...

this will do what you want...
CODE
[CODE][HKEY_CURRENT_USER\Software\Microsoft\MSNMessenger]
"AppSettings"=hex:02,02,00,00
as said next time search and record your options by your own using regshot or regsnap newwink.gif
Darude1234
Sorry, you're totally right.
I thought 8 numbers in a reg key couln't be enough for msn to store all information, but it's enough biggrin.gif
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.