Topic: Win10XPE Project General Discussions  (Read 107201 times)

Re: Win10XPE Project General Discussions
« Reply #20 on: May 18, 2018, 01:44:07 PM »

teik

  • Chef
  • ***
  • Date Registered: Nov 2016
  • Posts: 250
So it appears Google is Adding The Desktop ShortCut then ??

I think. It still appears and I do not know what is due. I think it's because chrome when it is installed for the first time the access is created.

-Respect to the taskbar pin. Thank you very much for looking for a solution until you can touch the macro. I'm going to try the last solution you just put.

It is understandable that the pintool method is not yet purified. I hope that when I return @ChrisR can solve it and can be integrated.

Regards

Re: Win10XPE Project General Discussions
« Reply #21 on: May 18, 2018, 02:01:22 PM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
Has nothing to do with Chrome...

Not sure why you getting extra Shortcuts - just Tested all Pins and Shortcut_CheckBoxes....

The issue I found is in a prior post...

Build Project From Scratch - when you just change the checkboxes on the interface and hit the little green arrow..

It does not remove the old shortcut/pin data from ini file..

Always test with a new build...
« Last Edit: May 18, 2018, 02:30:38 PM by James »

Re: Win10XPE Project General Discussions
« Reply #22 on: May 18, 2018, 04:13:38 PM »

teik

  • Chef
  • ***
  • Date Registered: Nov 2016
  • Posts: 250
I just finished the tests. I've spent almost two hours spinning the last script you've uploaded. I have deleted everything, started from the beginning.

First: Resolved the direct access to the desktop that had been created ghost. It does not appear

Second: I had to change it for this one.

Quote
If,%pCheckBox4%,Equal,True,TXTReplace,%GTarget_Sys%\pecmd.ini,[PINTOOL],"[PINTOOL]#$xTaskBar8=%Programs%\%pTextBox%\%ProgramTitle%.lnk||||||||"

$xTaskBar8:   Because the 9 is used to explore
%pTextBox%:   So that it uses the name that each one puts for the menu


I use from USB, I have not tried it in RAM.

I have used the example that I leave @ChrisR in the pecmd file and added the variable: so that it uses the name that each one has put.

@James you are free to see if I have become confused in something. I know this is temporary, but without your help I would not have made it.

Thank you very much for everything and I apologize that you have all day with this little problem.
« Last Edit: May 18, 2018, 04:14:53 PM by teik »

Re: Win10XPE Project General Discussions
« Reply #23 on: May 18, 2018, 05:28:05 PM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
Quote
%pTextBox%:   So that it uses the name that each one puts for the menu

%pTextBox1% is correct for the plugin...

Re: Win10XPE Project General Discussions
« Reply #24 on: May 18, 2018, 06:16:41 PM »

teik

  • Chef
  • ***
  • Date Registered: Nov 2016
  • Posts: 250
Quote
%pTextBox%:   So that it uses the name that each one puts for the menu

%pTextBox1% is correct for the plugin...

Perfect.  :great: I knew I would need to keep an eye on a teacher like you.

The worst thing is that I love programming but I never dedicate myself to this and the shortcomings are noticed. Everything I do is based on trial and error. Sometimes I do not know how I get them.

Re: Win10XPE Project General Discussions
« Reply #25 on: May 18, 2018, 07:03:00 PM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
We learn from our own Mistakes...

Re: Win10XPE Project General Discussions
« Reply #26 on: May 18, 2018, 10:49:43 PM »

teik

  • Chef
  • ***
  • Date Registered: Nov 2016
  • Posts: 250
@James, If I have a folder that contains several programs together, how do I create 3 accesses in the start menu? Could you give me an example? There would be three executables within the same folder.
I would greatly appreciate the explanation, since the creator plugin only creates an access to a single executable.

Thank you very much.

Re: Win10XPE Project General Discussions
« Reply #27 on: May 19, 2018, 12:06:35 AM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
Code: [Select]
If,%pCheckBox2%,Equal,True,Begin
  Set,%ProgramTitle%,"FreeOffice TextMaker"
  Set,%ProgramEXE%,TextMaker.exe
  Add_Shortcut,StartMenu,%pTextBox1%
  //
  Set,%ProgramTitle%,"FreeOffice PlanMaker"
  Set,%ProgramEXE%,PlanMaker.exe
  Add_Shortcut,StartMenu,%pTextBox1%
  //
  Set,%ProgramTitle%,"FreeOffice Presentations"
  Set,%ProgramEXE%,Presentations.exe
  Add_Shortcut,StartMenu,%pTextBox1%
