MSFN Forum: Drivers Instalation in Post-Install stage (New Method) - MSFN Forum

Jump to content



  • 31 Pages +
  • « First
  • 9
  • 10
  • 11
  • 12
  • 13
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Drivers Instalation in Post-Install stage (New Method) Updated: 1.XII.2009 version 2.0.0.28 Rate Topic: -----

#201 User is offline   MadBoy 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 464
  • Joined: 21-February 05

Posted 16 January 2007 - 06:10 AM

Nah, it was for this chineese guy that had some problem :) I have some ideas how to speed it up but it will be always slower then using DIR output. It will be less messy in code thou. Nicer for me. I wish i would get some kick in the head so i would start working on professional version as it looks realy good even now ;P


#202 User is offline   kickarse 

  • the free techie
  • PipPip
  • Group: Members
  • Posts: 227
  • Joined: 26-April 05
  • OS:XP Pro x86
  • Country: Country Flag

Posted 16 January 2007 - 12:30 PM

Awesome... I wish there was a way to start this in a runounce before login to windows... So on reboot for a image it'll auto install before windows has a chance to screw things up.

#203 User is offline   MadBoy 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 464
  • Joined: 21-February 05

Posted 17 January 2007 - 02:35 AM

Well i'm sure there is, as probably that's why there was timer added by me on someone's request.

WINNT.SIF - You can do something like this (that's just an example):

Quote

[GuiUnattended]AdminPassword=xyz
AutoLogon=Yes
AutoLogonCount=1
OEMSkipRegional=1
TimeZone=110
OemSkipWelcome=1
[GuiRunOnce]
"\\winpack.ee.ethz.ch.\pack\configure\charon\runonce.bat"


I'm sure in other modes like SYSPREP.INF or RIS or whatever you can do similar things. Just google for it.

#204 User is offline   kickarse 

  • the free techie
  • PipPip
  • Group: Members
  • Posts: 227
  • Joined: 26-April 05
  • OS:XP Pro x86
  • Country: Country Flag

Posted 17 January 2007 - 10:19 AM

Yeah I was the one who requested it :hello:

And guirunounce runs after first login not before... I'm looking into it though.

#205 User is offline   MadBoy 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 464
  • Joined: 21-February 05

Posted 17 January 2007 - 10:25 AM

Ah i read it wrong :P "before" login. I read it "after login. Well you could prolly use the proggy sometime sooner but guess you don't need my proggy then as Windows would detect the drivers itself. You just need to give him paths where to look for. My program is typically done for After first login to windows either from automatic point of view or manual.

#206 User is offline   kickarse 

  • the free techie
  • PipPip
  • Group: Members
  • Posts: 227
  • Joined: 26-April 05
  • OS:XP Pro x86
  • Country: Country Flag

Posted 19 January 2007 - 07:59 AM

Well I figured it out :thumbup

I got it to work but did it differently

HKEY_USERS\.Default\Control Panel\Desktop\

Edit String SCRNSAVE.EXE to wherever the program you want to run is

Edit String ScreenSaveActive to 1

Edit String ScreenSaverIsSecure to 0

Edit String ScreenSaveTimeOut to whatever seconds you want to wait, I put 20 to allow time to login but also let me run the program...

Works great... I'm adding this to my sysprep and I have a program that auto installs hardware.
Think I'm going to use a batch script that runs this then imports the proper reg keys...

#207 User is offline   MadBoy 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 464
  • Joined: 21-February 05

Posted 20 January 2007 - 07:04 AM

Seems like a nice idea to replace Screen Saver with hardware detection mechanizm. Why won't you integrate the drivers into sysprep image totally for all devices? I'm asking because i've recently changed my job and i was told that the company has 88 builds that will have to manage and i will have to cut down the numbers so i'm wondering on possible solutions on how to achieve a lot less like 1-5 images + some dvd with applications of their choice (if multiple options of course). I haven't had occasion to look how they are doing it now since i need to go to .UK to be first introduced on how they are managing all that and how it's done ATM, but i want to have some background and some ideas first to shoot with :)

#208 User is offline   kickarse 

  • the free techie
  • PipPip
  • Group: Members
  • Posts: 227
  • Joined: 26-April 05
  • OS:XP Pro x86
  • Country: Country Flag

Posted 20 January 2007 - 01:11 PM

The problem comes with the WLAN drivers from Intel. It makes sysprep take FOREVER to finish. So I just add the rest and leave hardware to add them after first login.

Btw, I get an error after it detects all drivers and then tries to pull up the hardware installation wizards... When I get back to work I'll shoot that to you Monday.

#209 User is offline   kickarse 

  • the free techie
  • PipPip
  • Group: Members
  • Posts: 227
  • Joined: 26-April 05
  • OS:XP Pro x86
  • Country: Country Flag

Posted 22 January 2007 - 07:54 AM

I got the error... it's CM_Reenumerate_DevNode Failed Error: 51

This post has been edited by kickarse: 22 January 2007 - 08:05 AM


#210 User is offline   MadBoy 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 464
  • Joined: 21-February 05

Posted 22 January 2007 - 08:05 AM

When, what, how :) Elaborate on this a bit ;) Error alone doesn't give me anything :)

#211 User is offline   kickarse 

  • the free techie
  • PipPip
  • Group: Members
  • Posts: 227
  • Joined: 26-April 05
  • OS:XP Pro x86
  • Country: Country Flag

Posted 22 January 2007 - 10:59 AM

It happens with the Scrnsave.exe edit... before login run that is.

The program runs but as soon as it tries to enumerate the hardware it fails with this message...

#212 User is offline   MadBoy 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 464
  • Joined: 21-February 05

Posted 22 January 2007 - 01:16 PM

