MSFN Forum: Silent rundll32 script - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Silent rundll32 script im trying... Rate Topic: -----

#1 User is offline   pantera_team_a 

  • Group: Members
  • Posts: 2
  • Joined: 26-June 07

Posted 09 October 2007 - 09:51 AM

hey guys... a few years back i came upon a script to get rid of windows messenger (the one that comes with windows XP)

I never liked it and back then i always downloaded MSN messenger (I liked it better and i had more control)

So here is the script...

RunDll32 advpack.dll,LaunchINFSection %windir%\inf\msmsgs.inf,BLC.Remove

It seemed like a simple way to get rid of it and it works great... but sadly when i integrate it into my Install.cmd it pops up with a confirmation box and a box that confirms its done...

Does anyone know how i could run this silently?

I did a search and couldnt find anything relevant...

thanks a million guys!


#2 User is offline   Arie 

  • One Man Army
  • PipPipPipPipPip
  • Group: Members
  • Posts: 835
  • Joined: 27-August 07

Posted 09 October 2007 - 02:16 PM

You can simply not make it install in the first place, instead of removing it later on during the whole setup process. You'll need to add some lines to your WINNT.SIF for this; see the Unattended Guide.

#3 User is offline   pantera_team_a 

  • Group: Members
  • Posts: 2
  • Joined: 26-June 07

Posted 10 October 2007 - 09:03 AM

Actually as a side note.... i know i can remove it using nlite but im using an automated windows update script during my install and it keeps redownloading it since the update script is not that smart to pick one update or another: it just downloads all new available updates...

So if anyone knows a better way to do it please let me know....

For info: A box comes up asking if im sure i want to run the script since Windows Messenger is still running (because it starts automaticly after it is installed)... then it pops up another box saying it is finished "please click ok"...

This is really a problem since the idea is not to have to sit there and wait for these messages....

Thanks again all!

#4 User is offline   ricktendo64 

  • Group: Banned Members
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,120
  • Joined: 06-June 06
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 10 October 2007 - 10:49 AM

RunDll32 advpack.dll,LaunchINFSection %windir%\inf\msmsgs.inf,BLC.Remove,1,N


Quote

Calling Syntax

rundll32.exe advpack.dll,LaunchINFSection inf filename[,section name][,flags][,smart reboot]

INF Filename

INF file pathname you want to launch.

Section Name

INF install section name you want to launch in the INF file.

Flags
Flag Meaning
1 Quiet Mode
2 No GrpConv

Smart Reboot
N No Reboot
A Always Reboot
I Reboot if Needed (default value)


http://www.sokoolz.c...r64/INF_DOC.ZIP

This post has been edited by ricktendo64: 10 October 2007 - 10:52 AM


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy