PROBLEMCHYLD Posted June 18, 2006 Author Share Posted June 18, 2006 (edited) O kay guys i got the dll files in order they installed properly after removing the 4 thanks Edited June 19, 2006 by PROBLEMCHYLD Link to comment Share on other sites More sharing options...
Petr Posted June 18, 2006 Share Posted June 18, 2006 The correct syntax is file,,,4 and not file,4, this is the problem. The explanation what this "4" means is here: http://old.winpack.org/petr/INF_web/copyfile.htmPetr Link to comment Share on other sites More sharing options...
PROBLEMCHYLD Posted June 18, 2006 Author Share Posted June 18, 2006 (edited) The correct syntax is file,,,4 and not file,4, this is the problem. The explanation what this "4" means is here: http://old.winpack.org/petr/INF_web/copyfile.htmPetr[version]signature="$CHICAGO$"[DefaultInstall]CopyFiles = copy.filesRegisterOCXs=Register.files[copy.files]browseui.dll,,,4regclean.exe,,,4etc.................is this how it should be? Edited June 19, 2006 by PROBLEMCHYLD Link to comment Share on other sites More sharing options...
PROBLEMCHYLD Posted June 19, 2006 Author Share Posted June 19, 2006 (edited) This is a example of what my setup would be98SE2XP.bmp %windir%98SEOLD.bmp %windir%CALC.exe %windir% default shortcutCharmap.exe %windir% default shortcutDeskMenu.exe %windir% shortcut WINDOWS\Start Menu\Programs\startupECM.hlp %windir%\helpIEXPLORE.exe C:\programs files\internet exploreriexpress.exe %windir%\systemKing Crimson.jpg C:\windows\web\wallpaperMAPC_OFF.infmobsync.exe %windir%\system default shortcutMSPAINT.exe C:\Programs\Accessories default shortcutNOTEPAD.exe %windir% default shortcutPulp Fiction.jpg C:\windows\web\wallpaperRegClean.exe %windir% shortcut C:\WINDOWS\Start Menu\Programs\Accessories\System ToolsShared Dll.exe %windir%SNDREC32.exe %windir% default shortcut SNDVOL32.exe %windir% default shortcut spider.exe %windir% default shortcut Windows Millennium.jpg C:\windows\web\wallpaperWINTOP.exe %windir% shortcut C:\WINDOWS\Start Menu\Programs\Accessories\System ToolsWINTOP.infWINTOP.VXDWRITE.exe %windir% default shortcut WUPDMGR.exe %windir%Explorer.exe %windir%systray.exe %windir%\systemNow how do i set it up correctly in my inf file Edited June 20, 2006 by PROBLEMCHYLD Link to comment Share on other sites More sharing options...
JoeMSFN Posted June 19, 2006 Share Posted June 19, 2006 (edited) http://old.winpack.org/petr/INF_web/copyfile.htmAwsome link... thus far the only other .inf tutorial that I knew of was Gosh's. Edited June 20, 2006 by JoeMSFN Link to comment Share on other sites More sharing options...
PROBLEMCHYLD Posted June 21, 2006 Author Share Posted June 21, 2006 (edited) I don't want the reg files copied but to install/register Edited June 23, 2006 by PROBLEMCHYLD Link to comment Share on other sites More sharing options...
PROBLEMCHYLD Posted June 23, 2006 Author Share Posted June 23, 2006 Did you guys forget about me?I need some1 to critique the post above and let me know if everything is right before i go any further which i gonna need help along the way. Link to comment Share on other sites More sharing options...
eidenk Posted June 23, 2006 Share Posted June 23, 2006 Did you guys forget about me?I need some1 to critique the post above and let me know if everything is right before i go any further which i gonna need help along the way.I thought you were too busy giving your blessings to Israel those days : Link to comment Share on other sites More sharing options...
PROBLEMCHYLD Posted June 23, 2006 Author Share Posted June 23, 2006 (edited) Did you guys forget about me?I need some1 to critique the post above and let me know if everything is right before i go any further which i gonna need help along the way.I thought you were too busy giving your blessings to Israel those days :you spent more time to post something irrelevant far as this postwhen you could have just said yes or nowhat a genius Edited June 23, 2006 by PROBLEMCHYLD Link to comment Share on other sites More sharing options...
eidenk Posted June 23, 2006 Share Posted June 23, 2006 You didn't follow the instructions as to what to do with your reg files in a previous post and you ask again so let me take it as a joke or as as a game you play.You snap in your fingers and you expect to be instantly answered for stuff that has already been answered.I said :For your registry files, you may also want to convert them into inf format and create a new section for them in your above inf.You can convert reg to inf quite easily with Willy Pad :http://www.chez.com/snoopy81/en/willy.htmAnd you later asked :I don't want the reg files copied but to install/register Link to comment Share on other sites More sharing options...
PROBLEMCHYLD Posted June 23, 2006 Author Share Posted June 23, 2006 (edited) I downloaded Willy Pad and it only let me convert 1 file at a time.can i use a batch file to register the files meaning i use the inf to trigger the batch file to install the reg files@ eidenkI also gotta thank you for u got me this farlets ride til the end Edited June 23, 2006 by PROBLEMCHYLD Link to comment Share on other sites More sharing options...
eidenk Posted June 23, 2006 Share Posted June 23, 2006 You are able to copy and paste I believe, so there should be no problem with your reg files. You can either merge all your reg files into one and convert it all at once with Willy pad or use copy and paste between two instances of it.What you need to do is declare an AddReg section in the DefaultInstall section, create that Addreg section and add the values to it.[DefaultInstall]AddReg=Something[Something]What you have converted with WillyPadOr as you say, I guess you can include all your regs + bat and then run the batch file as the post setup command.You must try it to see if it does work for the second method because I have never tried that. Link to comment Share on other sites More sharing options...
PROBLEMCHYLD Posted June 23, 2006 Author Share Posted June 23, 2006 (edited) the post setup command did work for the reg files.do i add the two inf files i have to the bat file or set a path in my inf file Edited June 23, 2006 by PROBLEMCHYLD Link to comment Share on other sites More sharing options...
MDGx Posted June 23, 2006 Share Posted June 23, 2006 To convert REG files to INF files, you may want to consider REG2INF [free]:http://www.paraglidernc.com/12142.htmlDownload ConvRegToInf.But this program requires you to learn proper registry H_KEY abbreviations valid for INF files, because REG2INF has its own template code, which is valid only for Bart's PE Builder scripts [apply to Windows 2000/XP/2003].Online convertor:http://vb.nl.eu.org/homepage/reg2peinf.aspxInf-tool can convert reg 2 inf too:http://www.msfn.org/board/?s=&showtopi...ost&p=79777HTH Link to comment Share on other sites More sharing options...
eidenk Posted June 23, 2006 Share Posted June 23, 2006 the post setup command did work for the reg files.do i add the two inf files i have to the bat file or set a path in my inf fileWhy do you have two inf files now ? Can't you do just with one and have it as the main setup command of the installer ?Obviously you could add your infs to the batch file if you wanted to, after all.You can try this in your batch file :rundll.exe setupx.dll,InstallHinfSection DefaultInstall 132 %1and replace %1 by the name of the inf you want to launch.You must try and experiment yourself and see what works best or what you are more comfortable with but going entirely with inf (without a batch file) is not only more elegant, as there is no command window that will appear, but also likely to be more stable IMO.Anyway I think you got the basics now, isnt'it ? Link to comment Share on other sites More sharing options...
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