Jump to content











Photo
- - - - -

Net Framework V4 and Print Feature Script


  • Please log in to reply
98 replies to this topic

#1 ludovici

ludovici

    Silver Member

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

Posted 02 May 2012 - 06:22 PM

Hello Everybody ;) :clap:
I come back after 4 month of standby :good:
I need tester for 2 scripts
http://www.mediafire...vrf4w958ymf9w8f Net Framework V4
http://www.mediafire...4bnzf38q4tqf12p Printer Feature

Thanks for your help ;)

#2 Aeolis

Aeolis

    Frequent Member

  • .script developer
  • 145 posts
  • Location:Rio de Janeiro
  • Interests:I am just trying to learn and help.
  •  
    Brazil

Posted 02 May 2012 - 08:48 PM

Hello folks,

You have a tester here for the printer script.

Best regards,

Aeolis
  • ludovici likes this

#3 Aeolis

Aeolis

    Frequent Member

  • .script developer
  • 145 posts
  • Location:Rio de Janeiro
  • Interests:I am just trying to learn and help.
  •  
    Brazil

Posted 02 May 2012 - 09:45 PM

Hello folks,

Dear ludovici, my first test with the Printer script ended unexpectedly due to a build error. Here is the log file: Attached File  log_20120502_182200_Win7PE_SE_Support.7z   171.71KB   6 downloads

I may be wrong, but after I have studied the log file and your script a little it seems that it is a simple error of the destination folder not being created before the source files be copied into it. Just add the extra checks or the create folder before the copy commands.

Keep the good job. A Printer script is a must have for PE's if you need any assistance just let me know. I would like to join you in your Printer script development.

Best regards,

Aeolis

#4 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 02 May 2012 - 10:23 PM

Ran into the same error.

The script seems to be the old one from your project. If so, it's not working, i tested it back then.

:cheers:

#5 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 02 May 2012 - 10:29 PM

PS: If i remeber correctly, the problem is that the foldernames are from a Win7SP0.
In the copy commands, some foldersnames, or best all foldernames, need to loose the long number at the end.

:cheers:

#6 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 02 May 2012 - 10:50 PM

No it wasn't that kind of an error. Build fails also with Win7SP0.

:cheers:

#7 ludovici

ludovici

    Silver Member

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

Posted 03 May 2012 - 08:42 AM

http://www.mediafire...9739f2boquok7xm
Print Feature V5

Thanks for your test Medevil and Aeolis

#8 Aeolis

Aeolis

    Frequent Member

  • .script developer
  • 145 posts
  • Location:Rio de Janeiro
  • Interests:I am just trying to learn and help.
  •  
    Brazil

Posted 03 May 2012 - 09:07 PM

Hello folks,

I still have the build error problem with version 5 of the printer script: Attached File  log_20120503_180400_Win7PE_SE_Support.7z   172.09KB   3 downloads

Best regards,

Aeolis

#9 ludovici

ludovici

    Silver Member

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

Posted 03 May 2012 - 10:37 PM

Thanks Aeolis

Can you test with this new version 6 http://www.mediafire...3vmj97wj9964cc1
But in winbuilder tools uncheck Stop build on error

#10 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 04 May 2012 - 02:37 PM

Since i'm in an especially good mood today, i went over the print.script and fixed all errors and warnings.
Still doesn't work.
At least we know now, it's not because of a script error. ;)

Error message, when one tries to start spooler service: Dependency group failed to start.

Print.script v7
Attached File  Print.script   200.52KB   16 downloads

:cheers:

#11 ludovici

ludovici

    Silver Member

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

Posted 04 May 2012 - 03:45 PM

Thanks Medevil for your work ;)
And :fool: :hammer: :viking: for my script

I will check this night what are this dependancy (DCOM Server Process Launcher, Remote Procedure Call (RPC), DCOM Server Process Launcher
http://www.speedyvis...int_Spooler.php

Medevil have you the file "http.sys" in your System32Drivers directory of your WinPE ?

Can you explain Medevil, what are you doing on my script ?
I see this line "Unpack,Files,Spoolsv.7z,True,%TargetDir%Windows,System32"
The unpack command has been modified ?

#12 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 04 May 2012 - 03:49 PM

I think i have isolated the problem.
The http driver entry is malformed.

Just running tests, which of 2 solutions gives the better result.

:cheers:

#13 ludovici

ludovici

    Silver Member

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

Posted 04 May 2012 - 04:05 PM

Yes it's maybe HTTP service; i has add this service with speed delay; sorry i will check.

Maybe add also the "RootLEGACY_HTTP0000" registry key also ;)

#14 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 04 May 2012 - 04:51 PM

Yep eighter the ENUM entry has to be removed in the HTTP service or the "Root\\LEGACY_HTTP\\0000" registry key has to be added, both works.

I went in the end with the second, cause it's the cleaner solution and i had hoped that that would allow the spooler service to auto start.
It does not.

