Jump to content
Sign in to follow this  
George King

Can someone check my Windows Live Messenger True Addon?

Recommended Posts

Great Darky, it works, and what about deleting Quick Launch icon? I dont know how do it... My current code (first line work), but dont know how delete it...

Name = %NAME%,0x0000000A,23
Name = %NAME%,0x0000000A,35

Edited by George King

Share this post


Link to post
Share on other sites
Guest

Great Darky, it works, and what about deleting Quick Launch icon? I dont know how do it... My current code (first line work), but dont know how delete it...

Name = %NAME%,0x0000000A,23
Name = %NAME%,0x0000000A,35

well you can't use 35 because they are not in All User

they are in UserProfile so replace the 35 with 26

that should do the trick

Edit:

and you need to add the subdir also

(i don't know if you already added it or not)

Edited by DaRk MaDnEsS

Share this post


Link to post
Share on other sites

well you can't use 35 because they are not in All User

they are in UserProfile so replace the 35 with 26

that should do the trick

Edit:

and you need to add the subdir also

(i don't know if you already added it or not)

Don

Share this post


Link to post
Share on other sites

Dont know how, u making this icons:

[WindowsLiveMessenger.Shortcut1]
Name = %NAME%,0x00000008,23
CmdLine = 16422,"Windows Live\Messenger","msnmsgr.exe"
WorkingDir = 16422,"Windows Live\Messenger"
InfoTip = %TIP%

[WindowsLiveMessenger.Shortcut2]
Name = %NAME%,8,26
SubDir = "Microsoft\Internet Explorer\Quick Launch"
CmdLine = 16422,"Windows Live\Messenger","msnmsgr.exe"
WorkingDir = 16422,"Windows Live\Messenger"
InfoTip = %TIP%

Can you post deleting code?

Share this post


Link to post
Share on other sites

Ok Darky, got it. But there is new problem... If messenger running. I added this, but not working...

[Uninstall.msmsgs]
RunPreSetupCommands = ExitWindowsLiveMessenger:1

[ExitWindowsLiveMessenger]
TASKKILL /F /T /IM MSNMSGR.EXE

P.S. I

Share this post


Link to post
Share on other sites

Try adding the /T to the end like in the example

Examples:
TASKKILL /IM notepad.exe
TASKKILL /PID 1230 /PID 1241 /PID 1253 /T
TASKKILL /F /IM cmd.exe /T
TASKKILL /F /FI "PID ge 1000" /FI "WINDOWTITLE ne untitle*"
TASKKILL /F /FI "USERNAME eq NT AUTHORITY\SYSTEM" /IM notepad.exe
TASKKILL /S system /U domain\username /FI "USERNAME ne NT*" /IM *
TASKKILL /S system /U username /P password /FI "IMAGENAME eq note*"

BTW this only works if you call the INF section using advanced INF install or advpack.dll, I have a trick that uses UnRegisterDLLs (because it executes before CopyFiles) to do this for Optional Components uninstall (see plusoc.inf of my MCE addon)

[Uninstall.msmsgs]
UnregisterDLLs = ExitWindowsLiveMessenger

[ExitWindowsLiveMessenger]
11,,taskkill.exe,,,."/F /IM MSNMSGR.EXE /T"
;or
11,,tskill.exe,,,."MSNMSGR"

Share this post


Link to post
Share on other sites

Now i´m confused, i tried all of you posted (also seen plusoc.inf), but not working... :ranting:

EDIT: Got it, it must be like this:

11,,taskkill.exe,,,"/F /IM MSNMSGR.EXE /T"

Edited by George King

Share this post


Link to post
Share on other sites
Guest

Thats EXACTLY! what I had

no for some reason there was a "." you added

i think it's a mistake you did there << i didn't notice it my self until i made a second look

Share this post


Link to post
Share on other sites

All now work 100% but if i uninstall messenger, thne in Program Files is folder Windows Live withou files, only include Messenger, Contacs, Installer, all folders are empty...

Share this post


Link to post
Share on other sites
Guest

All now work 100% but if i uninstall messenger, thne in Program Files is folder Windows Live withou files, only include Messenger, Contacs, Installer, all folders are empty...

try add this line

RunPostSetupCommands =Delete.Folders

[Delete.Folders]
RUNDLL32 advpack.dll,DelNodeRunDLL32 "%16422%\Windows Live\Messenger",8

Edit:

Just in case it didn't work

try this

Run        = Delete.Folders
[Delete.Folders]
CommandLine="CMD /Q /C RD /S /Q ""%16422%\Windows Live\Messenger"" "
TickCount=500

Edited by DaRk MaDnEsS

Share this post


Link to post
Share on other sites

I tried this:

DelDirs             = WindowsLiveMessengerUninstall

[WindowsLiveMessengerUninstall]
"%16422%\Windows Live\Messenger"
"%16422%\Windows Live\Contacts"
"%16422%\Windows Live\Installer"

But don

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...