The Oven

Project World => Win10XPE HomePage => Topic started by: thien154 on August 10, 2020, 06:14:57 AM

Title: Add Portable Plugins into Win10XPE
Post by: thien154 on August 10, 2020, 06:14:57 AM
Can some one help me to add Portable App using Pstart into Win10XPE project. it's working on project Win10PE SE (but no in Win10XPE project)
Title: Re: Add Portable Plugins into Win10XPE
Post by: thien154 on August 10, 2020, 11:42:46 AM
At last, I modified the Portable Plugin from WIN10PE SE sucessfully.
Just add demo some apps.
If any one want this i'll shared.
Title: Re: Add Portable Plugins into Win10XPE
Post by: APT on August 11, 2020, 11:29:03 AM
Hi thien154

It's hard to tell what your showing - very blurry to me, but if it's Minitool Power Data Recovery, there is already a proper xpeplugin for it, see link below
http://theoven.org/index.php?topic=2607.0 (http://theoven.org/index.php?topic=2607.0)

scroll to Apps - Recovery, bug on name will take you appropriate xpeplugin
Title: Re: Add Portable Plugins into Win10XPE
Post by: thien154 on August 14, 2020, 01:39:09 AM
thank for your reply.
the important thing is not what is the software. the main point is integrated portable app with pstart as plugin.
Title: Re: Add Portable Plugins into Win10XPE
Post by: Jimehc on August 14, 2020, 09:39:15 AM
PStart (http://theoven.org/index.php?topic=2607.msg34162#msg34162)

[attach=1]
Title: Re: Add Portable Plugins into Win10XPE
Post by: thien154 on August 14, 2020, 12:01:22 PM
Hi, The one i download dont have this feature.
Can you share with me that project! Big thank
Title: Re: Add Portable Plugins into Win10XPE
Post by: APT on August 14, 2020, 12:33:07 PM
Hi
if you're talking about the xpeplugin try
Title: Re: Add Portable Plugins into Win10XPE
Post by: hunglm on August 14, 2020, 02:06:11 PM
- Add your custome folder > Add PStart Folder to Program Files
- Run PSart.exe and add portable apps you like
  Setup > Setting > General > unchecked "Show panel on startup"
- exit PStart
- Open Win10XPE.exe > Build Core > Edit Pecmd.ini
- Add the following line:
EXEC% ProgramFiles% \ PStart \ PStart.exe
- Save and create ISO
- PStart will run when WinXPE starts
Title: Re: Add Portable Plugins into Win10XPE
Post by: thien154 on August 14, 2020, 02:08:12 PM
I download the plugin and it worked well. However we can not add software through the menu because when you compile the script will delete the temp folder. it just add default only 1 or two software on the menu of pstart.
so my solution is comment out the script from build core  step. //DirDeleteQ,%GTemp%
Do you have any other good solution for this.
Title: Re: Add Portable Plugins into Win10XPE
Post by: hunglm on August 14, 2020, 02:51:17 PM
You do not read my instructions carefully.
Add the PStart folder to Program Files with "Add your custome folder" then run PStart.exe on your Windows and configure it as you like.
So after creating the ISO, PStart will run with your configuration, not create a new PStart as when running the script.
Title: Re: Add Portable Plugins into Win10XPE
Post by: thien154 on August 14, 2020, 02:54:42 PM
I want to have all customed portable apps on pstart before compile.
so when create the iso we dont need to add the portable software from here. (all portable app are including with compiling it is true with version Win10PESE (305.88 MB))
Title: Re: Add Portable Plugins into Win10XPE
Post by: thien154 on August 14, 2020, 02:57:23 PM
I pay attention that when run pstart step PStart.xml will remove as default. all our setting are gone.
Title: Re: Add Portable Plugins into Win10XPE
Post by: thien154 on August 14, 2020, 03:01:14 PM
I understand the way you make pstart working. but it is not pstart plugin.
Title: Re: Add Portable Plugins into Win10XPE
Post by: hunglm on August 14, 2020, 03:12:39 PM
Yes, it is not Pstart plugin. I run PStart plugin but the result is only PStart. So I don't use PStart plugin.
If you want to use the PStart plugin which includes portables applications then this is not the way you need it but I find this to be easier.
Title: Re: Add Portable Plugins into Win10XPE
Post by: RoyM on August 14, 2020, 03:13:05 PM
I have a super simple way to add portable apps to %SendTo% via batch.
And your favorite PortableApps will always be in the Right-Click\SendTo


Go you portableapps\7-zip\
Make a shortcut of same name minus the .exe, (i.e.) 7zFM.link  NOT 7zFM.exe.link
If you are booting to a PE, most of them have the %SendTo% variable.

"This batch should be in the \PortableApps\ Directory. I named mine SendTo.cmd
Set PappDir=%~dp0
If exist "%PappDir%\7-Zip\7zFM.lnk" (copy "%PappDir%\7-Zip\7zFM.lnk" %SendTo%\) ELSE (Echo 7zFM.lnk not found)
If no %SendTo% variable, use something like this:
If exist "%PappDir%\7-Zip\7zFM.lnk" (copy "%PappDir%\7-Zip\7zFM.lnk" "%APPDATA%\Microsoft\Windows\SendTo") ELSE (Echo 7zFM.lnk not found)

Alternative Method for All shortcuts at once:
Navigate to PortableApps\ and create a Folder named _Shortcuts
Make shortcuts like above example and then move them all into the _Shortcuts folder.
Then use:
xcopy %pappdir%_Shortcuts\* %USERPROFILE%\AppData\Roaming\Microsoft\Windows\SendTo /Y
OR
xcopy %pappdir%_Shortcuts\*  %SendTo%\



***** EXAMPLE1 ***********************************
SETLOCAL EnableDelayedExpansion
rem @ECHO OFF
rem
ECHO.
ECHO.   
ECHO.
Set PappDir=%~dp0
If exist "%PappDir%\7-Zip\7zFM.lnk" (copy "%PappDir%\7-Zip\7zFM.lnk" %SendTo%\) ELSE (Echo 7zFM.lnk not found)
If exist "%PappDir%\AgentRansack\AgentRansack.lnk" (copy "%PappDir%\AgentRansack\AgentRansack.lnk" %SendTo%\) ELSE (Echo AgentRansack.lnk not found)
If exist "%PappDir%\BCompare-4\BCompare.lnk" (copy "%PappDir%\BCompare-4\BCompare.lnk" %SendTo%\) ELSE (Echo BCompare.lnk not found)
If exist "%PappDir%\FirefoxPortable\FirefoxPortable.lnk" (copy "%PappDir%\FirefoxPortable\FirefoxPortable.lnk" %SendTo%\) ELSE (Echo FirefoxPortable.lnk not found)
If exist "%PappDir%\GIMPPortable2_paf\GIMPPortable.lnk" (copy "%PappDir%\GIMPPortable2_paf\GIMPPortable.lnk" %SendTo%\) ELSE (Echo GIMPPortable.lnk not found)
If exist "%PappDir%\InspectExe\InspectExe.lnk" (copy "%PappDir%\InspectExe\InspectExe.lnk" %SendTo%\) ELSE (Echo InspectExe.lnk not found)
If exist "%PappDir%\Notepad++\Notepad++ Portable Start.lnk" (copy "%PappDir%\Notepad++\Notepad++ Portable Start.lnk" %SendTo%\) ELSE (Echo Notepad++ Portable Start.lnk not found)
If exist "%PappDir%\OpenOfficePortable\OpenOfficePortable.lnk" (copy "%PappDir%\OpenOfficePortable\OpenOfficePortable.lnk" %SendTo%\) ELSE (Echo OpenOfficePortable.lnk not found)
If exist "%PappDir%\ProcessMonitorPortable\ProcessMonitorPortable.lnk" (copy "%PappDir%\ProcessMonitorPortable\ProcessMonitorPortable.lnk" %SendTo%\) ELSE (Echo ProcessMonitorPortable.lnk not found)
If exist "%PappDir%\SumatraPDFPortable\SumatraPDFPortable.lnk" (copy "%PappDir%\SumatraPDFPortable\SumatraPDFPortable.lnk" %SendTo%\) ELSE (Echo SumatraPDFPortable.lnk not found)
If exist "%PappDir%\Uniextract2\Uniextract2.0.lnk" (copy "%PappDir%\Uniextract2\Uniextract2.0.lnk" %SendTo%\) ELSE (Echo Uniextract2.0.lnk not found)
If exist "%PappDir%\uniextract161_noinst\UniExtract1.6.1.lnk" (copy "%PappDir%\uniextract161_noinst\UniExtract1.6.1.lnk" %SendTo%\) ELSE (Echo UniExtract1.6.1.lnk not found)
If exist "%PappDir%\UniversalExtractorPortable\UniversalExtractorPortable1.6.1_Dev.lnk" (copy "%PappDir%\UniversalExtractorPortable\UniversalExtractorPortable1.6.1_Dev.lnk" %SendTo%\) ELSE (Echo UniversalExtractorPortable1.6.1_Dev.lnk not found)
If exist "%PappDir%\VLCPortable\VLCPortable.lnk" (copy "%PappDir%\VLCPortable\VLCPortable.lnk" %SendTo%\) ELSE (Echo VLCPortable.lnk not found)
rem pause
rem Exit 0
ENDLOCAL
GOTO :EOF



***** EXAMPLE2 FROM Y:\Programs\ to SendTo ***********************************
If exist "%Programs%\File Tasks\File Edit\metapad.lnk" (copy "%Programs%\File Tasks\File Edit\metapad.lnk" "%APPDATA%\Microsoft\Windows\SendTo") ELSE (Echo metapad.lnk not found)
If exist "%Programs%\File Tasks\File Edit\NotePad++.lnk" (copy "%Programs%\File Tasks\File Edit\NotePad++.lnk" "%APPDATA%\Microsoft\Windows\SendTo") ELSE (Echo NotePad++.lnk not found)
If exist "%Programs%\File Tasks\Hex Editor\TinyHexer.lnk" (copy "%Programs%\File Tasks\Hex Editor\TinyHexer.lnk" "%APPDATA%\Microsoft\Windows\SendTo") ELSE (Echo TinyHexer.lnk not found)
If exist "%Programs%\File Tasks\Compression\Universal Extractor.lnk" (copy "%Programs%\File Tasks\Compression\Universal Extractor.lnk" "%APPDATA%\Microsoft\Windows\SendTo") ELSE (Echo Universal Extractor.lnk not found)

***** EXAMPLE3 Copying individual links to SM\Programs\ ***********************************
If exist %PappDir%NeroAll\NeroPortable.lnk (copy "%PappDir%NeroAll\NeroPortable.lnk" "%Programs%\CDVD\Nero" /Y) ELSE (Echo NeroPortable.lnk not found)
If exist %PappDir%NeroAll\NeroExpressPortable.lnk (copy "%PappDir%NeroAll\NeroExpressPortable.lnk" "%Programs%\CDVD\Nero" /Y) ELSE (Echo NeroExpressPortable.lnk not found)


Title: Re: Add Portable Plugins into Win10XPE
Post by: thien154 on August 14, 2020, 03:40:10 PM
the good solution. this way we dont need pstart as plugin but run directly in custom folders.
Title: Re: Add Portable Plugins into Win10XPE
Post by: thien154 on August 14, 2020, 03:41:10 PM
- Add your custome folder > Add PStart Folder to Program Files
- Run PSart.exe and add portable apps you like
  Setup > Setting > General > unchecked "Show panel on startup"
- exit PStart
- Open Win10XPE.exe > Build Core > Edit Pecmd.ini
- Add the following line:
EXEC% ProgramFiles% \ PStart \ PStart.exe
- Save and create ISO
- PStart will run when WinXPE starts

mark as good solution
Title: Re: Add Portable Plugins into Win10XPE
Post by: Jimehc on August 14, 2020, 11:06:23 PM
To Run Pstart upon system start

[attach=1]

Pstart uses a .xml file with the settings - you have to include (Attachment - Encoded .xml) a your custom settings or folder search location..
Or edit pecmd.ini to include shortcut link to your portable apps..
Title: Re: Add Portable Plugins into Win10XPE
Post by: thien154 on August 15, 2020, 02:20:00 AM
PEnetwork manager not recognize network adapter (boot from VMware). our network card drivers are Broadcom. I already includes drivers but it is not working.
Any one have experience about this issued?
Title: Re: Add Portable Plugins into Win10XPE
Post by: APT on August 15, 2020, 11:28:40 AM
Hi

modified PStart xpeplugin with button for simplified method of attaching your 'Custom PStart.xml'

recommended placement  ...\Projects\MoPlugins\Apps\File Tasks

Title: Re: Add Portable Plugins into Win10XPE
Post by: Jimehc on August 15, 2020, 02:14:06 PM
You do Not appear to be using the Win10XPE "Project" - As I see "Wimbuilder-Azin" in your tree
Title: Re: Add Portable Plugins into Win10XPE
Post by: APT on August 15, 2020, 03:00:44 PM
Hi thien154



Jimehc is correct, your pic in reply#18 shows you to be using WimBuilder, not the Win10XPE project


maybe it would be more appropriate if you directed this query to a thread in the WimBuilder Project