So for now, spooler service needs to be started by hand, then ... printing works! :cheerleader: :cheerleader: :cheerleader:

Unfortunately the add printer dialog presents me with no ports to choose from, so i had to try with the XPS-Printer.


:cheers:

PS: New printer script v8 Attached File  Print.script   201.54KB   20 downloads

#15 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 05 May 2012 - 11:59 AM

Wow! Given the fact, how often i have heared that people want printing to work in PE, there's surely little interest in testing a working Printer script.

:cheers:

#16 Aeolis

Aeolis

    Frequent Member

  • .script developer
  • 145 posts
  • Location:Rio de Janeiro
  • Interests:I am just trying to learn and help.
  •  
    Brazil

Posted 05 May 2012 - 02:07 PM

Hello folks,

Sorry, for the delay. I am using version 8 of the print script and I have disabled the "stop on build error" option as requested, here is the log: Attached File  Win7PE SE-Win7x86_2012-mai-05_10-37.7z   190.74KB   6 downloads

Still have the missing files errors.

Best regards,

Aeolis

#17 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 05 May 2012 - 02:30 PM

You still have the error messages with v8?
That shouldn't be possible.

:cheers:

#18 Aeolis

Aeolis

    Frequent Member

  • .script developer
  • 145 posts
  • Location:Rio de Janeiro
  • Interests:I am just trying to learn and help.
  •  
    Brazil

Posted 05 May 2012 - 02:35 PM

Hello folks,

Just check the log file.

Best regards,

Aeolis

#19 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 05 May 2012 - 03:39 PM

Aeolis, i don't understand that error. There's no error in the script code and since the dll is found ok, there's no reason the mui file wouldn't be there.

Could you check in the install.wim if the files exist? Maybe boot.wim too?

:cheers:

#20 Aeolis

Aeolis

    Frequent Member

  • .script developer
  • 145 posts
  • Location:Rio de Janeiro
  • Interests:I am just trying to learn and help.
  •  
    Brazil

Posted 05 May 2012 - 04:36 PM

Dear MedEvil,

After some research I've found out that "DevicePairingProxy.dll.mui" and "DeviceUxRes.dll.mui" are not present on my Install.win %DistLang% folder which is by the way pt-BR. Those files are only present in my Install.win folder under en-US, maybe you could copy them from en-US.

They can't be found at the Boot.win folder too. I hope it helps.

Best regards,

Aeolis

#21 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 05 May 2012 - 04:58 PM

I could add a workaround, that if the files are not found in ones language, then it would default to english.
But before i do that, i would like to be sure, that this is not just a hickup with your source.

Could you compare the files installed on your regular Win7, with the ones found in the en-US folder on your DVD, to verify that M$ simply copies the en-US files to your pt-BR folder?

:cheers:

#22 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 05 May 2012 - 05:02 PM

@Ludovici
Support for parallelport printer (LPT1) is definitly missing in the script. I tryed everwhichway to get the add printer dialog to show me LPT1 as an option, i didn't work.

:cheers:

#23 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 05 May 2012 - 05:06 PM

Just checked on a regular Win7. The listing of all ports in PE is missing not just parallel port, but also serial ports and xps-port and file port.

:cheers:

#24 Aeolis

Aeolis

    Frequent Member

  • .script developer
  • 145 posts
  • Location:Rio de Janeiro
  • Interests:I am just trying to learn and help.
  •  
    Brazil

Posted 05 May 2012 - 05:18 PM

Hello folks,

MedEvil, I have checked the files in my working environment (I run Windows 7 Ultimate 64-Bits in my working machine), so I have:

C:WindowsSystem32pt-BR: DeviceCenter.dll.mui, DevicePairing.dll.mui, DevicePairingFolder.dll.mui and DeviceProperties.exe.mui.
C:WindowsSystem32en-US: DevicePairingProxy.dll.mui and DeviceUxRes.dll.mui.

C:WindowsSysWOW64pt-BR: DeviceCenter.dll.mui, DevicePairing.dll.mui, DevicePairingFolder.dll.mui and DeviceProperties.exe.mui.
C:WindowsSysWOW64en-US: DevicePairingProxy.dll.mui and DeviceUxRes.dll.mui.


As we can see here, it seems that M$ uses DevicePairingProxy.dll.mui and DeviceUxRes.dll.mui as fallback files in the en-US folders. So, I think you should copy them from en-US and put them in the en-US PE folders too not in the PE pt-BR (%DistLang%). I hope it helps.

Best regards,

Aeolis

#25 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 05 May 2012 - 07:40 PM

Oops, that's even weirder than i thought.
We could try it like that, but you would need to check, if it works like that in a PE too.

I have my doubts, sidebar proved to be rather picky about the mui folder in PE.


:cheers:

Print.script V8 Aeolis-Test-Version: Attached File  Print.script   202.27KB   15 downloads




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users