Jeffr Posted September 3, 2003 Share Posted September 3, 2003 Ok, got it figured out[guirunonce]Command0="%systemdrive%\WINDOWS\SYSTEM32\rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %systemdrive%\install\install.inf"Dont seem to like MSI files at all...... Link to comment Share on other sites More sharing options...
webmedic Posted September 3, 2003 Share Posted September 3, 2003 thanks for the update on this yes I use a combination of this. I actaully use cmd files for a few things and then laod the inf files from the cmd files. and i had also durring experimanting found the same command lines you use above although I had not found the command trick for the winnt.sif.One more thing I use cmd files to install anything that needs the iss file( ie anything that uses install shield), As for the rest I have found a little utility for minimzing the command propmt and it works pretty good. You simply give a command and it hides the window. Link to comment Share on other sites More sharing options...
webmedic Posted September 3, 2003 Share Posted September 3, 2003 Ok, got it figured out[guirunonce]Command0="%systemdrive%\WINDOWS\SYSTEM32\rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %systemdrive%\install\install.inf"Dont seem to like MSI files at all......Yes I finally got it loading from commands.txt and doing a few other things. You are correct in that it does not seem to like doing msi files. I wonder why that is but it skips them completely as far as I can tell. I can get around this though by doing it wiht a cmd file and just calling that. Link to comment Share on other sites More sharing options...
webmedic Posted September 3, 2003 Share Posted September 3, 2003 HiExcuse me for one stupid cuestion; i´ve three cmd files main,apps & hotfix, with that BAT2EXEC i convert all them to *.com, right so i have to change GUI portion of my winsif to This[GuiRunOnce] %systemdrive%\install\bacht.com %systemdrive%\instalar\hotfix.com %systemdrive%\instalar\apps.comSorry but my english is to bad.Thanks in the advicethere is a big problem wiht using com files. When you compile your batch files there are things that dont convert over so some com files will wimply not work. It would seem as though most of the theings we do in our cmd files are not compatable with the compile process. Well at least some of ti is not. Link to comment Share on other sites More sharing options...
Jeffr Posted September 3, 2003 Share Posted September 3, 2003 before i went to bed(was up real late experimenting) i setup my Msi files to run as RunonceEx instead of Runonce...It seemed to load them..... i think, was just running the command in windows to do the inf..... but it screwed up on all the others, gonna test it on a fresh install in VirtualPC when i get home Link to comment Share on other sites More sharing options...
jdgordon Posted September 5, 2003 Share Posted September 5, 2003 ok, which way is better? using the regisry or using the inf?how do u load installshield programs with the reg way? Link to comment Share on other sites More sharing options...
webmedic Posted September 5, 2003 Share Posted September 5, 2003 well being me i prefer the inf way besides I have just about converting my whole install over to useing them. i have it al lowrking more or less now but I'm working out a few little things I still want to add.As for the installshield you will still need to use a batch for it and then have the registry call the batch. A tiny bit more work biut it looks better when it's done. Link to comment Share on other sites More sharing options...
devil270975 Posted September 5, 2003 Author Share Posted September 5, 2003 Now me and webmedic could argue about this all day, he found the inf way and i found the reg wayit all depends on what you want for good looks and simplicity use the reg wayfor advanced instalation ie: install programs before runonceEX use the inf way, allthough you can install programs using a batch with the cmdlines.txt the inf method is probably more stable, so the choice is yours simplicity or greater control????? they both look the same Link to comment Share on other sites More sharing options...
jdgordon Posted September 6, 2003 Share Posted September 6, 2003 with the reg way do i need to use the winnt.sif file to reboot the comp b4 they install or is it done automatically? Link to comment Share on other sites More sharing options...
Ignis Posted September 6, 2003 Share Posted September 6, 2003 i'm sorry, i may look like a dumbass but i understand nothing on thiswhere do i have to put setup.reg? and cmdlines.cmd? i thought it was cmdlines.txt under $OEM$\what's copy.exe? and user.exe? i know they are compiled bats but...what about MSFN unattended guide...? there are 3 .cmd in there:[GuiRunOnce]%systemdrive%\install\main_batch.cmd%systemdrive%\install\hotfixes.cmd%systemdrive%\install\applications.cmdso i wouldnt need them anymore?a well-structured guide 2 do this would be greatly appreciatedthanks in advance and sorry Link to comment Share on other sites More sharing options...
b0r3d Posted September 6, 2003 Share Posted September 6, 2003 When you 'tech-heads' fine tune this version of how to install files, then im sure that alot of users (including myself) would appreciate a guide Link to comment Share on other sites More sharing options...
webmedic Posted September 7, 2003 Share Posted September 7, 2003 lol no problem i will give you one. I'm also working on sime nice inf installers for reg tweaks. Hope you all like them. It makes it so that your reg tweaks can be uninstalled. Link to comment Share on other sites More sharing options...
DaveXP Posted September 15, 2003 Share Posted September 15, 2003 ok i have tryed the Windows Update way and works fine now where can i try the .inf way.The Windows Update Method is great work.Well Done!!! And how can i add a tick by the ones which have finshed. Link to comment Share on other sites More sharing options...
webmedic Posted September 15, 2003 Share Posted September 15, 2003 ah the tick is the inf way you dont get it the other way. or at least I dont think you do. but here is a link about using inf for installing.http://board.MSFN.org/index.php?showtopic=8632this exact same method can be used for guirunonce also but in that example I do the cmdlines.txt part. Link to comment Share on other sites More sharing options...
DaveXP Posted September 15, 2003 Share Posted September 15, 2003 ah the tick is the inf way you dont get it the other way. or at least I dont think you do. but here is a link about using inf for installing.http://board.MSFN.org/index.php?showtopic=8632this exact same method can be used for guirunonce also but in that example I do the cmdlines.txt part.No i fully understand the Windows Update way and have make my setup do it that way and it works like a dream with no problems in fact in sovle some problems i had and now i wish to do it the inf way becuase i try everything around here. 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