Original Topic Question: (Removed from post #1 and re-posted here.)Has anyone successfully silently installed Yahoo! Messenger 7?Also, I think I should more clearly state some objectives here, since I want to do more than simply install the application.
OBJECTIVES:- Obtain a clean Yahoo! Messenger installation executable
- Install Yahoo! Messenger silently and unattended (from a .cmd script for now)
- Disable launching of Yahoo! Messenger immediately after installation.
- Disable launching of Yahoo! Messenger upon user log on for all Windows XP users that are:
- Already-created
- To-be-created
- Pre-Configure Yahoo! Messenger Preferences for all Windows XP users that are:
- Already-created
- To-be-created
- Re-direct the installation log file to a chosen folder.
ATTEMPTED ACTIONS:Attempted installing Yahoo! Messenger 7 with the following (Inno Setup) parameters:
CODE
Start /Wait "Yahoo! Messenger" ymsgr7us.exe /SP- /VERYSILENT /NORESTART /LOGFILE=C:\Installs\Logs\YahooMessenger.log
OBJECTIVES STATUS:- Accomplished—See post #1 this topic thread.
- Accomplished—Yahoo! Messenger installs quietly (i.e. without any prompts or progress bars).
NOTE: The soution is not yet included in Post #1 because the ultimate command line switch combination may change to meet other objectives. - Failed—Yahoo! Messenger launches immediately after installation is complete; need to suppress this.
For now I'm using the following to kill the process:
CODE
TaskKill /F /T /IM YPager.exe > Nul
I believe the registry entry below may be responsible for automatically running the application immediately after it's installed. (I'm testing on a fully booted Windows XP operating system with a user logged in, and the application runs immediately after installation.) However, I believe during an unattended installation, the application would most likely will not launch until after both the installation is complete and a user has logged on. So perhaps deleting the registry setting below from each user's profile, before they log on would suppress the auto-run. CODE
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
"Yahoo! Pager"="\"C:\\Program Files\\Yahoo!\\Messenger\\ypager.exe\" -quiet"
I plan on importing this registry entry into each user's profile as they logon to avoid the auto-run. However, I'm not sure this will work (since it may delete the registry setting after Yahoo! Messenger runs), or impact future users:
CODE
Windows Registry Editor Version 5.00
; Remove registry key to automatically run Yahoo! Pager at user log on.
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
"Yahoo! Pager"=-
- Incomplete—The objective above must succeed before this one has a chance of succeeding.
- Incomplete—Importing preferences for single, known YahooID works well. However, each YahooID's preferences are stored under a registry subkey for that YahooID. This will require developing a script that either edits these registry settings or a .reg file for each YahooID. Perhaps this script should prompt the user for their YahooID when they first log into windows after the application has been installed? The only current action taken toward this objective thus far is to save a registry file with the desired settings from a known user's account.
- Incomplete—The installation log defaults to %ProgramFiles%\Yahoo!\Messenger\INSTALL.LOG. If it cannot be re-routed through installation switches, this log file could always be copied to the desired location in the installtion script after installation is completed. However, installation switches would be preferred.
NOTE: The results above (in this post) are occuring during testing on a running Windows XP operating system, I have not yet tested in an UA XPCD installation.Any insights into these objectives are welcome. I'm not at my office that has Virtual PC installed this week, but I'll be testing this further. After all objectives are met, I will update the first post of this thread accordingly.