Sorry I have been real busy with finals this week.  I will be back for testing later this week but college comes first.

@ mr_smartepants
Now that I think about it you are correct....I need to think long term.  lol

further testing before we re-release new DriverPacks with the "known-problems*" file

agreed.

not all DriverPacks will need it

yes, i agree.

IF EXIST

seen that and that is perfect.

I'm glad it worked for you!  Whew!

me too.  lol

In theory, couldnt you have the script add the txt file after extraction of driverpacks then no need to add to driverpacks 7z files that you created for testing?  I know this is beta still (testing phase).  Just curious.

@mr_smartepants
Worked perfect....installed my correct lappy touchpad driver and everything (no extra installs of other touchpad drivers now).  Great solution!!!
Cleaning phase working also like it should.  wink 
Thanks

I did add the other build version for win 8.1 build 9374 to the win 8 builds just for gp.

Question:  Will those driverpacks be avail. from the torrent side or will we need to add those txt files to it and rebuild in 7z format?  Thought I would ask before others do.  lol

I am a lil confused on this part...name_of_dps so I will just wait on that for now....will test tomorrow and report findings.  Thanks and glad you are back online.  smile
It's late here so going to bed.  Take care and thanks mr_smartepants.
Love the concept though!  smile

Note:  Just looking at the script and it should now if choosen n to clean then it should skip that part since you set defaults at the beginning of the script.  Will test in the morning to make sure though.

@thatwill,
it should work but doesnt....have tried many combos without success.  waiting for mr_smartepants to get his advice.

I still cant figure out how to correct the keep other OS drivers in clean phase of script.....no matter what, it is broken.  Even if I set clean=n it still removes them.  Plus I think some of the silent=y then do something isnt working either.  Something change with the script being rewritten.  Think it is bed time for me now.  Good nite.

As you see from above post I too cant figure that out yet since the code has been optimized.  Will need mr_smartepants help for that I think for I havent found a solution to that yet but I am busy with school today so wont have much time, sorry.

@Ken@fri,
I thought that would be a give in but some dont know scripting at all so added detailed info on the setupcomplete and firstlogin cmds in the readme.txt file for those that dont quite understand scripting and to edit line accordingly.  Obviously if you choose the /s switch to KTD=Y then that second line should not be added.

Add the following code to the setupcomplete.cmd or firstlogon.cmd file...

@ECHO OFF
IF EXIST "%SYSTEMDRIVE%\D\SAD3\DP_Install_Tool.cmd" START /W %SYSTEMDRIVE%\D\SAD3\DP_Install_Tool.cmd /s     (or what ever switch you wish to use)
IF EXIST "%SYSTEMDRIVE%\D" RD /S /Q "%SYSTEMDRIVE%\D\" >nul      (add this line to delete the D (drivers) folder) Optional
DEL /F /Q %0% >nul     (self-delete)

Sorry to hear about your RAID-1 array.

Here are the files you wanted with pics showing still having a issue with touchpad installs.

http://www1.datafilehost.com/d/2067e817

This was on fresh install of win 7 hm prem x86 in vmware.

I still cant figure out how to correct the keep other OS drivers in clean phase of script.....no matter what, it is broken.  Even if I set clean=n it still removes them.  Plus I think some of the silent=y then do something isnt working either.  Something change with the script being rewritten.  Think it is bed time for me now.  Good nite.

I will do a fresh install tomorrow of win 7 in vmware to rule out any corruptions that might have happened.  Its 11:30pm here and I am headed to bed but will put on the todo list first thing tomorrow morning.  Thanks for your advise.

still a lil glich in the deleting of unneeded drivers for other os's....I choose "n" for the cleanup of other os's which it should keep them and it did not.  here is a pic.

http://s14.postimg.org/zfec6jcxt/deleting_all_drivers_when_I_said_n_to_the_questi.png

Also still installing two wrong drivers in programs installed under control panel but now doesnt install the touchpad at all.....is the the way you set it up?  before the synaptecs installed and it was correct.  As seen in the pic synaptecs was isntalled also but when check device manager even after reboot it shows just standard driver that micro installs from installation of the os.

http://s17.postimg.org/mmh32kbwv/alps_and_dell_isnt_installling_but_cypress_and_e.png

Also in script where it says this window will close in 10 secs.......this should only show if %SILENT%=Y I think....just a suggestion.

win 7 hm prem but in vmware not on my real lappy just to let you know.  Using SAD3 version 120428 from your above post.

Sorry I have been busy with my powerpoint presentation that is due Monday so I havent had much time for testing today anyways.  Maybe tomorrow after my presentation I will have time for testing this again.  School first.  wink

Sounds like a good approach.  I like it.  Cant wait to test if that is what you are using in the script.

ok hold on...

http://www1.datafilehost.com/d/23e74862

synaptecs is the correct one for my lappy.

If you can fix this touchpad issue, you will be my hero.  lol

Your new one I just tried installed 4 different touchpad drivers on mine (win 7 hm prem on Dell inspiron 5010n)...
alps 4
alps 5
elantech
synaptecs
then when restarted it shows installed synaptecs in devce manager but under programs installed it shows all 4 installed.
synaptecs is correct but how can we stop the others from installing under programs installed in control panel?

Conclusion is now it installs correct touchpad on my Dell lappy but how to stop the install of other touchpad drivers under programs installed in control panel.  50% solved.  lol  Your getting closer to a working solution for touchpad drivers.

Yes with some dirvers after restart it will ask again to restart this is normal for some drivers even on my Dell lappy does that with one driver.

They have the same hardware ids and that is why three are showing with your config.  That is why we left the touchpad hid drivers behind on the root of the drive if this happens.  Just uninstall them all and reboot then use device manager to install the correct one.  This is a fault of Microsofts tools that are used and not the scripts fault.  Hope this helps understanding it.

