Jump to content











Photo
- - - - -

New Beta Script for VistaPE


  • Please log in to reply
221 replies to this topic

#151 PaPeuser

PaPeuser

    Silver Member

  • Advanced user
  • 787 posts
  •  
    United States

Posted 11 April 2009 - 04:56 PM

My Day

I took my new VistaPE USB stick to a computer store, picked the fastest gaming computer with all the attachments. Booted VistaPE ran PnpUlit then Hardware Wizard in My Computer. VisatPE listed all the USB devices correctly, MS trackball, Flight Simulator, Joy Sticks, Hard Drives, BUT no sound.

So after I few funny looks, I reboot the computer and left :) :) :) :) :)

#152 NewBSOD

NewBSOD

    Member

  • Members
  • 49 posts
  •  
    Norway

Posted 12 April 2009 - 06:38 PM

@PaPeuser

I've mailed you new beta script :)

#153 PaPeuser

PaPeuser

    Silver Member

  • Advanced user
  • 787 posts
  •  
    United States

Posted 12 April 2009 - 07:03 PM

Hello

BETA
edited link removed
I have included a small program to activate the sound.
It's not finnished and only write the correct info based on Virtual PC
2007. (Don't know how many cards it will work on)
I've tested it with Virtual PC 2007, VirtualBox (1.40) and VMware (6.03)
all OK :)

It should also contain all audio drivers needed for these virtual machines.

After you have boot'ed and the audio driver is installed, run "Audio
ActivatorPE" and click on the Activate button.
Program will close itself when finnish and audio should be OK after a
few secounds.(audio service restarts)


I hope its ok i posTed your directions too,,

I will check this out as soon as i am awake,,

............Audio is not in start menu ,,,, let me look

Thanks

#154 NewBSOD

NewBSOD

    Member

  • Members
  • 49 posts
  •  
    Norway

Posted 12 April 2009 - 10:13 PM

............Audio is not in start menu ,,,, let me look


You don't find the icon on the desktop?
Should also be in Start -> All Programs -> Audio -> Audio ActivatorPE

#155 PaPeuser

PaPeuser

    Silver Member

  • Advanced user
  • 787 posts
  •  
    United States

Posted 12 April 2009 - 10:21 PM

Nope no icon on desk top, not listed in Start Menu, Programs , and I do not think files are extracted right
I changed a few line in your code and I am trying build again.

#156 NewBSOD

NewBSOD

    Member

  • Members
  • 49 posts
  •  
    Norway

Posted 13 April 2009 - 06:46 AM

Huh, what version of winbuilder do you use?
I use Winbuilder76.

Do you know where the program is placed instead of program files?

Do you get the driver installed OK atleast?

Also tested sound OK with Realtek High Definition Audio :)
(external drivers)

#157 PaPeuser

PaPeuser

    Silver Member

  • Advanced user
  • 787 posts
  •  
    United States

Posted 13 April 2009 - 08:35 AM

I am using WB76 right now

Some things are not being processed

7z.exe","x -y -o%TargetDir% %TempFolder%..??
7z.exe","x -y -o%TargetDir%\%TempFolder%

[Variables]

%ProgramFolder%=AudioActivatorPE

%ProgramEXE%=AudioActivatorPE.exe

%ProgramTitle%=Audio ActivatorPE

%ArchiveName%=2008.7z

%ArchiveName2%=audiodrivers.7z



[Process]

Echo,Processing extract Audio  Files For VistaPE...

ExtractFile,"%ScriptFile%","SxS","%ArchiveName%","%TempFolder%"

ShellExecute,Hide,"%Tools%\7z.exe","x -y -o%TargetDir% %TempFolder%\%ArchiveName% Windows"

FileDelete,"%TempFolder%\%ArchiveName%"

ExtractFile,"%ScriptFile%","Folder","%ArchiveName2%","%TempFolder%"

ShellExecute,Hide,"%Tools%\7z.exe","x -y -o%TargetDir% %TempFolder%\%ArchiveName2% Windows"

FileDelete,"%TempFolder%\%ArchiveName2%"

#

Unpack,"Folder","AudioActivatorPE.7z","True","%TargetDir%\Program Files"

Add_Shortcut,StartMenu,"Audio"

Add_Shortcut,Desktop

#

