# MSFN Forum: using windows update - MSFN Forum

Jump to content

• 5 Pages
• 1
• 2
• 3
• 4
• 5

## using windows update Rate Topic: //<![CDATA[ rating = new ipb.rating( 'topic_rate_', { url: 'http://www.msfn.org/board/index.php?app=forums&module=ajax&section=topics&do=rateTopic&t=8337&md5check=' + ipb.vars['secure_hash'], cur_rating: 0, rated: 0, allow_rate: 0, multi_rate: 1, show_rate_text: true } ); //]]>

### #41DaveXP

• The One
• Group: Members
• Posts: 1,295
• Joined: 15-July 03

Posted 02 September 2003 - 06:11 PM

edg21, on Sep 3 2003, 12:31 AM, said:

Quote

Right let me get this right you what to make a screen to cover the batch file progress but your not going to be there to see it.

huh

No, I simply posted a way for someone to do it if they wanted to I personally don't really care what it looks like The whole point of an unattended install is just that... it's unattended.

i see

### #42Mexicano

• Newbie
• Group: Members
• Posts: 25
• Joined: 16-August 03

Posted 02 September 2003 - 08:45 PM

Hi

Excuse 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.com

Sorry but my english is to bad.

Thanks in the advice

### #43webmedic

• fixer of things broken
• Group: Members
• Posts: 621
• Joined: 15-August 03

Posted 02 September 2003 - 08:48 PM

Yes that is correct.

### #44MadMan03

• WindowsXP worker
• Group: Members
• Posts: 53
• Joined: 31-August 03

Posted 03 September 2003 - 12:48 AM

hmmm...when i use the com ending he do nothing...only error....you can use the cmd files already...ive test it and it goes very well....coul i see a picture from the new one....

### #45Jeffr

• Newbie
• Group: Members
• Posts: 24
• Joined: 30-August 03

Posted 03 September 2003 - 12:57 AM

Winxp Doesnt ship with rundll only rundll32

just a quick note for those trying to get webmedics thing to work

C:\WINDOWS\SYSTEM32\rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 path\to\install.inf

**update

so far trying to integrat this into winnt.sif i am getting an error when trying

%systemdrive%\WINDOWS\SYSTEM32\rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %systemdrive%\install\install.inf

Run("%systemdrive%\WINDOWS\SYSTEM32\rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %systemdrive%\install\install.inf")

Run(%systemdrive%\WINDOWS\SYSTEM32\rundll32.exe","setupapi,InstallHinfSection DefaultInstall 132 %systemdrive%\install\install.inf")

hrm..

### #46Jeffr

• Newbie
• Group: Members
• Posts: 24
• Joined: 30-August 03

Posted 03 September 2003 - 02:28 AM

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......

### #47webmedic

• fixer of things broken
• Group: Members
• Posts: 621
• Joined: 15-August 03

Posted 03 September 2003 - 07:11 AM

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.

### #48webmedic

• fixer of things broken
• Group: Members
• Posts: 621
• Joined: 15-August 03

Posted 03 September 2003 - 10:22 AM

Jeffr, on Sep 3 2003, 09:28 AM, said:

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.

### #49webmedic

• fixer of things broken
• Group: Members
• Posts: 621
• Joined: 15-August 03

Posted 03 September 2003 - 10:25 AM

Mexicano, on Sep 3 2003, 03:45 AM, said:

Hi

Excuse 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.com

Sorry but my english is to bad.

Thanks in the advice

there 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.

### #50Jeffr

• Newbie
• Group: Members
• Posts: 24
• Joined: 30-August 03

Posted 03 September 2003 - 10:47 AM

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

### #51jdgordon

• Member
• Group: Members
• Posts: 190
• Joined: 11-August 03

Posted 04 September 2003 - 09:37 PM

ok, which way is better? using the regisry or using the inf?
how do u load installshield programs with the reg way?

### #52webmedic

• fixer of things broken
• Group: Members
• Posts: 621
• Joined: 15-August 03

Posted 04 September 2003 - 10:16 PM

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.

### #53devil270975

• Advanced Member
• Group: Members
• Posts: 368
• Joined: 31-July 03

Posted 05 September 2003 - 07:34 AM

Now me and webmedic could argue about this all day, he found the inf way and i found the reg way
it all depends on what you want for good looks and simplicity use the reg way
for 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

### #54jdgordon

• Member
• Group: Members
• Posts: 190
• Joined: 11-August 03

Posted 06 September 2003 - 03:13 AM

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?

### #55Ignis

• Unattended
• Group: Members
• Posts: 53
• Joined: 06-September 03

Posted 06 September 2003 - 06:25 AM

i'm sorry, i may look like a dumbass but i understand nothing on this

where 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.cmd

so i wouldnt need them anymore?

a well-structured guide 2 do this would be greatly appreciated

thanks in advance and sorry

### #56b0r3d

• Friend of MSFN
• Group: Members
• Posts: 821
• Joined: 03-August 03

Posted 06 September 2003 - 07:07 AM

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

### #57webmedic

• fixer of things broken
• Group: Members
• Posts: 621
• Joined: 15-August 03

Posted 06 September 2003 - 10:09 PM

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.

### #58DaveXP

• The One
• Group: Members
• Posts: 1,295
• Joined: 15-July 03

Posted 15 September 2003 - 08:59 AM

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.

### #59webmedic

• fixer of things broken
• Group: Members
• Posts: 621
• Joined: 15-August 03

Posted 15 September 2003 - 10:45 AM

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.or...?showtopic=8632

this exact same method can be used for guirunonce also but in that example I do the cmdlines.txt part.

### #60DaveXP

• The One
• Group: Members
• Posts: 1,295
• Joined: 15-July 03

Posted 15 September 2003 - 10:59 AM

webmedic, on Sep 15 2003, 05:45 PM, said:

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.or...?showtopic=8632

this 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.

• 5 Pages
• 1
• 2
• 3
• 4
• 5

## 2 User(s) are reading this topic0 members, 2 guests, 0 anonymous users

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