You know mr_smartepants it might be best to leave out the drivers for touchpad from the driver pool or you will get alot of complaints from the ones with same hdwr ids or maybe those with same ids can be skipped within the script.  So they have to install one or two drivers manually.....thats not bad in my book.  lol

Thanks for sharing mr_smartepants......great tools to add to my toolbox.  wink

I did notice a issue with the script but changing name of SAD3 folder to SAD3 only with no version at the end of the name of the SAD3 folder works perfect.  Instead of changing script and readme file I would just recommend changing the name of the folder to SAD3 only so it works with adding to windows ISO's.  This is the only glich I can see.  Other then changing name to SAD3 I would say it is final.

@mr_smartepants,
I only added this line to correct tada.vbs if an error occured...

  ECHO>>"%O_TADA%" On Error Resume Next

Here is the corrected package...

http://www1.datafilehost.com/d/005ab235

That is all I added.  I did nothing else and it works great in xp....goin to test win 7 tomorrow.
That dang sound effect has been more of a pain then anything else I think.  lol
Good nite and thanks.

oVoice.SpeakStream oSpFileStream......it cant speak the tone if no or not the correct sound card driver installed.  wink

solution for mr_smartepants to add to his script to correct this error is no sound card driver is installed...

IF NOT EXIST "%temp%\tada.vbs" (
ECHO Set oVoice = CreateObject^("SAPI.SpVoice"^) > "%temp%\tada.vbs"
ECHO Set oSpFileStream = CreateObject^("SAPI.SpFileStream"^) >> "%temp%\tada.vbs"
ECHO oSpFileStream.Open "%windir%\Media\tada.wav" >> "%temp%\tada.vbs"
ECHO On Error Resume Next >> "%temp%\tada.vbs"                                       <---- The correction if error to continue
ECHO oVoice.SpeakStream oSpFileStream >> "%temp%\tada.vbs"
ECHO oSpFileStream.Close >> "%temp%\tada.vbs"
START /W %windir%\System32\wscript.exe "%temp%\tada.vbs"
DEL /F /Q "%temp%\tada.vbs"
) >nul

Tested with sound card driver enabled and disabled......no more error's.  wink

Ken@fri,
Thats why there is a option to delete or keep them in the script.  Of course if silent it will auto leave it but that might change with mr_smartepants new version to be released soon (I dont know).

(Battery)
reg query "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{72631E54-78A4-11D0-BCF7-00AA00B7B32A}\0000" && echo Laptop found!

or

(Portable Battery)
WMIC SystemEnclosure GET ChassisTypes
WMIC ComputerSystem GET PCSystemType

would work for lappys.  wink  It looks for the battery value in the reg entry in the first example.  This would not work on image restore though just to let you know for that reg entry isnt included in images usually.  The second example gets its info from the SMBIOS tables off the motherboard which is the method I would prefer for some systems might not have the reg entry like from a image restore.

@ mr_smartepants this would be a good addon if ya will to only leave behind touchpad/HID if lappy present.

Looking good....thanks mr_smartepants.
I have a friends lappy here to try it on when you are ready to post it.  wink

Sounds good.  Bed time now.  lol  Good night.   smile

I have a request...lol
Can you make it to where during the extraction process of driverpacks and such are min so not to have a lot of windows that keep popping up for each driverpack....user could still open/expand it from the taskbar if needed to watch extraction if they want.  So main window only shows all the time.  Just a request.  lol

In the sound effect section in DP_Install_Tool.cmd script (tada.vbs creation) find...
ECHO oSpFileStream.Open "C:\Windows\Media\tada.wav" >> "%temp%\tada.vbs"
and replace with this...
ECHO oSpFileStream.Open "%windir%\Media\tada.wav" >> "%temp%\tada.vbs"

This is to correct it if users arent using C:\ for their operating system drive which some dont.

I have used the UAC vbs script from post 220 on several tests but I removed the check portion of the vbs script to force it to execute on xp pro sp3 and it ask for username and password in order to execute a program.....password must be setup before it will work.  So on xp users with no password it will fail of course thus another reason for the check in the beginning.  But it does work in xp, I used it to open notepad.exe for example and after I enter in my username and password it opened right up.  It lists users for that machine to choose from but you must know their password to execute your program.

Think I am done with the script so going to start playing with the autoit in my spare time now.

Change log:
:: Sound effect removed from bin folder...script now creates it.
:: Script now creates UAC Check for NT6 OS's (replaces the Elevate commands in bin folder)
:: Now fully works when added to windows ISO's.


Here is my tested version...updated:

http://www1.datafilehost.com/d/131134e2

Tested on win xp pro sp3 and win 7 sp1 (stand alone and within windows ISO).

:checkPrivileges
MKDIR "%windir%\OEAdminCheck"
IF '%errorlevel%' == '0' (
RMDIR "%windir%\OEAdminCheck" & GOTO gotPrivileges
) ELSE ( GOTO getPrivileges )
:getPrivileges
CLS
ECHO Set UAC = CreateObject^("Shell.Application"^) > "%temp%\OEgetPrivileges.vbs"
ECHO UAC.ShellExecute %0, "", "", "runas", 1 >> "%temp%\OEgetPrivileges.vbs"
"%temp%\OEgetPrivileges.vbs"
EXIT /B
:gotPrivileges
IF EXIST "%temp%\OEgetPrivileges.vbs" ( DEL /F /Q "%temp%\OEgetPrivileges.vbs" ) >nul
GOTO Processor

wink
This method works on vista-win8
The sound effect can also be done the same way for it is small....now the restore point creation is another story.
Sorry I was so tired yesterday evening my brain stopped working.  lol