Jump to content











Photo
- - - - -

XP styles in PE


  • Please log in to reply
182 replies to this topic

#51 was_JFX

was_JFX

    Frequent Member

  • Advanced user
  • 483 posts
  •  
    Germany

Posted 26 July 2009 - 03:13 PM

So let's make a summary.

the 4 files are needed to be patched (services.exe, sxs.dll, umpnpmgr.dll, winlogon)

shsvcs.dll, uxtheme.dll and the normal msgina.dll are definitly needed (may needed to switch to xpelogon to keep shutdown working)

SystemSetupInProgrest must be 0 under HKLM\System\Setup

The Themes service needs to be restore (can be taken from normal XP)

HKLM\SYSTEM\ControlSet001\Services\Themes
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\ThemeManager
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes

Themes have to be appended to netsvcs inside HKLM\Software\Microsoft\Windows NT\CurrentVersion\SvcHost

But there seems more to be needed (still using a mix between BartPE\XPE and LiveXP registry :idea: )

#52 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7,687 posts

Posted 26 July 2009 - 03:37 PM

Thanks for the update!

:idea:

#53 was_JFX

was_JFX

    Frequent Member

  • Advanced user
  • 483 posts
  •  
    Germany

Posted 26 July 2009 - 09:47 PM

Well, I not really a fan of Winbuilder Scripts :idea: so may someone give me a hand? Here is a very basic begin of one.

Can somebody add following to the script?

- appended Themes to REG_MULTI_SZ netsvcs inside WB-Software\Microsoft\Windows NT\CurrentVersion\SvcHost

- copy the full Resources folder form Source to Target
- copy/rename blue_ss.dll from Source to Target SHELLSTYLE.DLL
- copy shsvcs.dll from Source to Target
- copy MSGINA.dll form Source to Target (overwrite the fake one)

- patch and copy sxs.dll from Source to Target
- patch and copy umpnpmgr.dll from Source to Target
- patch and copy services.exe from Source to Target

- patch and copy uxtheme.dll from Source to Target (patch will be added soon)

- patch and copy winlogon.exe from Source to Target

Please let me know In with way I have to adjust my patcher, that it can fit best in the script. :P

CU

:)

#54 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7,687 posts

Posted 26 July 2009 - 10:05 PM

Well, I not really a fan of Winbuilder Scripts :idea: so may someone give me a hand? Here is a very basic begin of one.

There is actually no problem.
Just use WinBuilder. Make a rightclick and choose what you want from the menu. A template of the command with complete syntax will be written in that spot in the script.

- appended Themes to REG_MULTI_SZ netsvcs inside WB-Software\Microsoft\Windows NT\CurrentVersion\SvcHost
Ask Peter (psc) for that one, i don't know if it already works in WB.

- copy the full Resources folder form Source to Target
DirCopy,%SourceDir%\Resources,%TargetDir%

- copy/rename blue_ss.dll from Source to Target SHELLSTYLE.DLL
require_file,blue_ss.dll
FileRename,"%target_sys%\blue_ss.dll","%target_sys%\SHELLSTYLE.DLL"

- copy shsvcs.dll from Source to Target
require_file,shsvcs.dll

- copy MSGINA.dll form Source to Target (overwrite the fake one)
require_file,MSGINA.dll

- patch and copy sxs.dll from Source to Target
require_file,sxs.dll

Patching
ShellExecute,Hide,Filenam,"Parameters"
Filenam would be the name and path of your patch.exe and parameters would be the parameters your patch program requires.

- patch and copy umpnpmgr.dll from Source to Target
require_file,umpnpmgr.dll

- patch and copy services.exe from Source to Target
require_file,services.exe

- patch and copy uxtheme.dll from Source to Target (patch will be added soon)
require_file,uxtheme.dll

- patch and copy winlogon.exe from Source to Target
require_file,winlogon.exe

Hope this helps.

:P

#55 was_JFX

was_JFX

    Frequent Member

  • Advanced user
  • 483 posts
  •  
    Germany

Posted 27 July 2009 - 07:37 PM

Yep, thanks Medevil. :idea:

Are there any volunteers? You need to have an XP SP3 Source.

http://www.mediafire...php?zryandmz3ce

Just hit the PLAY button, the following ISO will not work in Qemu but at least here in VmWare and my real PC.

Shutdown does not work, but I will add XPEShutdown soon, for now kill peloader in taskmanager to restart.

Please let me know if it works for You.

#56 Joshua

Joshua

    Silver Member

  • Advanced user
  • 526 posts
  • Location:Germany
  • Interests:Computer, Bikes, and many others
  •  
    Germany

Posted 27 July 2009 - 09:12 PM

Are there any volunteers? You need to have an XP SP3 Source.
Please let me know if it works for You.

Just tested with german xp-sp3 as source, and it works great! :idea:
Good work.

Joshua

#57 AeroXP

AeroXP

    Frequent Member

  • Advanced user
  • 177 posts
  • Location:0000:7c00
  • Interests:Motorola 68000 Assembler, PCs, Betas, Boot Disks, x86 Assembler
  •  
    United States

Posted 27 July 2009 - 10:57 PM

It also works in VirtualBox but not in Virtual PC.

#58 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7,687 posts

Posted 28 July 2009 - 12:12 AM

I understand the dependence on a certain service pack, but on the used VM? :idea:
What exactly happens in the 'wrong' VM?

btw. As far as i know, are all our XP based projects meant to be build from XPSP2. So a version of the script which could be used with XPSP2 would be a good idea.

:P

#59 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5,013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 28 July 2009 - 12:24 AM

Thannnkkksss a lot JFX

xpsp3enu + vmware:
package works nicely (bootsdi) :idea:
+
CreateISO with enabled FBWF works nicely
CreateISO with disabled FBWF works nicely
:P

