Jump to content











Photo
- - - - -

New Beta Script for VistaPE


  • Please log in to reply
221 replies to this topic

#176 NewBSOD

NewBSOD

    Member

  • Members
  • 49 posts
  •  
    Norway

Posted 14 April 2009 - 06:13 PM

Seems close now PaPeuser :)
Just missing the audio driver.


Don't know why it dosn't go into x:\Program files for you :)
Help anybody ?

Try
Unpack,Folder,AudioActivatorPE.7z,True

#177 ludovici

ludovici

    Silver Member

  • .script developer
  • 610 posts
  • Location:France
  •  
    France

Posted 14 April 2009 - 10:26 PM

Hello eveybody  :)

I have test the NewBSOD AudioV3 (beta4) script and after to have a error to build in winbuilder; after modification in the script here Sound Script ; i have a success with the sound  :) in Vmware 6.5.1 (The stereo sound is also a success !!!)

Good work, i want to say thanks you at PaPeuser, NewBSOD, 2aCD, pokemon1, Zhang Heng, Nuno Brito, thelegendarypig66 and sorry if i forget anybody... But thanks we have add a new good feature in Winpe, Vistape !!!

My picture is here Sound

#178 NewBSOD

NewBSOD

    Member

  • Members
  • 49 posts
  •  
    Norway

Posted 15 April 2009 - 11:04 AM

Great :)

Link to Vista Audio Drivers.

#179 PaPeuser

PaPeuser

    Silver Member

  • Advanced user
  • 787 posts
  •  
    United States

Posted 15 April 2009 - 11:52 AM

I will see if I can get this working, after I get everything reloaded :) :)

Thanks for the link :)

#180 ludovici

ludovici

    Silver Member

  • .script developer
  • 610 posts
  • Location:France
  •  
    France

Posted 15 April 2009 - 12:13 PM

Hello eveybody  :)

PaPeuser, you can use this DaveXP Drivers Script

This script download Drivers Pack and add drivers in VistaPE...

See the post Post DaveXP Drivers Script

You can add this line in process section :

DirCopy,"%InstallSRC%\windows\inf","%TargetDir%\windows"

#181 PaPeuser

PaPeuser

    Silver Member

  • Advanced user
  • 787 posts
  •  
    United States

Posted 17 April 2009 - 01:32 PM

I tried a few ways you both have sugested and failed,, to load drivers.
I have not had the time to figure this out.

I may just take a HD load Vista and check if sound works at all!!

I have been busy with other things,

Thanks :) :)

#182 NewBSOD

NewBSOD

    Member

  • Members
  • 49 posts
  •  
    Norway

Posted 17 April 2009 - 06:08 PM

If you say what kind of sound card you have I might be able to make a plugin.

#183 Flyboarder

Flyboarder

    Member

  • .script developer
  • 95 posts
  •  
    Canada

Posted 18 April 2009 - 04:07 PM

I would also love to get a copy of your background image if you could share :)

#184 pokemon1

pokemon1

    Member

  • Members
  • 87 posts
  •  
    United Kingdom

Posted 09 July 2009 - 08:24 AM

Ludovici, NewBSOD , PaPeuser, thanks and congratulations for audio in Vista PE.

Initially I have been following this thread and tried to participate but afterwards could not continue as I was busy travelling accross the world.....

Can you please help us by writing a guide on the following;

1. Dependencies we have to enable audio in VistaPE, what additional scripts you have built
2. Changes/modifications in the existing vistaPE scripts that you have made

These would surely help us to enable nice audio in our vista pe build.

Thanks in advance,
Pokemon1

#185 ludovici

ludovici

    Silver Member

  • .script developer
  • 610 posts
  • Location:France
  •  
    France

Posted 09 July 2009 - 04:30 PM

Hello Pokemon1 :lol:

I have good receive your email and check my XPE-Gui before to share this script with you...
Enable audio in VistaPE is a very good feature and i don't understand why anybody have to try to integrate in a VistaPE Project (I think at Max_Real_Qnx VistaPE Project...)
That why, i will create a new VistaPE project with this feature an other (Service...); but i haven't of voluntary to help me... I wait with interest the Leopard Project for start with a good Base...

#186 dera

dera

    Gold Member

  • .script developer
  • 1335 posts
  •  
    Hungary

Posted 10 July 2009 - 05:37 AM

Can you please help us by writing a guide

Yes, it would be nice,
i tried but never had success regarding audio in VistaPE
using those scripts mentioned in this thread

#187 dera

dera

    Gold Member

  • .script developer
  • 1335 posts
  •  
    Hungary

Posted 13 July 2009 - 09:56 AM

@ludovici

What are the dependencies to enable audio?