End


Re: Win10XPE Project General Discussions
« Reply #28 on: May 19, 2018, 01:26:58 AM »

cretino

  • Chef
  • ***
  • Date Registered: Jan 2018
  • Posts: 240
hi teik
this is an easy example  :smile:
Code: [Select]
http://www.mediafire.com/file/5393s8538pbd1a0/hdd%20soft.script

Re: Win10XPE Project General Discussions
« Reply #29 on: May 19, 2018, 01:53:44 AM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
there are many paths one can follow - be we are all heading to the same place
« Last Edit: May 19, 2018, 10:24:23 AM by James »

Re: Win10XPE Project General Discussions
« Reply #30 on: May 19, 2018, 07:01:43 AM »

teik

  • Chef
  • ***
  • Date Registered: Nov 2016
  • Posts: 250
Thanks very much both for your help.
First to @James that I have it all day working. I really do not know if you like this program or not. I only know that these days are full with this new project and helping at all hours. After this, I just need to know how archival associations are made. But with the example and allows me to go experimenting little by little with my projects and do things nuecas and more elaborated.

Second @cretino. I loved your example too. It is very important that this forum never lacks help. You have already uploaded an example of a script made to see the structure. Thank you very much and for what I need I will be here. Not for things to program, that for that, I do not know much.  :wink:

Greetings and many thanks again to @James and @cretino:thumbsup:
« Last Edit: May 19, 2018, 07:02:15 AM by teik »

Re: Win10XPE Project General Discussions
« Reply #31 on: May 19, 2018, 10:30:12 AM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
Associate,rar   --> (Three letter File Extension) or via the registry

Code: [Select]
[Add_Associations]
Associate,rar

or

[Add_Registry]
RegHiveLoad,Tmp_Software,%RegSoftware%
RegWrite,HKLM,0x1,Tmp_Software\Classes\.rar,,WinRAR
RegWrite,HKLM,0x1,Tmp_Software\Classes\WinRAR,,"WinRAR Archive"
RegWrite,HKLM,0x1,Tmp_Software\Classes\WinRAR\shell,,Open
RegWrite,HKLM,0x2,Tmp_Software\Classes\WinRAR\DefaultIcon,,"%PE_Programs%\%ProgramFolder%\%ProgramEXE%,0"
RegWrite,HKLM,0x2,Tmp_Software\Classes\WinRAR\shell\open\command,,"#$q%PE_Programs%\%ProgramFolder%\%ProgramEXE%#$q #$q#$p1#$q"
RegHiveUnLoad,Tmp_Software

« Last Edit: May 19, 2018, 10:44:34 AM by James »

Re: Win10XPE Project General Discussions
« Reply #32 on: May 19, 2018, 10:53:49 AM »

teik

  • Chef
  • ***
  • Date Registered: Nov 2016
  • Posts: 250
Associate,rar   --> (Three letter File Extension) or via the registry

Code: [Select]
[Add_Associations]
Associate,rar

or

[Add_Registry]
RegHiveLoad,Tmp_Software,%RegSoftware%
RegWrite,HKLM,0x1,Tmp_Software\Classes\.rar,,WinRAR
RegWrite,HKLM,0x1,Tmp_Software\Classes\WinRAR,,"WinRAR Archive"
RegWrite,HKLM,0x1,Tmp_Software\Classes\WinRAR\shell,,Open
RegWrite,HKLM,0x2,Tmp_Software\Classes\WinRAR\DefaultIcon,,"%PE_Programs%\%ProgramFolder%\%ProgramEXE%,0"
RegWrite,HKLM,0x2,Tmp_Software\Classes\WinRAR\shell\open\command,,"#$q%PE_Programs%\%ProgramFolder%\%ProgramEXE%#$q #$q#$p1#$q"
RegHiveUnLoad,Tmp_Software


