jdoe Posted March 29, 2006 Posted March 29, 2006 (edited) Last time I could not manage to register/unregister dlls using that advpack.dll,LaunchINFSection stuff.The best site for informations about inf is down now but I have found this on the web while ago and this is the only doc I have now. Also, I have included an inf example to register/unregister dlls. I'm sure you will be able to change it for your needs.INF_DOC.ZIP Edited March 29, 2006 by jdoe
Djé Posted March 29, 2006 Posted March 29, 2006 (edited) Waou jdoe, Thank you gozaimasu! Muchos Merci ! It looks like there is a lot to learn in this zip. Very valuable for learning advanced inf syntax.This should be back on the web.Half of the little I knew about inf, I already took it from you (I copied your installer for CABTool to make one for CBin ), but now you are taking a serious advance over gosh! cheers! Edited March 29, 2006 by Djé
ZileXa Posted March 29, 2006 Posted March 29, 2006 I know it's not relevent anymore since everyone misunderstood the real question and the good answer must be the one from Yzöwl about >nul (with echo off).But about hiding command prompt window without using 3rd party program or VBScript there is one more solution I don't remember having see in other topics.TEST.INF[Version]Signature="$Windows NT$"AdvancedINF=2.5[DefaultInstall]RunPostSetupCommands=DefaultInstall.RunPostSetupCommands:1[DefaultInstall.RunPostSetupCommands]TEST.CMDAnd you call it like thisrundll32.exe advpack.dll,LaunchINFSection TEST.INFpretty cool, I didn't know this was possible. Would this trick work on both WinXP as Win2000?
jdoe Posted March 30, 2006 Posted March 30, 2006 @ZileXa:Sorry I didn't find an MSDN link but from Windows 2003 SDK SP1 the minimum requirement for LaunchINFSection (advpack.dll) is Internet Explorer 5.01 / Windows 2000
jdoe Posted March 31, 2006 Posted March 31, 2006 (edited) I know it's not relevent anymore since everyone misunderstood the real question and the good answer must be the one from Yzöwl about >nul (with echo off).But about hiding command prompt window without using 3rd party program or VBScript there is one more solution I don't remember having see in other topics.TEST.INF[Version]Signature="$Windows NT$"AdvancedINF=2.5[DefaultInstall]RunPostSetupCommands=DefaultInstall.RunPostSetupCommands:1[DefaultInstall.RunPostSetupCommands]TEST.CMDAnd you call it like thisrundll32.exe advpack.dll,LaunchINFSection TEST.INFI made a mistake about the way to call the INF.I forgot something at the end... I should have wrote...rundll32.exe advpack.dll,LaunchINFSection TEST.INF,DefaultInstallSorry Edited April 5, 2006 by jdoe
spazmire11 Posted March 31, 2006 Posted March 31, 2006 heres a bundle of info on the ms site about infs and what you can do with themhttp://msdn.microsoft.com/library/default....a14a671.xml.aspi use it for my reffrence, so thought id share....
ZileXa Posted April 2, 2006 Posted April 2, 2006 (edited) thanks! btw, I register/install huffyuv & Xvid encoder during T12 with RunOnceEx, with the .INF file, it does require a different method to call the inf file. I am not home right now, will post later. Edited April 2, 2006 by ZileXa
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now