at me 'The Audio Service is not running'

in command-line get this:

X:\windows\system32>NET START "Windows Audio"
System error 1068 has occurred.

The dependency service or group failed to start.

Edit:
(using
VistaPE v.12 RC1 with Vista SP1 EN as source
Audio V3 (Beta 5)
xVPE DirectX 10 - DirectX 10 rc1 For VistaPE Version=14 Author=Max_Real Qnx
Service Ultime - Version=001
xVPE Patch Version=15 - only the 'Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.17 v.1' enabled
scripts)

Edited by dera, 13 July 2009 - 12:20 PM.


#188 ludovici

ludovici

    Silver Member

  • .script developer
  • 610 posts
  • Location:France
  •  
    France

Posted 13 July 2009 - 07:38 PM

Hello Dera ;)
Sorry i am busy with my new french project, i have too many error :lol:
In serviceultime.script you must suppress this line :

RegWrite,HKLM,0x1,"WB-System\ControlSet001\Services\MMCSS","DisplayName","@%systemroot%\system32\mmcss.dll,-100"
RegWrite,HKLM,0x2,"WB-System\ControlSet001\Services\MMCSS","ImagePath","%SystemRoot%\system32\svchost.exe -k netsvcs"
RegWrite,HKLM,0x1,"WB-System\ControlSet001\Services\MMCSS","Description","@%systemroot%\system32\mmcss.dll,-101"
RegWrite,HKLM,0x1,"WB-System\ControlSet001\Services\MMCSS","ObjectName","LocalSystem"
RegWrite,HKLM,0x4,"WB-System\ControlSet001\Services\MMCSS","ErrorControl","1"
RegWrite,HKLM,0x4,"WB-System\ControlSet001\Services\MMCSS","Start","2"
RegWrite,HKLM,0x4,"WB-System\ControlSet001\Services\MMCSS","Type","32"
RegWrite,HKLM,0x7,"WB-System\ControlSet001\Services\MMCSS","RequiredPrivileges","SeIncreaseBasePriorityPrivilege"
RegWrite,HKLM,0x3,"WB-System\ControlSet001\Services\MMCSS","FailureActions","80","51","01","00","00","00","00","00","00","00","00","00","03","00","00","00","14","00","00","00","01","00","00","00","c0","d4","01","00","01","00","00","00","e0","93","04","00","00","00","00","00","00","00","00","00"
RegWrite,HKLM,0x2,"WB-System\ControlSet001\Services\MMCSS\Parameters","ServiceDll","%SystemRoot%\system32\mmcss.dll"
RegWrite,HKLM,0x1,"WB-System\ControlSet001\Services\MMCSS\Parameters","ServiceMain","ServiceMain"
RegWrite,HKLM,0x4,"WB-System\ControlSet001\Services\MMCSS\Parameters","ServiceDllUnloadOnStop","1"

See here : MMCSS Service

And verify if in audio service you have not this dependancy...
DependOnService
Ex : RegWrite,HKLM,0x7,"WB-System\ControlSet001\Services\audio","DependOnService","mmcss"

I write here because the recipient's inbox of steelbone is is full...
Hello steelbone ;)
you have the netprofm service in my wlan script in "New Beta Script for VistaPE, Feature of Windows Vista"

RegWrite,HKLM,0x1,"WB-System\ControlSet001\Services\netprofm","DisplayName","Network List Service"
RegWrite,HKLM,0x2,"WB-System\ControlSet001\Services\netprofm","ImagePath","%SystemRoot%\System32\svchost.exe -k LocalService"
RegWrite,HKLM,0x1,"WB-System\ControlSet001\Services\netprofm","Description","@%SystemRoot%\system32\netprof.dll,-247"
RegWrite,HKLM,0x1,"WB-System\ControlSet001\Services\netprofm","ObjectName","NT AUTHORITY\LocalService"
RegWrite,HKLM,0x4,"WB-System\ControlSet001\Services\netprofm","ErrorControl","1"
RegWrite,HKLM,0x4,"WB-System\ControlSet001\Services\netprofm","Start","2"
RegWrite,HKLM,0x4,"WB-System\ControlSet001\Services\netprofm","Type","32"
RegWrite,HKLM,0x7,"WB-System\ControlSet001\Services\netprofm","DependOnService","RpcSs","nlasvc"
RegWrite,HKLM,0x4,"WB-System\ControlSet001\Services\netprofm","ServiceSidType","1"
RegWrite,HKLM,0x7,"WB-System\ControlSet001\Services\netprofm","RequiredPrivileges","SeImpersonatePrivilege","SeChangeNotifyPrivilege"
RegWrite,HKLM,0x3,"WB-System\ControlSet001\Services\netprofm","FailureActions","80","51","01","00","00","00","00","00","00","00","00","00","03","00","00","00","14","00","00","00","01","00","00","00","64","00","00","00","01","00","00","00","64","00","00","00","00","00","00","00","64","00","00","00"
RegWrite,HKLM,0x2,"WB-System\ControlSet001\Services\netprofm\Parameters","ServiceDll","%SystemRoot%\System32\netprofm.dll"
RegWrite,HKLM,0x4,"WB-System\ControlSet001\Services\netprofm\Parameters","ServiceDllUnloadOnStop","1"