I do not know how you do @James. But it was precisely one of the examples that I referred to. Right now, I'm still involved with the creation of entries in the start menu. I know that for those who handle this, it is very simple, but it takes more time for me.

When I finish this, I have nowhere to go. Thank you very much for continuing to teach me. This encourages me to keep trying until I get it.

Re: Win10XPE Project General Discussions
« Reply #33 on: May 19, 2018, 11:17:12 AM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
I believe one should teach by example - it is up to the student which example to follow...

Re: Win10XPE Project General Discussions
« Reply #34 on: May 20, 2018, 04:36:44 PM »

teik

  • Chef
  • ***
  • Date Registered: Nov 2016
  • Posts: 250
A question, there are script that are very complex, such as acronis or many others, that contemplate many lines of code. Would it be possible to make an "adapter"? Let me explain, as @James indicated before, there are variables that have changed their name. It would be possible to make all those variables change by the new name or are not just those variables that seem written?

It may be crazy, but reading the code there are certain scripts that are too complex to understand for my opinion. Maybe this is crazy, but it's just to ask.

Greetings to all.

Re: Win10XPE Project General Discussions
« Reply #35 on: May 27, 2018, 03:47:24 AM »

lvgandhi

  • Jr. Chef
  • **
  • Date Registered: Jul 2015
  • Posts: 71
Today I have started using win10xpe for making iso.
I have two problems.
One is numlock on. I have disabled numlock on. Still it gets on while usb is booted.
Second I added display driver under copy drivers and integrate drivers is on. Still display driver is not loaded. See in attached first pic.

Further I edited pecmd.ini to add driver as shown in pic 2. Still that display driver is not loaded.

How to solve display driver and numlock problem?

Further how to do region setting for time display?

Whether all these problems occur because of windows defender as seen in third pic.
« Last Edit: May 27, 2018, 02:54:25 PM by lvgandhi »

Re: Win10XPE Project General Discussions
« Reply #36 on: May 29, 2018, 01:56:30 AM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
PINTOOL is locking up at

System Configuration Please Wait message on desktop..
Getting popup message about StartisBack - something Press Excape
Drivers never load, nor does PENetwork start..

Have two pin icons down by clock
selecting exit or trying to uncheck "Pause"
results in alternating X through Pin icon...

Also testing same boot.wim results vary - even got message about pinhelper.exe missing from appdata but pins loaded

pecmd.log was empty

StartMenu Pins are OK
No TaskBar Pins.... So assume Tashbar pins are the issue

1803x64 source - Run from RAM
Macro 5/24/2018 7.39pm
« Last Edit: October 19, 2018, 10:41:41 PM by James »

Re: Win10XPE Project General Discussions
« Reply #37 on: May 29, 2018, 10:33:42 AM »

teik

  • Chef
  • ***
  • Date Registered: Nov 2016
  • Posts: 250
Hi @James

I have the same configuration as you in pecmd.ini except one line.

Quote
//EXEC =%WinDir%\System32\StartImDIsk.exe 50 % B: RAMDisk "NTFS Compressed" "B:\Temp"

I do not have it commented with the two //. As far as I'm concerned. You can try and this will create the temporary partition.



- By the way, I leave you the Log, which creates chrome within Win10XPE. You see how the program itself creates those entries that I mentioned to you. Take a look, please.

Regards

Re: Win10XPE Project General Discussions
« Reply #38 on: May 29, 2018, 10:54:15 AM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
the installer package is missing >  /installer/chrome.7z

Code: [Select]
If,ExistFile,%ProvideFiles%\%ProgramFolder%\%ContainerVer%\Installer\Chrome.7z,FileDelete,%ProvideFiles%\%ProgramFolder%\%ContainerVer%\Installer\Chrome.7z

« Last Edit: October 19, 2018, 10:42:03 PM by James »

Re: Win10XPE Project General Discussions
« Reply #39 on: May 29, 2018, 04:32:18 PM »

cretino

  • Chef
  • ***
  • Date Registered: Jan 2018
  • Posts: 240
hi James
try to boot two time in a row ( first boot there is missing file shortcut... but second boot every thing is ok )
for the pinhelper.exe this is i sawit with 64bit os
for 86bit i have created the startmenu shortcut with the script now there is no problem with run from usb (shortcut desktop & pin work )

 

Powered by EzPortal