#60 was_JFX

was_JFX

    Frequent Member

  • Advanced user
  • 483 posts
  •  
    Germany

Posted 28 July 2009 - 06:47 PM

Good thats seem to work so far. :P

About the different VM's I really have no idea about what's going on with them :) .

@MedEvil, I will take a look a the SP2 winlogon.exe, but you know I not the original developer of that patch, so give me some time for this :P

let's make some test with bigger project's. I cannot imagine that's the :P I have seen so much is already gone. :P

:idea:

#61 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7,687 posts

Posted 28 July 2009 - 07:08 PM

@MedEvil, I will take a look a the SP2 winlogon.exe, but you know I not the original developer of that patch, so give me some time for this :P

Sorry, didn't knew that the patch was dependant on SP3, thought you've meant just the script.

:idea:

#62 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5,013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 29 July 2009 - 03:29 AM

Hi JFX

I cant reproduce the test with current LiveXP by matching the selected scripts of your package. Hoping you kill that :) too :P.

Jfx LiveXP package wb076---> Theme works:
http://lancelot.winb...0729_055044.rar
Latest LiveXP wb077rc2---> Theme dont work:
http://lancelot.winb...0729_061429.rar

:idea:

#63 was_JFX

was_JFX

    Frequent Member

  • Advanced user
  • 483 posts
  •  
    Germany

Posted 29 July 2009 - 07:22 PM

Hi Lancelot,

I tryed also with latest LiveXP wb077rc2, but it worked for me :P

Can you compare the Target folders of missing files and may upload the 2 Registry Hives software and setupreg.hiv.

With this new Script Shutdown should work again

removed

:idea:

#64 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5,013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 29 July 2009 - 10:46 PM

Hi JFX,

I found the problem, I was using spaced basefolder, fixed with changing
...ThemePatch.exe","-Theming4LiveXP %target_sys%"
to
...ThemePatch.exe","-Theming4LiveXP #$q%target_sys%#$q"
All working fine now :P

With this new Script Shutdown should work again

Yep working :) (xpsp3enu, vmware 605)
maybe a checkbox to add xpelogon/shutdown will be nice :idea:

#65 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7,687 posts

Posted 30 July 2009 - 06:51 PM

JFX, just found out, for the XP style to look, right you will also need Tahoma.ttf and Trebuchet MS.ttf

:idea:

#66 was_JFX

was_JFX

    Frequent Member

  • Advanced user
  • 483 posts
  •  
    Germany

Posted 30 July 2009 - 07:41 PM

@Lancelot
Thanks I really was missing the '#$q' but for the CheckBox I like to wait for an alternative, so this will be a ComboBox.

@MedEvil
Very good find, but you forgot the 3rd :idea: (Franklin Gothic Font), I will add these 3.

:P

#67 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7,687 posts

Posted 30 July 2009 - 08:17 PM

Very could find, but you forgot the 3rd :idea: (Franklin Gothic Font), I will add these 3.

Ooops, where is that used?

:P

#68 was_JFX

was_JFX

    Frequent Member

  • Advanced user
  • 483 posts
  •  
    Germany

Posted 30 July 2009 - 08:21 PM

Ooops, where is that used?

:idea:

Startbutton and username. :P

#69 was_JFX

was_JFX

    Frequent Member

  • Advanced user
  • 483 posts
  •  
    Germany

Posted 01 August 2009 - 03:54 PM

Small Update for now

- Added Support for XP Sp2 Sources
- Bugfix, THX Lancelot

removed, new version online

#70 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7,687 posts

Posted 01 August 2009 - 07:53 PM

Very pleased to announce that JFX script also works fine NaughtyPE. :idea:

:P

#71 was_JFX

was_JFX

    Frequent Member

  • Advanced user
  • 483 posts
  •  
    Germany

Posted 02 August 2009 - 08:26 PM

OK, let's get rid of the XPeLogon/Shutdown :idea:

Can anyone explain me the problem with PE and Msgina.dll?

Someone see a way using the normal Msgina.dll and still have the Shutdowndialog working?

#72 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7,687 posts

Posted 02 August 2009 - 10:26 PM

A good place to start is to ask paraglider, as he created the PEGina we use.
Keeping the PEGina and have Styles working, may just be a question of adding a few function calls to PEGina.

:idea:

#73 was_JFX

was_JFX

    Frequent Member

  • Advanced user
  • 483 posts
  •  
    Germany

Posted 03 August 2009 - 09:35 PM

Good advice if 've send him PM.

So as everyone wants Options, try XpThemesv4

I think it's needlees to say I'm more the commandline Guy rather than a Gui one. :idea:

#74 paraglider

paraglider

    Gold Member

  • .script developer
  • 1,585 posts
  • Location:NC,USA
  •  
    United States

Posted 04 August 2009 - 12:31 AM

There are 2 versions of pegina - one I wrote and one Sherpya wrote for xpe. Don't know which one you are using. They both do approximately the same thing: export ShellShutdownDialog which XP calls when you choose shutdown from the menu.

I am sure if you work out what additional functionality pegina requires for support of styles then additional entry points which foreward to the same entry points in the renamed msgina can be added.

#75 paraglider

paraglider

    Gold Member

  • .script developer
  • 1,585 posts
  • Location:NC,USA
  •  
    United States

Posted 04 August 2009 - 01:08 AM

I don't use explorer shells on xp based pe these days so here is an experimental untested msgina.dll which expects the original msgina.dll to be called pegina.dll. It exports many more of the msgina entry points:

http://www.paraglide...Files/MSGina.7z

If your pe bsods then you know there was something wrong with it.

It creates a log file at %ramdrv%\ginalog.log which may show which entry points are used.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users