AddAutoRun,"SideBySide","x:\windows\Regedit.exe","/s X:\Windows\System32\audio.reg","",3


#158 NewBSOD

NewBSOD

    Member

  • Members
  • 49 posts
  •  
    Norway

Posted 13 April 2009 - 08:56 AM

I have no idea why it dosn't work for you. :)
Is it just the "Audio ActivatorPE" part that dosn't extract or all 3 archives?
Do the driver get install?

(Script needs dx10 and explorer shell script to work)

edit:
Unpack,"Folder","AudioActivatorPE.7z","True","%TargetDir%\Program Files"
is the part who installs Audio ActivatorPE, the 2 other installes driver and audio files to windows folder.
Does the script abort?
Can you send me log of the script?

#159 PaPeuser

PaPeuser

    Silver Member

  • Advanced user
  • 787 posts
  •  
    United States

Posted 13 April 2009 - 09:39 AM

Ok all is copied over Windows now list sounds
when i browse Program files i find AudioActivatorPE, when i click to launch it i get a error

Side by Side configuration is incorrect
xPE DirectX 10 rc1 for VistaPE v.14

What version of DX do you run??

Still no icons on desktop

#160 NewBSOD

NewBSOD

    Member

  • Members
  • 49 posts
  •  
    Norway

Posted 13 April 2009 - 09:52 AM

Title=xVPE DirectX 10
Description=DirectX 10 rc1 For VistaPE
Version=14

Max_Real Qnx

Will mail you new script soon, found a bug :)

Edit:
Side By Side configuration don't have anything to do with Audio ActivatorPE directly, must be a message from audio service.

#161 NewBSOD

NewBSOD

    Member

  • Members
  • 49 posts
  •  
    Norway

Posted 13 April 2009 - 10:00 AM

Btw, what version of Explorer script do you use?

Edit: Script mailed :)

#162 PaPeuser

PaPeuser

    Silver Member

  • Advanced user
  • 787 posts
  •  
    United States

Posted 13 April 2009 - 10:35 AM

I use Explorer 7

I deselected some other beta scripts, maybe i need to try a new VistaPE



I also deselected Shell V4 script and tried that
some beta scripts dont work well with others,,

#163 NewBSOD

NewBSOD

    Member

  • Members
  • 49 posts
  •  
    Norway

Posted 13 April 2009 - 08:02 PM

@PaPeuser
Can't reproduce your error, it just works every time for me.

@All
Link to AudioV3 (Beta 3)

#164 PaPeuser

PaPeuser

    Silver Member

  • Advanced user
  • 787 posts
  •  
    United States

Posted 13 April 2009 - 08:41 PM

Hi

Well I now have icons on desktop and start menu.

Side by Side configuration is incorrect
D:\Programs\AutoactivatorPE\AutoActivatorPE.exe
The application failed to start because its side by side configuration is incorrect.

tested in Vmware.

Maybe someone else will report

#165 NewBSOD

NewBSOD

    Member

  • Members
  • 49 posts
  •  
    Norway

Posted 13 April 2009 - 08:47 PM

When you say application failed to start, do you mean Audio ActivatorPE or does this error message come after you click on the Activate button?
If the last one, try to restart the audio service manualy or click on audio.bat in x:\Program files\AudioActivatorPE folder.

Edit:
Ehh, D:\programs ?
Was supose to go into X:\Program Files\AudioActivatorPE :)
It tries to lunch X:\Program Files\AudioActivatorPE\audio.bat, so if it's in the wrong folder you probably will get an error message.
Atleast it won't restart audio service :)

#166 PaPeuser

PaPeuser

    Silver Member

  • Advanced user
  • 787 posts
  •  
    United States

Posted 13 April 2009 - 09:11 PM

I have no idea why this looks for D: :)

To get icons on desktop i changed
line 30 - Unpack ------------- from Program files to Programs

I am not good enough to figure this one out :) :)

Think we need a Vista Guru Type guy.

[Process]

Echo,Processing extract Audio  Files For VistaPE...

ExtractFile,"%ScriptFile%","SxS","%ArchiveName%","%TempFolder%"

ShellExecute,Hide,"%Tools%\7z.exe","x -y -o%TargetDir% %TempFolder%\%ArchiveName% Windows"

FileDelete,"%TempFolder%\%ArchiveName%"

