mr_smartepants wrote:

I'm chasing a bug where the commandline switches aren't being passed through the elevate function when run under normal user.  I'll have something soon.

Yeah there is a bug in that one for the silent install switches.  Cant be use yet in a windows OS ISO for it crashes with 4 windows open while using a setupcomplete.cmd for win7.

Here is my modified version if you want to look at it (100% works now with all options):

http://www1.datafilehost.com/d/7d48f6e8

Change Log:
:: Script now calls UAC for NT6 OS's (replaces the Elevate commands)
:: Now fully works when added to windows ISO's.
:: Corrected error's in Cleaning Phase when added to windows ISO where it says batch file cannot be found.

Tested in win xp and win 7 (from within windows ISO's and stand alone).

Yeah I realize that now.....guess I used the wrong one.  sad

Sorry, here is corrected SAD3 version:

http://www1.datafilehost.com/d/513b60a1

Make sure to read instructions.  It works now even if used in Microsoft ISO's.  No more batch file cannot be found when in cleanup phase.
The only issue I know of now is that the log creation only inserts min. info. which I know mr_smartepants is working on.  This is a small limitation for the moment which has no effect on the installs or script. 
By the way mr_smartepants, I tried to stay true to your form of scripting so it is more uniformed.
Thanks for your work on this project mr_smartepants.....your my hero.  lol  smile

I am going to call it quits for the night.  My brain isnt working good now.  Will touch base with you tomarrow.

Had to update SAD3 below.

yeah I realized after the fact that it was the same as before just in quotes....brain fart.  lol

dont ya love testing....fix it in a matter of seconds but then to test takes a bit.  lol

wow that was fast....thanks testing it now in xp sp3....will report back in a few.

It even picked out the 'dell trackpad' instead of using the Alps generic driver (ICA026, I2G1Z marked under TP).

This I like!

I received that "cannot find *.ins" error too.

This has now been corrected from my above cmd file only but still has a log issue but end user doesnt see it but still I dont like any error's.  lol  Need mr_smartepants to help with that one.

v3.0 has new devcon so let us know and thank you for testing.  wink

@ mr_smartepants....why does the script look for *.ins file in the nt5/x86/ folder for xp systems?  There is no such file located at the root of x86 folder.
error system cannot find file specified.

ok to not show the error above I added a IF EXIST and did the same for removing extra os drivers just so it doesnt say error system cannot find the specific file.
also added a if nt5 then to goto begin2 so not to try and delete the nt6 drivers which arent there for nt5 systems.

I have noticed since inserting a ping after the log file creation that it errors out saying cannot find specified file.  There for I take it the log isnt being created? Or is it looking for a log file that isnt created yet?  Everything I got working without errors.  The log is the only thing left but I am dumbfounded as to what the problem could be.  I need your help on that.  lol

Here is corrected cmd file only (with log error still....add a ping or a pause after it to see the error):

http://www1.datafilehost.com/d/4d89924e

wow your not messing around today.  lol  Will check back in a couple hrs then.  Think I will wait till you are done with the script before doing anymore with autoit.  I and my neighbor will fully test it but we dont have the new win 8 8.1 nt 6.3 or MCE so I guess someone else will have to test for those OS's.  Thanks for the time you have put into this so far mr_smartepants.....let me guess, did your wife give you that nick name?  lol  wink

Win 8 8.1 build 9385 is avail. to select Microsoft partners now.  Looks like 9385 is the newest avail.  Still beta of course so I dont know if you really want to add it yet per say since the official release date isnt till aug or sept.

mr_smartepants wrote:

I wasn't planning on any GUI, but if you feel up to it then go for it.

I will work on it with the version 3.0 in my spare time and touch base with you to get your input.  Of course there might have to be adjustments after you do your magic with the script.  lol

mr_smartepants wrote:

I'm going to try and find time today to go through your code line-by-line and see if I can make any improvements.

Thank you.

I remember you saying that you were really busy.  If there is anything I can do to help just let me know.

@ mr_smartepants
I was wondering if you have any plans on adding a windows gui with the script using something like autoit?  I have played with it a little and it is easy to learn.  Would be a nice upgrade to your tool.

I hope you are.  lol  I gathered from your past post on page 7 that you have some new idea's...

mr_smartepants
I do plan on rewriting most of the code to incorporate improvements I learned while coding the LIU utility for our LinMin sponsors.

The script doesnt do any of that....it uses devcon, dpinst and dpsfnshr.  Its totally dependent on their ability to do the installs which as you can see it has limitations.  This is why mr_smartepants is working on a new method which we all await.  lol  I have even looked at filtering but that is so tricky I have not been able to get that working.  Trial and error.  There are some packs I dont use like chipsets and some others for I get those directly from manufacture or oem.  Its just some things still require user interaction.

Update:  Updated v3.0 from above link to support win 8.1 Blue NT 6.3 Build 9364 now.

Thats also found in dell and lenovo oem's that I have seen.  Thanks for the info.  There are issues with oem drivers for they are taylord to their needs and uses so they differ from regular manufactures but can have same pnpid as you see.  Gets really tricky.  lol

If you wish to open a new thread, feel free to do so.  Maybe someone else has exp the same or even has the answer.

@ thatwill

let me say this.....this isnt a rewrite of the orig script but just modified to work some things out hopefully, plus added a few things which benefits me and my neighbor.

With that being said, the Progress meter mr_smartepants used is still the same only corrected it from crashing on some systems.  I have not re-wrote the script but just added and modified, thus why it is called modified version.  You can remove it if it bothers you that bad.....me I dont care one way or the other.....I just want the drivers to install.  Thats my main purpose for modifing the original script.

Note:  Updated link above (v3.0) with modifications in progress meter for you.

Let me answer another question that comes up often....why does deleting the log files take so long?  This is actually a valid question and I will do my best to answer it.  This is because some scripting methods work in win 8 but wont work in xp and this is one example with the log files.  If I use any other method it will cause the script to crash either on xp or win 8 so in order to find a "working" solution I had to compromise for it to work in all systems.  Now as far as the tech reason as to why, I really dont know.  All I know is that by using this method it works in all systems so I have learned to be happy with it.  lol  Personally I do not delete the log files but others who know it works for them, they like to delete all traces.

SAD2 v3.0 Modified version:

Change Log:
:: Added support for Win 8.1 Blue NT 6.3 build 9364.
:: Updated 7-zip32.dll as per request.
:: reg query for InstallationType for non Server OS's could cause error on some systems is now corrected.
:: Updated to new version of Devcon.
:: Additional option to save touchpad drivers if it didnt install the correct one.  Use Device Manager to install it then.
:: Now KTD works with NT5 systems.
:: Added more efficient cleanup routine.
:: Added support for XP MCE rollup 2.
:: Instead of exiting on some error's I changed it to return to the cmd prompt. One for example, when using  /? or /H.
:: Sound effect played in XP would cause script to crash at the end.  Fixed now. 

http://www1.datafilehost.com/d/5c9e51e3

Do Not use the downloader (uncheck the box before downloading)

This is the one I want everyone to test good.  Curious if updating the Devcon might have fixed some install issues.  Post any comments with detailed info please to help in any troubleshooting.  I have tested it on win 7 and xp pro with success.

Supported OS's:
-win xp (x86 only)
-win xp mce
-vista
-win 7
-win 8
-all servers

Updated above link for lowering the count on the progress meter per request to make the script faster and added win 8.1 Blue NT 6.3 Build 9364.

Seems like I created a few problems so going to take my time and work it out....will do more tommorow.

@ mr_smartepants....sounds like when tring to download from upload server you didnt uncheck to use download manager....uncheck that box then hit download and will download the rar file but I have removed the link for now for I am testing new version with corrections in the ktd for xp and some other things I have came acrossed....stand by almost done.  lol

working on new version now (testing)...

edit 4 dpfinisher deletes all drivers afterwards for nt5 os's even if you want to keep the drivers....will work on that fix (coming soon).
edit 5 is GIGO agreed.  lol

@ mr_smartepants......what about using devcon.exe to do the installs for touchpad or maybe all the drivers since dpinst.exe has some limitations.....even if you cant redistribute it you could provide microsofts site for others to download and add....just a thought.

wow that is a very strange list of errors....did you edit the script or edit the names of the driverpacks at all?  I havent nor my neighbor who uses this on his family machines have never gotten anything like that but with that said there is always a first.  I havent tried on mce so I cant say for sure about that one....I dont own it either so hard for me to test.  lol  I would like to see all logs and also the script if ya dont mind.  I have just finished with project for school so if you could upload those files, that would be great and thank you.

MCE 32 bit should be supported but like I said before I dont own it nor have I tested it on MCE.

also are you using this in a install os cd/dvd/usb in a $oem$ folder?  if so then I can say I havent touched that part of script but will look into it if that is the case.

as far as the exiting after the any key that hasnt been touched...left it original.

let me say this.....this isnt a rewrite of the orig script but just modified to work some things out hopefully, plus added a few things which benefits me and my neighbor.  I am by no means a master scriptor just thought with what knowledge I do have maybe I could work a few things out till mr_smartepants releases his new version.

@ mr_smartepants
I understand about being busy.....vacation sounds good right about now.  lol  Glad you had a good time.  Would luv your input and master scripting ability on this.  wink  Instead of complaining like most I try to find some sort of work around till your release of new version.  Anything I can do to help just yell at me and thanks for everyones contibutions here......really is a great site!

I have had issues using the new 7zip personally so I havent upgraded that yet....has some bugs so didnt want to add it....was hoping for a new version by now but I guess not.  lol

No problem TechDud for I am busy with college right now.....with my discussion boards and projects I will be busy the next few days doing research.  I will check in from time to time to see what you or anyone else has to say about the v2.7 but wont be able to apply time to it till after Sunday.  Take your time.  lol

@ blabley
you cant use sound recorder or media player to play sound effect for sound recorder isnt in vista and higher and media player doesnt work in xp so I decided to use SAPI.SpVoice to play sound effect which works on xp and higher.

I did notice in xp machine there is a extra Graphics PhysX dll if that pack is included.  I dont use it myself but others have told me of the dup....its in the packs not nothing to do with the script.  Just thought I would share what I have found out so far.  Thanks for your input TechDud.

Also just a note....2.7 shouldnt install multiple touchpad drivers....should only be one now....lets just hope it is correct one.  I have noticed one problem with the touchpad hardware ids is that some are the same so might need to filter it in script possibly...we shall see.