Jump to content

Recommended Posts

Posted (edited)

If this has been covered before, please tell me what I need to search for because I couldn't find anything relevant.

I have a few questions...

1a) Is RunDll32 already accessible during the SVCPACK portion of Windows setup?

1b) When removing two Windows components through RunDll32 on an existing installation of Windows (not tested during Windows setup), they are still marked as installed in Add/Remove Windows Components. What needs to be done to make Add/Remove Windows Components reflect the changes?

2) Is HKEY_CURRENT_USER accessible from SVCPACK?

3a) Is it possible to edit the HKCU registry for user accounts that still need to be created?

3b) Among other things, a value needs to be removed from Run; would the "pre-edit" (3a) take effect quickly enough for the program to not start before its entry is removed from Run?

The idea is to remove Windows Messenger, install MSN Messenger, remove the "this program is still running" balloon, remove the balloon to create a Passport account, and to stop MSN Messenger from automatically starting when a user logs on. This is what I got so far.

StartX.exe /wait "RunDll32 advpack.dll,LaunchINFSection %windir%\INF\wmaccess.inf,UninstallWM"
StartX.exe /wait "RunDll32 advpack.dll,LaunchINFSection %windir%\INF\msmsgs.inf,BLC.Remove"
StartX.exe /wait "msiexec /i MsnMsgs.msi /qb-! /norestart"
regedit -s patchMSN.reg

patchMSN.reg:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\MSNMessenger]
"AppSettings"=hex:62,04,00,00
"DSBkgndMode"=hex:01,00,00,00
"PassportBalloon"=hex:0a,00,00,00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
"MsnMsgr"=-

I still need to know whether it would work as intended from SVCPACK, and questions 1b, 3a and 3b remain unanswered as well.

Edited by Tomcat76

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