Unfortunetly i left the source at my parents home and now getting my sister to send me my projects to mail ;p It's preety hard. Anyways if i remember correctly this line you pasted comes from function for getting Devices P&P redetection. I can modify code a bit and we can try using devcon rescan instead and see what happens. if it works i can add 'option' in .ini file to either use autoit internal code or devcon :P

Will fix soon i guess. Tnx for report. If you wish you can always msg me on MSN (pm for info) or IRC (EFNET), on which i am non-stop (more or less of course), with problems so we can try to fix things on the fly. Keep in mind thou, time diffrence ;P

This post has been edited by MadBoy: 22 January 2007 - 01:41 PM


#213 User is offline   kickarse 

  • the free techie
  • PipPip
  • Group: Members
  • Posts: 227
  • Joined: 26-April 05
  • OS:XP Pro x86
  • Country: Country Flag

Posted 22 January 2007 - 02:25 PM

Will do!

#214 User is offline   rodommoc 

  • Newbie
  • Group: Members
  • Posts: 21
  • Joined: 20-December 06

Posted 25 January 2007 - 06:04 PM

For me Hardware 1.0.1 did not work. I have 0.6.7 and it works great. i made a Hardware CD with all of Bashrat's drivers compressed then I run Hardware.exe and it extracts to C:\drivers and 0.6.7 works great. I will try 0.6.8. When I run 1.0.1 I dont get any errors but I also don't get any drivers installed. Here is my config ini:
[INFO]
Start=Automatic
Drivers_drive=CDROM
Drivers_dir=\
Device_manager=On
Method=RegistryDevicePath
Logging_to_file=Yes
Logging_option=Simple
Drivers_Packed=7zip
Copy_drivers=yes
Copy_where=C:\Drivers
Delete_drivers=No
Create_backup=No
Debug=No
Time_to_start=0

I would like to be a bata tester for your new project. I also would like to figure out an Autoun.inf to ask me to click OK to run hardware.exe.

Thanks. :thumbup

#215 User is offline   MadBoy 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 464
  • Joined: 21-February 05

Posted 26 January 2007 - 01:51 PM

For me to diagnoze where the problem is you need to turn on Debugging option and logging option Advanced. Then i can tell more from log what went wrong and eventually fix it. Unfortunetly 1.01 version is very slow so no no big deal. I'll soon replace the code with new code in it and will see if the speed improved. As for 0.6.8 soon i plan to release 0.7.0 but need report from kickarse and Anamnesis about the fixes if those helped or not :)

As for beta testing, it's of course possible but there is like nothing to test. New version with diffrent approach isn't even near finish so nothing to be done with it realy ;) Except GUI and few nice tricks it isn't usefull. You can always contact me thou on MSN if you like, but i don't think in near future i will have betas ready.

As for the AutoRun.inf well it's posted somewhere here in this thread how to make one. As for MsgBox asking if you want to run it or not, i'm not sure how to make it in AutoRun but i always can code it in my proggy, just don't know why would you need it, and in which mode ?:)

#216 User is offline   JasonACS 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 07-October 06

Posted 02 February 2007 - 12:33 AM

I've been fiddling a bit with this, definitely cool, but I have question. Does it only work on devices with no drivers installed, or is there a way to have it work on devices with drivers older than the packs?

#217 User is offline   MadBoy 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 464
  • Joined: 21-February 05

Posted 02 February 2007 - 02:16 AM

Unfortunetly this tool only works on drivers with problems aka without drivers. The new one i work on with speed of the turtle that also takes lonnnnnnnnnng breaks between coding is supposed to support what you want ;P

#218 User is offline   jravin 

  • Group: Members
  • Posts: 2
  • Joined: 26-October 05

Posted 13 February 2007 - 09:11 AM

Madboy:

I had a somewhat similar idea to this, but would like to generalize yours a bit to make it more useful, in addition to what you are doing here (which is kind of a subset of my proposal):

It would really be great to have a standalone facility ("Driver Doctor"?) with a simple GUI that you could run to install drivers after an OS install, reinstall a broken driver, check for more recent drivers for one or all devices, etc. (think up your own). As someone who can afford only Trailing Edge stuff (e.g., a Pyro AGP card), this would beat hunting all over the Net for drivers. And be a LOT more convenient. Maybe even a semi-commercial product (are drivers public domain?)

The Driver Packs work great from inside a distro (experience, warezdemon) but would really be fantastic as such a standalone. If I were a better programmer I'd try it myself.

Is there anyone who wants to be a hero and step up to the plate?
Or I could use some help here, and try (shudder) to do it myself, if I can find the time...

#219 User is offline   kickarse 

  • the free techie
  • PipPip
  • Group: Members
  • Posts: 227
  • Joined: 26-April 05
  • OS:XP Pro x86
  • Country: Country Flag

Posted 13 February 2007 - 09:31 AM

The problem is that if it's not FREE than people won't touch it if it's not better than what's currently out. I mean there are a load of programs that do just what you describe.

#220 User is offline   MadBoy 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 464
  • Joined: 21-February 05

Posted 13 February 2007 - 10:36 AM

@kickarse: it's a yes that there are already programs that exist and do similar things that jravin has proposed but i can't remember single tool that would do all that in automated process that could be used in deployment process...

What jravin wants is to have stadalone app to use one/two computers and there is plenty of that if you realy take time to google on it. What i would like to make is to make such app but for deployment solutions. If i wouldn't be lazy bum i would probably be already half way or even have first betas working on that :) But oh well i am lazy!

jravin: just so you know, it's not near to be an easy project, but eventually someday i'll make such proggy unless someone will do it before me ;P

Share this topic:


  • 31 Pages +
  • « First
  • 9
  • 10
  • 11
  • 12
  • 13
  • Last »
  • 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