slorelee / wimbuilder2

wimbuilder with new UI & new syntax (hta+bat+vbs+js)
470 stars 105 forks source link

Help #79

Open HarryDragon48 opened 2 years ago

HarryDragon48 commented 2 years ago

How to install apps ? Could we have a tutorial, we want to put in on the desktop, could it be in English? (Or French, it would be best) Thank you for your time and help! =)

slorelee commented 2 years ago

For Windows PE, I think a portable version of the application is good, you can run them from your USB disk directly. About the shortcuts on Desktop, the PETools loader should read a U:\PETools\PETools.ini, the pecmd.exe's link command will create a shortcut for it.

If you want to create a shortcut when building with WimBuilder2. You can see the sample in:

E:\WimBuilder2\Projects\WIN10XPE\02-Apps\

call LinkToDesktop "7-Zip.lnk" "#pProgramFiles#p\7-Zip\7zFM.exe"
call LinkToStartMenu "7-Zip\7-Zip File Manager.lnk" "#pProgramFiles#p\7-Zip\7zFM.exe"

call LinkToStartMenu "Defraggler\%APP_NAME%.lnk" "#pProgramFiles#p\Defraggler\Defraggler.exe"

call LinkToDesktop PENetwork.lnk "#pProgramFiles#p\PENetwork\PENetwork.exe"

#p is instead of the % mark to avoid to use the hostOS's enviroment variables.

You can right click on next item node. and select [open the folder], or [edit the last.bat].

_Personal-Tailor_(Post)
        MyStartMenu

WimBuilder2\AppData\Projects\WIN10XPE\10-MyCustom\MyStartMenu\last.bat

call LinkToDesktop "7-Zip.lnk" "#pProgramFiles#p\7-Zip\7zFM.exe"
call PinToTaskbar "#pProgramFiles#p\Everything\Everything.exe"
call PinToStartmenu "#pProgramFiles#p\WinXShell\WinXShell.exe"
call PinToStartmenu regedit.exe