ExtractFile,"%ScriptFile%","Folder","%ArchiveName2%","%TempFolder%"

ShellExecute,Hide,"%Tools%\7z.exe","x -y -o%TargetDir% %TempFolder%\%ArchiveName2% Windows"

FileDelete,"%TempFolder%\%ArchiveName2%"

#

Unpack,"Folder","AudioActivatorPE.7z","True","%TargetDir%\Program Files"

Add_Shortcut,StartMenu,"Audio"

Add_Shortcut,Desktop

#

AddAutoRun,"SideBySide","x:\windows\Regedit.exe","/s X:\Windows\System32\audio.reg","",3

#

Echo,Processing Registry audio For VistaPE...

BBL

#167 NewBSOD

NewBSOD

    Member

  • Members
  • 49 posts
  •  
    Norway

Posted 13 April 2009 - 09:46 PM

Thx.

It would help me to know if the error message comes after you click on activate and also what happends if you restart the "Windows Audio" service after that :)

You can restart Windows Audio service eather manualy from services or just run the audio.bat file.

Also run dxdiag to check dx10 :)

#168 ludovici

ludovici

    Silver Member

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

Posted 14 April 2009 - 01:21 PM

Hello everybody,

For your error "SideBySide", you can try the VistaPE Patch of Max_Real_Qnx and select Microsoft Visual C++ 2008 Redistributable.

Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.17 v.1 feature of VistaPE Patch v3j is merely working with the Vista source !

#169 NewBSOD

NewBSOD

    Member

  • Members
  • 49 posts
  •  
    Norway

Posted 14 April 2009 - 01:44 PM

@PaPeuser
My mistake, fix to force program into X:\program files.


Link to AudioV3 (beta4)

@ludovici
Have you had any success yet?

#170 PaPeuser

PaPeuser

    Silver Member

  • Advanced user
  • 787 posts
  •  
    United States

Posted 14 April 2009 - 02:22 PM

Sorry,
Things got alittle out of hand here the last 2 days. :) :)
I hope to test this later today :) :)

#171 NewBSOD

NewBSOD

    Member

  • Members
  • 49 posts
  •  
    Norway

Posted 14 April 2009 - 03:43 PM

Verifyed that Microsoft Visual C++ 2008 Redistributable is needed.
Else you get the error "side by side" when running Audio ActivetePE.

Sorry, seems I had 2 scripts including it, so when deactivateing it I still had it :)

Edit:
Needs Explorer shell, DirectX 10, Microsoft Visual C++ 2008 Redistributable

#172 PaPeuser

PaPeuser

    Silver Member

  • Advanced user
  • 787 posts
  •  
    United States

Posted 14 April 2009 - 04:39 PM

I had tried some of the changes, I see you made in script

If I left (line 30 Program Files) it copies over the 2 files (exe and Bat) but I have no icons,,
When I changed the (Program Files) to (Programs) icons were there but it failed to copy over the 2 files.

So I built using (Program Files) and yes both files were copied to my build. I first clicked the Bat file and it said it started services next i tried the activator file,, got another side by side error (this error was X: Program Files \AudioActivatorPE)

Scripts in this project
VistaPE Patch for the Microsoft Visual C++ 2008 Redistributable
Explorer Ultimate (Shell) V4 (with audio disabled)
xPE Direct X 10
xPE NET
I use Explorer shell

I will look at this some more

#173 ludovici

ludovici

    Silver Member

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

Posted 14 April 2009 - 04:49 PM

And if you test my Patch script Patch script

for the Microsoft Visual C++ 2008 Redistributable...

#174 PaPeuser

PaPeuser

    Silver Member

  • Advanced user
  • 787 posts
  •  
    United States

Posted 14 April 2009 - 04:55 PM

ludovici thats the one i do use

WAIT file size has changed i will try this new Patch download

#175 PaPeuser

PaPeuser

    Silver Member

  • Advanced user
  • 787 posts
  •  
    United States

Posted 14 April 2009 - 05:47 PM

When I first boot to VistaPE speaker on taskbar says -The audio service is not running
After I click audio.bat the message on task bar changes to
No Audio device Installed

So you must use ludovicis version of Vista Patch :)

So it looks like this works, But my sound card on test computer does not have Vista drivers,
I will build and test on another system :)

No side by side error,, but no icons on desk top??




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users