Forum: works_in_progress


RE: Yahoo Messenger [ Reply ] By: Viet To on 2010-06-30 14:51 | [forum:7973] |
So.... Used EEE's sandboxed Yahoo install. Set it up to what my batch file looks at. Still crashes on login. WTF. The local install runs fine. The batch version does not... Sandboxie did not create the winsxs directories, but did create the Flash directory and files. Copied those manually over to test. Didn't work. Copy and pasted the past files/folders over the EEE usb version. Didn't work. Pasted the EEE Sandboxie files over the USB install, so it would have the missing files and the files specific to that OS. Still doesn't work. I'm giving up. |
RE: Yahoo Messenger [ Reply ] By: Viet To on 2010-06-30 13:55 | [forum:7972] |
Forgot the "/y" for the Flash folder. --- set myRootPath=%cd% set USERPROFILE=%myRootPath% set ALLUSERSPROFILE=%myRootPath% set APPDATA=%myRootPath%\Application Data set LOCALAPPDATA=%cd% set temp=\temp set tmp=%temp% set programfiles=%cd% set commonprogramfiles=%cd% IF NOT EXIST %windir%\system32\tasklist.exe COPY /s "%cd%\WINDOWS\system32\tasklist.exe" "%windir%\system32\tasklist.exe" IF NOT EXIST %windir%\system32\macromed\flash\Flash10h.ocx xCOPY /s /k "%cd%\WINDOWS\system32\macromed\flash" "%windir%\system32\macromed\flash" IF NOT EXIST "%windir%\winsxs\Manifests\x86_Microsoft.VC80.MFC_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_b77cec8e.cat" xCOPY /s /k /y "%cd%\WINDOWS\winsxs" "%windir%\winsxs" pause REM Reads/saves reg file. Saves the local reg REGEDIT /E local.REG "HKEY_CURRENT_USER\Software\Yahoo\" REM deletes the local registry REGEDIT /S delete.reg REM adds portable reg fle REGEDIT /S portable.reg REM REM fixes relativepaths REGEDIT /S relative.reg start /MIN Yahoo!\Messenger\YahooMessenger.exe REM Checks to see if msnmsgr.exe is still running :pause tasklist | find /i "YahooMessenger.exe" >nul if not %errorlevel%==1 goto :pause REM Reads/saves reg file. Incase of any changes during use REGEDIT /E portable.REG "HKEY_CURRENT_USER\Software\Yahoo\" REM delets traces that you were there REGEDIT /S delete.reg REM restores the local copy REGEDIT /S local.reg --- Runs fine on WinXPPro SP3. But not on EEE... Going to install Sandboxie and install the Sandboxed Yahoo installer and see what the difference is. |
RE: Yahoo Messenger [ Reply ] By: Viet To on 2010-06-30 12:45 | [forum:7971] |
http://commandwindows.com/xcopy.htm --- set myRootPath=%cd% set USERPROFILE=%myRootPath% set ALLUSERSPROFILE=%myRootPath% set APPDATA=%myRootPath%\Application Data set LOCALAPPDATA=%cd% set temp=\temp set tmp=%temp% set programfiles=%cd% set commonprogramfiles=%cd% IF NOT EXIST %windir%\system32\tasklist.exe COPY /s "%cd%\WINDOWS\system32\tasklist.exe" "%windir%\system32\tasklist.exe" IF NOT EXIST %windir%\system32\macromed\flash\Flash10h.ocx xCOPY /s /k "%cd%\WINDOWS\system32\macromed\flash" "%windir%\system32\macromed\flash" IF NOT EXIST "%windir%\winsxs\Manifests\x86_Microsoft.VC80.MFC_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_b77cec8e.cat" xCOPY /s /k /y "%cd%\WINDOWS\winsxs" "%windir%\winsxs" pause REM Reads/saves reg file. Saves the local reg REGEDIT /E local.REG "HKEY_CURRENT_USER\Software\Yahoo\" REM deletes the local registry REGEDIT /S delete.reg REM adds portable reg fle REGEDIT /S portable.reg REM REM fixes relativepaths REGEDIT /S relative.reg start /MIN Yahoo!\Messenger\YahooMessenger.exe REM Checks to see if msnmsgr.exe is still running :pause tasklist | find /i "YahooMessenger.exe" >nul if not %errorlevel%==1 goto :pause REM Reads/saves reg file. Incase of any changes during use REGEDIT /E portable.REG "HKEY_CURRENT_USER\Software\Yahoo\" REM delets traces that you were there REGEDIT /S delete.reg REM restores the local copy REGEDIT /S local.reg --- The flash folder exists normally on a clean install. So it now checks for a certain file. Still having trouble running on EEE. Installing SP3 on Test virtual machine to see if yahoo stops running. |
RE: Yahoo Messenger [ Reply ] By: Viet To on 2010-06-30 04:20 | [forum:7970] |
improper use of COPY --- set myRootPath=%cd% set USERPROFILE=%myRootPath% set ALLUSERSPROFILE=%myRootPath% set APPDATA=%myRootPath%\Application Data set LOCALAPPDATA=%cd% set temp=\temp set tmp=%temp% set programfiles=%cd% set commonprogramfiles=%cd% IF NOT EXIST %windir%\system32\tasklist.exe COPY "%cd%\WINDOWS\system32\tasklist.exe" "%windir%\system32\tasklist.exe" IF NOT EXIST %windir%\system32\macromed\flash xCOPY "%cd%\WINDOWS\system32\macromed\flash" "%windir%\system32\macromed\flash" IF NOT EXIST %windir%\winsxs\Manifests\x86_Microsoft.VC80.MFCLOC_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_0ccc058c.cat xCOPY /s "%cd%\WINDOWS\winsxs" "%windir%\winsxs" REM Reads/saves reg file. Saves the local reg REGEDIT /E local.REG "HKEY_CURRENT_USER\Software\Yahoo\" REM deletes the local registry REGEDIT /S delete.reg REM adds portable reg fle REGEDIT /S portable.reg REM REM fixes relativepaths REGEDIT /S relative.reg start /MIN Yahoo!\Messenger\YahooMessenger.exe REM Checks to see if msnmsgr.exe is still running :pause tasklist | find /i "YahooMessenger.exe" >nul if not %errorlevel%==1 goto :pause REM Reads/saves reg file. Incase of any changes during use REGEDIT /E portable.REG "HKEY_CURRENT_USER\Software\Yahoo\" REM delets traces that you were there REGEDIT /S delete.reg REM restores the local copy REGEDIT /S local.reg --- Still cannot get it to run on EEE. |
RE: Yahoo Messenger [ Reply ] By: Viet To on 2010-06-29 22:03 | [forum:7969] |
Busy, so have to go. But the batch file I'm currently using is: --- set myRootPath=%cd% set USERPROFILE=%myRootPath% set ALLUSERSPROFILE=%myRootPath% set APPDATA=%myRootPath%\Application Data set LOCALAPPDATA=%cd% set temp=\temp set tmp=%temp% set programfiles=%cd% set commonprogramfiles=%cd% IF NOT EXIST %windir%\system32\tasklist.exe COPY "%cd%\WINDOWS\system32\tasklist.exe" "%windir%\system32\tasklist.exe" IF NOT EXIST %windir%\system32\macromed\flash COPY "%cd%\WINDOWS\system32\macromed\flash" "%windir%\system32\macromed\flash" IF NOT EXIST %windir%\winsxs\Policies\x86_policy.8.0.Microsoft.VC80.ATL_1fc8b3b9a1e18e3b_x-ww_5f0bbcff COPY "%cd%\WINDOWS\" "%windir%" REM Reads/saves reg file. Saves the local reg REGEDIT /E local.REG "HKEY_CURRENT_USER\Software\Yahoo\" REM deletes the local registry REGEDIT /S delete.reg REM adds portable reg fle REGEDIT /S portable.reg REM REM fixes relativepaths REGEDIT /S relative.reg start /MIN Yahoo!\Messenger\YahooMessenger.exe REM Checks to see if msnmsgr.exe is still running :pause tasklist | find /i "YahooMessenger.exe" >nul if not %errorlevel%==1 goto :pause REM Reads/saves reg file. Incase of any changes during use REGEDIT /E portable.REG "HKEY_CURRENT_USER\Software\Yahoo\" REM delets traces that you were there REGEDIT /S delete.reg REM restores the local copy REGEDIT /S local.reg --- |
RE: Yahoo Messenger [ Reply ] By: Viet To on 2010-06-29 21:58 | [forum:7968] |
Yahoo is now able to run on Test virtual machine using the batch file. It stopped crashing after I placed the contents of "Windows" from the sandbox into the local drive. |
RE: Yahoo Messenger [ Reply ] By: Viet To on 2010-06-29 21:18 | [forum:7967] |
Moving and assembling files from the Sandbox virtual machine to the Test virtual machine, Yahoo crashes with visible error on login. This is on a clean WinXPPro install without importing any registry settings. Importing the full sandboxie registry still results in a crash with visible error message. Note: EEE is XP Home SP3 while HDMI is XPPro SP2 |
RE: Yahoo Messenger [ Reply ] By: Viet To on 2010-06-29 20:13 | [forum:7966] |
For my referenceL VMware files are from http://www.technibble.com/how-to-create-a-windows-xp-virtual-machine/ |
RE: Yahoo Messenger [ Reply ] By: Viet To on 2010-06-29 20:00 | [forum:7965] |
Starting over in a VMWare environment with Sandboxie, the yahoo install makes... a pretty big list. The command to save the list to a text file is: dir /s DIRECTORY > somefile.txt Note to self: File is saved in vmware folder. Currently going through registry settings |
RE: Yahoo Messenger [ Reply ] By: Viet To on 2010-06-29 16:10 | [forum:7964] |
There's some kind of dependency that was already on my computer that Sandboxie didn't catch. If I copy the program files from EEE and run it on the USB version attached to EEE, it runs. But it wont run on my desktop HDMI. I'm going to start fresh by loading up vmwareplayer, installing Sandboxie, and sanboxing the yahoo install again. |
RE: Yahoo Messenger [ Reply ] By: Viet To on 2010-06-29 14:59 | [forum:7963] |
C\WINDOWS\winsxs\x86_Microsoft.VC80.ATL_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_473666fd and similar folders are not present on EEE. There are folders similarly named, but they're from a different version. The folders on EEE are C:\WINDOWS\WinSxS\x86_Microsoft.VC80.ATL_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_6e805841 and similar They parts I'm looking at are: EEE:8.0.50727.4053 HDMI:8.0.50727.42 The trailing numbers are different also. |
RE: Yahoo Messenger [ Reply ] By: Viet To on 2010-06-29 14:52 | [forum:7962] |
On EEE, it only has: C:\WINDOWS\system32\Macromed\Flash Missing the other folders inside Macromed. Placing the additional folders still results in crashing at buddy list. |
RE: Yahoo Messenger [ Reply ] By: Viet To on 2010-06-29 14:45 | [forum:7961] |
Above assumed methods don't seem to hold true. I did find that Microsoft.VC80.CRT folder is required. For some reason on EEE, it's not present, but it is in Sandboxie. I have deleted the Sandboxie contents as well as removed my flash drive to figure out why it refuses to run on EEE. Absence of Microsoft.VC80.CRT makes the bat file just close, never launching Yahoo. |
RE: Yahoo Messenger [ Reply ] By: Viet To on 2010-06-29 13:30 | [forum:7960] |
Going back to Sandboxie to fiddle around, I found out why Yahoo crashes. When looking at Alerts % Sounds, the paths are absolute. For some reason, my USB version seeks out files on drive L:. I remember copying the files from Sandboxie to USB incorrectly (local settings were in the wrong place) and Yahoo created it anyway. So there's 2 methods: 1.Have sounds default to C:\Program Files\Yahoo!\Messenger\Media\ and copy Media file there should the computer not have a local install (http://en.kioskea.net/forum/affich-30405-creating-a-batch-file-to-copy-a-directory) 2. Find file responsible and delete it, letting Yahoo recreate the file on startup with the new paths. |
RE: Yahoo Messenger [ Reply ] By: Viet To on 2010-06-28 17:13 | [forum:7959] |
Yahoo is still crashing on EEE even without the tasklist stuff. |
RE: Yahoo Messenger [ Reply ] By: Viet To on 2010-06-28 17:07 | [forum:7958] |
http://forums.techguy.org/windows-xp/204633-resolved-run-cmd-tasklist-svc.html tasklist is a WinXP pro exclusive file. However there is a link and instructions on how to get it for WinXP home. New looping method needs to be found. |
RE: Yahoo Messenger [ Reply ] By: Viet To on 2010-06-28 16:35 | [forum:7957] |
Default_SkinDir stays static even when running from a different location. Trying on my Asus EEE (has yahoo installed, but is being used for the different nonexistent drive letter). On EEE, Yahoo runs, and then exits after login without a message. Even after changing Default_SkinDir to the correct path. |
RE: Yahoo Messenger [ Reply ] By: Viet To on 2010-06-28 16:17 | [forum:7956] |
Registry has: HKEY_CURRENT_USER\Software\Yahoo\Pager\profiles\Skins Default_SkinDir = absolutepath In Yahoo Messenger Preferneces, "Alerts & Sounds" also seem to be hardcoded? Changing Default_SkinDir to a nonexisting file seems to have no effect, and does not get written over... Current batch file: --- set myRootPath=%cd% set USERPROFILE=%myRootPath% set ALLUSERSPROFILE=%myRootPath% set APPDATA=%myRootPath%\Application Data set LOCALAPPDATA=%cd% set temp=\temp set tmp=%temp% REM Reads/saves reg file. Saves the local reg REGEDIT /E local.REG "HKEY_CURRENT_USER\Software\Yahoo\" REM deletes the local registry REGEDIT /S delete.reg REM adds portable reg fle REGEDIT /S portable.reg REM REM fixes relativepaths REM REGEDIT /S relative.reg start /MIN YahooMessenger.exe REM Checks to see if msnmsgr.exe is still running :pause tasklist | find /i "YahooMessenger.exe" >nul if not %errorlevel%==1 goto :pause REM Reads/saves reg file. Incase of any changes during use REGEDIT /E portable.REG "HKEY_CURRENT_USER\Software\Yahoo\" REM delets traces that you were there REGEDIT /S delete.reg REM restores the local copy REGEDIT /S local.reg --- |
RE: Yahoo Messenger [ Reply ] By: Viet To on 2010-06-28 15:58 | [forum:7955] |
C\Program Files\Yahoo!\Shared doesnt seem to be needed for running Yahoo Messenger. Copying the contents of C\Program Files\Yahoo!\Messenger to my USB drive. Not bothering copying over system32/catroot and it seems to be made on startup anyway. Copying: All Users\Application Data to \Application Data user\Application Data\Yahoo!\Messenger to \Application Data\Yahoo!\Messenger user\Local Settings\Application Data\Yahoo to \Local Settings\Application Data\Yahoo Bat files needs: allusersprofile userprofile appdata localappdata Yahoo creates the following registry: HKEY_CURRENT_USER\Software\Yahoo We'll use the same trick from Windows Live Messenger. |
RE: Yahoo Messenger [ Reply ] By: Viet To on 2010-06-28 15:30 | [forum:7954] |
Upon closing Yahoo Messenger, the folder C\WINDOWS\system32\CatRoot2 appears in the sandbox. Deleting Apppatch, winsxs, Installer, and Common Files still allow Yahoo Messenger to run and login. Modifications to System32 isn't allowed because they're being used in Sandboxie, even though Yahoo Messenger is closed. Removing System32 from the sanbox still enables it to run, but recreates system32\CatRoot So absolutely required files are: C\Program Files\Yahoo! C\WINDOWS\System32\CatRoot2 Note that the other extra files that are not "required" are VisualC and Flash/Shockwave, all of which are present on my desktop already. To make this truely portable, those dependencies should be included. Yahoo Messenger does not seem to rely on registry settings. Upon sending and receiving messages, these folders are created: all users\Application Data\Yahoo! user\Application Data\Yahoo!\Messenger\Plugin \Local Settings\Application Data\Yahoo\Y!Msgr Local Settings\Temp Local Settings\Temporary Internet Files\Content.IE5 I believe message archives are stored in the program files folder: C\Program Files\Yahoo!\Messenger\Profiles\xxx\Archive\Messages\xxx where xxx is the username |
Yahoo Messenger [ Reply ] By: Viet To on 2010-06-28 15:04 | [forum:7953] |
installfile: http://rd.software.yahoo.com/msgr/10/msgr10us.exe Using Sandboxie to find out what files are made. Installing onto a computer that does not have Yahoo Messenger installed, but may have had it installed in the past. Using the install file, choose Custom install (look at top right) and uncheck everything. Hijacking homepages and toolbars <.< Directories and files made are: C\Config.Msi (that's a folder) C\Program Files\Common Files\Microsoft Shared\VC\msdia80.dll C\Program Files\Yahoo! (has subfolders) C\WINDOWS\AppPatch\AppLoc.tmp C\WINDOWS\Installer\188e37b.msi C\WINDOWS\Installer\6796f5.msi C\WINDOWS\system32\Macromed\Common\SwSupport.dll C\WINDOWS\system32\Macromed\Director\M5drvr32.exe C\WINDOWS\system32\Macromed\Director\M5if32.dll C\WINDOWS\system32\Macromed\Flash C\WINDOWS\system32\Macromed\Shockwave 10 C\WINDOWS\winsxs\__32__ C\WINDOWS\winsxs\Manifests C\WINDOWS\winsxs\Policies C\WINDOWS\winsxs\x86_Microsoft.VC80.ATL_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_473666fd C\WINDOWS\winsxs\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_e6967989 C\WINDOWS\winsxs\x86_Microsoft.VC80.MFC_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_b77cec8e C\WINDOWS\winsxs\x86_Microsoft.VC80.MFCLOC_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_0ccc058c C\WINDOWS\winsxs\x86_Microsoft.VC80.OpenMP_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_e79c4723 |