But i haven't nlasvc service in this scripts...

#189 dera

dera

    Gold Member

  • .script developer
  • 1335 posts
  •  
    Hungary

Posted 14 July 2009 - 09:46 PM

It seems i have no luck with audio in VistaPE.

#190 dera

dera

    Gold Member

  • .script developer
  • 1335 posts
  •  
    Hungary

Posted 22 July 2009 - 02:22 PM

Hi

Finally i get some success with audio
adding these scripts to my VistaPE project:
Audio V3 (Beta 5)
xVPE DirectX 10
VistaPE Patch (the 'Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.17 v.1' is the important part in this script for the AudioActivatorPE.exe)
Explorer shell Ultimate V4-test
when added the 'Shell V4.script' i had to disable the scripts in the 'Tweaks' folder to get a PE which can successfully start without the black screen error on boot,
to successfully start the 'Windows Audio' sevice ('net start audiosrv') seems the 'Share Folders' - [SHARE] section of the 'Shell V4.script' is mandatory
(so seems the whole Shell V4.script is not needed - only the [SHARE] section is important for the audio),
to install the driver of the audio card is a real pain
(seems have to 'drvload ksfilter.inf' and 'drvload wdmaudio.inf' before load the driver of the audio card),
and as a last step have to use NewBSOD's trick (described here) - the AudioActivatorPE.exe can do this step.

P.S.
forgot to mention i used 2aCD's modded scripts
found here
and here + ctmag's fix
and Holger's PENetwork for VistaPE / Win7PE (v04 Beta) script
and i used ctmag's modded vpeldr

Edited by dera, 24 July 2009 - 09:43 AM.


#191 ludovici

ludovici

    Silver Member

  • .script developer
  • 610 posts
  • Location:France
  •  
    France

Posted 22 July 2009 - 05:48 PM

Hi Dera :lol:

Good news ;)

I think than the audio service must be add in VistaPE; but most simply ;)
Can you share with us your VistaPE screenshot ?
I don't understand why the [share] section is important for Audio service ?

#192 dera

dera

    Gold Member

  • .script developer
  • 1335 posts
  •  
    Hungary

Posted 22 July 2009 - 06:05 PM

Do not know whether anyone else have this experience - or simply i am wrong - but in my builds (using script in the VistaPE project and on Vista host) noticed that:
when at build time want to use the 'peimg /inf=<inf>' method to integrate drivers
peimg will fail to add the driver
if in the %TargetDir% the folder 'Windows\servicing' does exist ?

#193 dera

dera

    Gold Member

  • .script developer
  • 1335 posts
  •  
    Hungary

Posted 22 July 2009 - 09:06 PM

Hi Ludovici

I don't understand why the [share] section is important for Audio service ?

i don't know either
when used only these scripts:
Audio V3 (Beta 5)
xVPE DirectX 10
VistaPE Patch
always got the :

System error 1068 has occurred.
The dependency service or group failed to start.

