October 14, 200915 yr Author 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,23Name = %NAME%,0x0000000A,35 Edited October 14, 200915 yr by George King
October 14, 200915 yr 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,23Name = %NAME%,0x0000000A,35well you can't use 35 because they are not in All User they are in UserProfile so replace the 35 with 26that should do the trickEdit: and you need to add the subdir also (i don't know if you already added it or not) Edited October 14, 200915 yr by DaRk MaDnEsS
October 14, 200915 yr Author well you can't use 35 because they are not in All User they are in UserProfile so replace the 35 with 26that should do the trickEdit: and you need to add the subdir also (i don't know if you already added it or not)Don
October 14, 200915 yr Author Dont know how, u making this icons:[WindowsLiveMessenger.Shortcut1]Name = %NAME%,0x00000008,23CmdLine = 16422,"Windows Live\Messenger","msnmsgr.exe"WorkingDir = 16422,"Windows Live\Messenger"InfoTip = %TIP%[WindowsLiveMessenger.Shortcut2]Name = %NAME%,8,26SubDir = "Microsoft\Internet Explorer\Quick Launch"CmdLine = 16422,"Windows Live\Messenger","msnmsgr.exe"WorkingDir = 16422,"Windows Live\Messenger"InfoTip = %TIP%Can you post deleting code?
October 14, 200915 yr Author 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.EXEP.S. I
October 14, 200915 yr Try adding the /T to the end like in the exampleExamples: 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";or11,,tskill.exe,,,."MSNMSGR"
October 15, 200915 yr Author 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 October 15, 200915 yr by George King
October 15, 200915 yr Thats EXACTLY! what I hadno 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
October 15, 200915 yr Author 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...
October 15, 200915 yr 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",8Edit: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 October 15, 200915 yr by DaRk MaDnEsS
October 16, 200915 yr Author I tried this:DelDirs = WindowsLiveMessengerUninstall[WindowsLiveMessengerUninstall]"%16422%\Windows Live\Messenger""%16422%\Windows Live\Contacts""%16422%\Windows Live\Installer"But don
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.