无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站广告联系 微信:wuyouceo QQ:184822951
楼主: slore

[原创] (2022-02-02 更新) Re:WIN10XPE - 从零开始构建的全功能PE

    [复制链接]
发表于 2019-1-7 07:50:45 | 显示全部楼层
目前,打印机支持的PE,只有10240,以后版本的没看见.所以,没有必要强求

这几个功能保留一下吧
shutdownux.dll   cmd关机
shutdown.exe

mshta.exe 可支持右键复制路径.
mblctr.exe 移动中心,平板笔记本下可以看电池余量
回复

使用道具 举报

发表于 2019-1-7 07:53:35 | 显示全部楼层
imdisk不用吧,一个批处理即可完成安装的
回复

使用道具 举报

发表于 2019-1-15 08:33:23 | 显示全部楼层
提示错误!!
sshot-1.png
挂载原版ISO就是以只读方式展开的。
为何要构建成ISO呢??很多人只想要wim!
回复

使用道具 举报

发表于 2019-1-15 08:42:46 | 显示全部楼层
谢谢楼主的分享
回复

使用道具 举报

发表于 2019-1-15 09:10:05 | 显示全部楼层
2010hook 发表于 2019-1-15 08:33
提示错误!!

挂载原版ISO就是以只读方式展开的。

我完全不需要ISO,不想复制bootmgr。
只生成wim不好么?
回复

使用道具 举报

发表于 2019-1-15 21:58:42 | 显示全部楼层
构建哪里不要全选,运行CMD就只有wim龙
回复

使用道具 举报

发表于 2019-1-15 22:14:53 | 显示全部楼层
这个绝对可以有  谢谢劳动  谢谢分享
回复

使用道具 举报

 楼主| 发表于 2019-1-15 23:07:05 | 显示全部楼层
2010hook 发表于 2019-1-15 09:10
我完全不需要ISO,不想复制bootmgr。
只生成wim不好么?

默认不会生成ISO,每个人的ISO模板不一样,然后有人提出想生成ISO,所以有_ISO_模板目录,
把自己的ISO模板放进去,点【生成ISO】按钮,会创建ISO,还可以自动VirtualBox测试wim文件。

有人没有放置到_ISO_模板,导致生成的ISO无法启动,所以新版本添加了一个“警告”提醒,
只是提醒作用,不会生成ISO。

如果不生成ISO也不想出现这个提示,自己在_ISO_目录,新建一个bootmgr文件,大小为0也无所谓。
只是跳过检查的警告提醒,与生成ISO无关。

或者你在config.js的最后添加一行:

  1. $iso_boot_file = '..\\config.js';
复制代码


这样也会跳过ISO模板检查。


你还可以打开 WimBuilder2\assets\js\page_build.js,在第34行alert的开头添加//把这个提示注释掉。

    if (!fso.FileExists(iso_path + '\\' + $iso_boot_file)) {
        if (!fso.FolderExists($wb_src_folder + 'boot')) {
            // alert(i18n_t('The _ISO_ folder is not available, you can\'t create bootable ISO image.\r\nPlease make your ISO template manually, or select the Windows ISO folder/drive for auto creating.'));
        }
    }

评分

参与人数 1无忧币 +5 收起 理由
2010hook + 5 回复真详细

查看全部评分

回复

使用道具 举报

发表于 2019-1-17 08:27:49 来自手机 | 显示全部楼层
支持支持
回复

使用道具 举报

发表于 2019-1-17 08:35:53 | 显示全部楼层
谢谢楼主的分享
回复

使用道具 举报

