Jump to content











Photo

Extending Windows Functions in Win8PE


  • Please log in to reply
6 replies to this topic

#1 Seiba

Seiba

    Member

  • Members
  • 33 posts
  •  
    Germany

Posted 03 December 2013 - 03:56 PM

Hi Script Developers,

 

I want to extend WINPE to support RemoteApps.
Don't know if it will work.
Therefore I need to implement rundll32.exe's tsworkspace.dll functions.

 

I use procmon.exe, handle.exe to monitor file and registry settings that are used by Explorer.exe when "RemoteApp and Desktop Connection" is started on a W8 Testmachine.

 

So the plan is to monitor the things, and then create app script and implement it in Winpe Build process.
(OT: The easier way for me is using dism to mount and copy the files to the wim)

 

How do you script writers manage to extend features from Windows to Winpe.
What Tools are you using to track resources a Windows Feature or api uses?

 

best regards

 



#2 Nuno Brito

Nuno Brito

    Platinum Member

  • Team Reboot
  • 10452 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 04 December 2013 - 05:17 PM

Hi Seiba,

 

regmon and filemon are my favorite tools for tracking what is changed while the program is running. They are from Sysinternals and nowadays a newer tool as merged them both but I still prefer to use the isolated tools.

 

Dependency walker is quite nice to discover which files are missing as dependencies (static).



#3 Seiba

Seiba

    Member

  • Members
  • 33 posts
  •  
    Germany

Posted 04 December 2013 - 06:38 PM

Hi Nuno,

 

thanks for answering, but I saw some missing files in this case.

First of all it is tsworkspace.dll

But when monitoring the changes, you don't see the dependencies to the Windows Side-by-Side assemblies or else.

It is very difficult to track what is needed around.

How do you manage this?


Edited by Seiba, 04 December 2013 - 06:39 PM.


#4 Nuno Brito

Nuno Brito

    Platinum Member

  • Team Reboot
  • 10452 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 04 December 2013 - 06:59 PM

Now I understand a bit better which software you want to run. Have you looked on the forum archives to see what similar talks about this matter have been made?

 

I've found this article: http://reboot.pro/to...-xp-vista-7etc/

 

Perhaps a good idea to get in contact with the guys participating on that discussion.

 

Good luck. :)



#5 Seiba

Seiba

    Member

  • Members
  • 33 posts
  •  
    Germany

Posted 04 December 2013 - 07:10 PM

:thumbsup: O thanks,

 

yes i looked around, but didn't find this.
I will try my luck there ...



#6 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12688 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 04 December 2013 - 08:17 PM

But when monitoring the changes, you don't see the dependencies to the Windows Side-by-Side assemblies or else.

You must either run depends inside the PE, or use it options to define, that depends does not look into your OS (that's standard), but into a different directory.

 

That's the way I usually use: Let depend look into the target directory where the PE is built:

 

In Depends: Options > Module search order, configure something like:

Attached File  depends.gif   15.24KB   1 downloads

 

Sorry, that has to be setup dependend on your personal config. I cannot give recommendations.

 

You can save this depends configuration and load back in the next use.

 

Peter


  • crash likes this

#7 Seiba

Seiba

    Member

  • Members
  • 33 posts
  •  
    Germany

Posted 05 December 2013 - 02:03 PM

Hi pscEx,

 

that's great! I will test this.
I didn't work intensively with depends, yet.
But: This should even work on a 64-bit Host if 32-bit PE is loaded in VM an 32-bit install.wim is mounted on host and is reachable over Network from 32-bit PE.

Why not!

 

thanks
 






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users