error message as reported in my Post #187,
but now seems i have success with 'audiosrv' service adding only the [share] section ripped from your 'Explorer shell Ultimate V4' script
00.png
installing the driver in the running PE was not simple and i am not able to tell what was the exact way
(also command-line, also Paraglider's hwpnp and also DriverForge.v.5 by kickarse was used plus as final step the regpatch suggested by NewBSOD using the 'Audio ActivatorPE')
step_1.png
02.png
03.png
04.png
05.png
So many thanks for your scripts!

Edited by dera, 24 July 2009 - 04:34 AM.


#194 ludovici

ludovici

    Silver Member

  • .script developer
  • 610 posts
  • Location:France
  •  
    France

Posted 22 July 2009 - 11:22 PM

Thanks for your screenshop Dera :lol:

I have test the audio V3 beta script on Win7PE and i have the same error, if i add the share section my Win7PE don't start...

X:\windows\system32>NET START "Windows Audio"
System error 1068 has occurred.

The dependency service or group failed to start.

Posted Image

I have write a little update for Windows Explorer, i have add the files and directory of ctmag, add servicing directory, add share service, and add directx10 in the same script...
Explorer&Audio&Directx&ShareFolders for VistaPE

#195 joakim

joakim

    Silver Member

  • Team Reboot
  • 912 posts
  • Location:Bergen
  •  
    Norway

Posted 22 July 2009 - 11:38 PM

Have any of you guys done research on vss and wmi for vista/2008?

I worked on some batches and registry patches for my ghost14/besr853 lodr packages and got the services running in a pseodostate by coinsidence on several occasions. They are similar on those platforms, but not identical. I'd like to discuss the topic with interested souls..

Several advanced backup solutions could easily be running in PE-mode then..

Joakim

#196 ludovici

ludovici

    Silver Member

  • .script developer
  • 610 posts
  • Location:France
  •  
    France

Posted 23 July 2009 - 01:44 PM

Hi Dera :lol:

If this line is modified in audio V3 script :
RegWrite,HKLM,0x7,"WB-System\ControlSet001\Services\Audiosrv","DependOnService","AudioEndpointBuilder","RpcSs"
to
RegWrite,HKLM,0x7,"WB-System\ControlSet001\Services\Audiosrv","DependOnService","RpcSs"

Do we still need the [Share] Section ?

Does the error message : "X:\windows\system32>NET START "Windows Audio" is resolved ?
System error 1068 has occurred.

Thanks for your test ;)

#197 dera

dera

    Gold Member

  • .script developer
  • 1335 posts
  •  
    Hungary

Posted 23 July 2009 - 08:56 PM

Hi Ludovici

at me in VistaPE writing only "DependOnService","RpcSs" does not help


regarding the 'Windows\servicing' folder i think you misunderstood my post,
it was not a suggestion it was only a question,
at me peimg fails in that case when this folder is present in my %TargetDir% (in VistaPE project on Vista host)
and it seems to me very strange
i have thought maybe there is some glitch in my host

#198 NewBSOD

NewBSOD

    Member

  • Members
  • 49 posts
  •  
    Norway

Posted 08 August 2009 - 05:19 PM

Nice too see more users have been successful on getting Audio to work in VistaPE.

Haven't had time to look at WIN7PE yet. :idea:

Too help more users getting audio to working I made a fresh prosject and wrote down what I did to get it working.
Used as little changes as possible, so I used VistaPE V.12 (RC1) with only Recommended scripts as a starting point.

I tested on Innotek Virtual PC 1.40 since all needed drivers are included in audioV3.script :P

Using Winbuilder 76 and Vista (SP1)

Downloaded VistaPE V.12 (RC1) Recommended

1) Pnp fix in 04-additional.script in Base folder, don't thinck it's needed but makes driver installes easier.
# add to [process] at the end.

DirCopy,"%BootSRC%\Windows\inf","%TargetDir%\Windows"
DirCopy,"%BootSRC%\Windows\system32\drivers","%TargetDir%\Windows\system32"
DirCopy,"%BootSRC%\Windows\system32\driverstore","%TargetDir%\Windows\system32"
FileDelete,"%TargetDir%\Windows\inf\*.pnf"
DirDelete,"%TargetDir%\Windows\inf\BITS"
DirDelete,"%TargetDir%\Windows\inf\RemoteAccess"


2) Downloaded -> Addons -> IE7.script
Downloaded -> Base -> 10-explorer.script

3) From ludovici I downloaded

audioV3.script (Beta 5)
directx.script (Author=Ludovici & Paraglider, Version=02)
xVPE Patch.7z (needed for AudioActivator to work) (Author=Max_Real Qnx, Jon Fleming, Ludovici, Version=15)

4) Set Main shell to Explorer and activated Internet Explorer 7 in Addons

5) You need to manualy add audio driver to your card. Yes it can be tricky :)


6) After boot and all Drivers have been installed, click on AudioActivator to fix registry.
Must be run after the audio driver is installed, because Windows cleans the key at the time the driver is installed.
You can verify that driver is installed by hoovering the speaker icon in tray.
If you see the name of your sound card the driver is installed ok, if you see "Audio service is not running" driver is NOT ok.



PS. If you boot CD on PC with vista installed on HDD you can install the driver from device manager by giveing path to C:\Windows\System32\DriverStore\FileRepository.
Booting on a Virtual PC with Vista on a Virtual HDD also works :P



#199 dera

dera

    Gold Member

  • .script developer
  • 1335 posts
  •  
    Hungary

Posted 08 August 2009 - 06:14 PM

@NewBSOD
BIG THANKS !
for your AudioActivator

#200 Jim Cease

Jim Cease

    Member

  • Members
  • 36 posts
  •  
    United States

Posted 18 August 2009 - 10:58 AM

NEWBSOD can you add links to the exact scripts that are needed ? I am having problems finding them. Thanks in advance for your help.....




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users