发表于 2019-1-18 19:33:04 | 显示全部楼层
原生Windows Explorer外壳(
回复

使用道具 举报

发表于 2019-1-19 23:42:25 | 显示全部楼层
楼主大哥,今天照着你的教程提取创建了一个win10pe,U盘启动进入桌面,MTP功能成功从手机里复制了一份1G左右的文件到了电脑,万分感谢
回复

使用道具 举报

发表于 2019-1-20 15:07:15 | 显示全部楼层
本帖最后由 nonameman 于 2019-1-20 15:09 编辑

感谢创作者 Slore。
Thanks to the creator Slore.
제작자 Slore에게 감사드립니다.

提供韩语翻译版本。
Provides a Korean translation version.
한국어 번역 버전을 제공합니다.

如果您参考last.bat,也可以使用19H1构建。
If you refer to last.bat, 19H1 build is also possible.
last.bat를 참고하면 19H1 빌드도 가능합니다.

世界的故事 :: 至尊貧大
세사기 :: 지존빈대
http://ho82.kr

1WB_patch_KOR.7z

10.53 KB, 下载次数: 6, 下载积分: 无忧币 -2

回复

使用道具 举报

发表于 2019-1-20 15:26:12 | 显示全部楼层
nonameman 发表于 2019-1-20 15:07
感谢创作者 Slore。
Thanks to the creator Slore.
제작자 Slore에게 &#4 ...

http://bbs.wuyou.net/forum.php?m ... kr/gallery/11117403
朋友这个pe在哪里下载
Where can I download this pe?
친구 이 pe 어디 있어요
回复

使用道具 举报

 楼主| 发表于 2019-1-20 15:27:45 | 显示全部楼层
本帖最后由 slore 于 2019-1-20 15:40 编辑
nonameman 发表于 2019-1-20 15:07
感谢创作者 Slore。
Thanks to the creator Slore.
제작자 Slore에게 &#4 ...


Hi, noameman
Thanks for translation contribution.
I will add them to WimBuilder2.

If you have github account, you can make a pull request https://github.com/slorelee/wimbuilder2

about the last.bat to support 19H1, I see you call AddFile in one line.
it can be written in goto :end_file block. and should seperate them in different patch(s),
and update lib\macros\AddFiles to support mum files.

The support_19H1 part will be added later when Microsoft release the new Windows 10.

点评

Unfortunately I have no github account. I am not a programmer. I am just a beginner in the field of coding. BUT I want to support your great achievements as much as possible, because I like your s  详情 回复 发表于 2019-1-21 09:37
回复

使用道具 举报

发表于 2019-1-21 09:19:20 | 显示全部楼层
xuexiang 发表于 2019-1-20 15:26
http://bbs.wuyou.net/forum.php?mod=viewthread&tid=412781&extra=page%3D1https://windowsforum.kr/gal ...

也许这种流出是被禁止的。
Perhaps the outflow is forbidden.
回复

使用道具 举报

发表于 2019-1-21 09:37:36 | 显示全部楼层
slore 发表于 2019-1-20 15:27
Hi, noameman
Thanks for translation contribution.
I will add them to WimBuilder2.

Unfortunately I have no github account.
I am not a programmer.
I am just a beginner in the field of coding.
BUT I want to support your great achievements as much as possible, because I like your signature ^_^
Wonderful signature - S.L.O.R.E !!
I think you are smart and somewhat chic :)
Good luck to you !
回复

使用道具 举报

 楼主| 发表于 2019-1-21 10:54:12 | 显示全部楼层
nonameman 发表于 2019-1-21 09:37
Unfortunately I have no github account.
I am not a programmer.
I am just a beginner in the fiel ...
Unfortunately I have no github account.

OK. I merged your translation.

add Korean translation(from nonameman)  Latest commit c56c9fb  10 hours ago
https://github.com/slorelee/wimb ... 3530d4d28b4b300a35c

new version download from:
https://github.com/slorelee/wimbuilder2/archive/master.zip

I didn't merge next files in 1WB_patch_KOR.7z:
Project/WIN10XPE/config.js  (about default settings, This will support default.js, custom.js, abc.js, ..., later)
Project/WIN10XPE/last.bat (about 19H1 support, as stated some of them should be in suitable patch batch scripts, like Wow64_Support)


Wow64_Support\submain.bat
  1. call AddFiles %0 :end_file
  2. ...
  3. +ver > 18000
  4. xxx.dll,yyy.dll,...

  5. :end_file

  6. if %ver[3]% GTR 18000 call :19H1_Addition

  7. :19H1_Addition
  8. xxxxx
  9. goto :EOF
复制代码

I am just a beginner in the field of coding.
BUT I want to support your great achievements as much as possible, because I like your signature ^_^


I am glad to know someone already modified the Project to support new version(19H1)/adapt one's needs correctlly by himself,
even without any documentation.
我很高兴知道,有人已经可以自己修改这个工程去支持新的版本(19H1),和修改一些配置文件来适应自己的需求,即使没有任何文档说明。

Have fun in the field of coding ^_^
回复

使用道具 举报

发表于 2019-1-21 11:17:15 | 显示全部楼层
本帖最后由 ku588 于 2019-1-21 12:09 编辑

这个工具的制作思路清晰,并且定制性很强,应该说是目前最易用的PE制作工具了,没有之一,随便一个小白就能做自己的PE,做出来PE兼容性也很好,就是体积庞大,还需要进一步精简和细节调整。

越简单易用的工具,对作者来说付出的汗水就越多,这样的技术原创贴应该加精的,顶起来!

评分

参与人数 3无忧币 +13 收起 理由
Mushroom + 5 这个男人很帅很酷
yyjpcx + 3 赞一个!
palm777qqq + 5

查看全部评分

回复

使用道具 举报

发表于 2019-1-22 10:27:11 | 显示全部楼层
请教如何整合您的winXShell在这个工具中?

点评

Winxshell做外壳的补丁已经写好。explorer+winxshell修复功能还要调试下。另外再做一个第3方软件管理库,省得下附件,都好了更新一版。  发表于 2019-1-22 12:00
回复

使用道具 举报

发表于 2019-1-22 13:52:06 来自手机 | 显示全部楼层
很不错,批处理到这个程度相当不容易!
回复

使用道具 举报

发表于 2019-1-22 17:23:28 | 显示全部楼层
大神之作
回复

使用道具 举报

发表于 2019-1-24 17:19:41 | 显示全部楼层
创建的iso用virtualbox加载测试,启动后只有一个鼠标箭头,什么情况?

点评

构建(日志)模式,运行下,把 上一次日志 压缩发来看看。WIM是否构建正常,如果正常dir /b /s _ISO_我看下ISO模板。  发表于 2019-1-24 20:36
回复

使用道具 举报

 楼主| 发表于 2019-1-24 22:22:19 | 显示全部楼层
本帖最后由 slore 于 2019-1-24 22:25 编辑

2019-01-24 更新:
* 一个个文件验证,得到了最小的DWM支持列表,不依赖explorer组件
   (WinXShell.exe为Shell不再出错)。
* 一个个文件验证,得到了最小的切换Administrator补丁,不再依赖explorer和DWM组件
  (WinXShell.exe作为Shell也可利用)。
* 一些细节修正

最新版下载:
https://github.com/slorelee/wimbuilder2/archive/master.zip
无法从github下载的话,下载首页最新版附件。

SwitchAdminUI.png
SwitchToAdmin.png
SA2.png


@nonameman
Projects/WIN10XPE/00-Configures/System/main.html
has new resources about Administrator Options.

点评

@nonameman Projects/WIN10XPE/00-Configures/System/main.html has new resources about Administrator Options. ========== I was already aware of the process of updating two times a few hours ago i  详情 回复 发表于 2019-1-26 03:02
回复

使用道具 举报

 楼主| 发表于 2019-1-24 22:30:15 | 显示全部楼层
WinXShell.exe做一个UI_AccountSwitch,另外WinXShell.lua中很多配置路径不正确,导致很多功能无法激活,
快捷方式的打开所在文件位置,右下角时间左键日历界面等。
修复后,最新版会更新进来。

目前的话,把RC3.3版本放到
WimBuilder2\Projects\WIN10XPE\01-Components\00-Shell\WinXShell\X_x64\Program Files\WinXShell\*.*
WimBuilder2\Projects\WIN10XPE\01-Components\00-Shell\WinXShell\X_x64\Program Files\WinXShell\*.*
也可使用。

WinXShell_AccountSwitch.png
回复

使用道具 举报

 楼主| 发表于 2019-1-24 22:58:20 | 显示全部楼层
本帖最后由 slore 于 2019-1-24 23:32 编辑

另外,外部程序PECMD,StartIsBack,7-ZIP将另外用一个库管理。
该库提供
fetch <程序> <版本> <构架>
的形式自动下载官方指定版本,最新版本,返回路径,WimBuilder2根据此路径直接将
文件应用到wim文件中,当有新版本更新时,删除旧版文件,重新构建即可。

swRepoCMD.png


另外,也做了一个简易的图形界面管理,有删除,和更新按钮。
采用WimBuilder2的框架,后面会直接整合到wimBuilder2中,作为一个"扩展插件"。

swRepoUI.png

包含wget,aria2,7z工具的x64/x86版本,文件大于3MB了,分隔成2个附件。

(z01.zip文件去掉后缀.zip)
swRepo-master.z01.zip (2.9 MB, 下载次数: 435)

评分

参与人数 1无忧币 +5 收起 理由
palm777qqq + 5

查看全部评分

回复

使用道具 举报

发表于 2019-1-25 00:09:41 | 显示全部楼层
给力
sshot-1.png
回复

使用道具 举报

发表于 2019-1-25 10:10:40 来自手机 | 显示全部楼层
越来越完善了,支持个
回复

使用道具 举报

发表于 2019-1-25 12:41:23 | 显示全部楼层
大神帮忙看下,iso模板和出现的状况都在链接里,https://send.firefox.com/downloa ... HZl0MNW4FJdbWK2MTZA

点评

你选择的是winxshell作为外壳,但是我没提供WinXShell的exe。 所以没有外壳,是黑屏。 我看你下载PECMD的补丁,那你有看到 有壁纸,最上面提示 正在初始化,请等待。。。(英文)的界面么。 如果有, 你选择exp  详情 回复 发表于 2019-1-25 12:56
回复

使用道具 举报

 楼主| 发表于 2019-1-25 12:48:05 | 显示全部楼层

mtp补丁确认方法

1.确认X:\Hook.dat生成,确保mtpHelper.dll启用。

2.ALPC Port \UMDFCommunicationPorts\ProcessManagement被正确创建。

http://bbs.wuyou.net/forum.php?m ... &fromuid=166812
process explorer通过CTRL+H查看services.exe进程,确认,

到这里说明补丁有效。

3. 运行mtp_support.bat
提示wpdmtp驱动正确安装。(这里错误就是WIM的问题了。)
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2024-3-29 12:59

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表