Topic: Create "bin" Plugin - File Container Plugin  (Read 10898 times)

Create "bin" Plugin - File Container Plugin
« on: December 12, 2014, 01:49:20 PM »

anshad

  • Chef
  • ***
  • Date Registered: Apr 2012
  • Posts: 323
Hi Lancelot

Thanks to your "PC packed" plugin and "RegCPE" tool, i can create my own custom scripts very easily  :thumbsup:. However i would like to create separate bin plugins for large apps (ie, partition tools etc ). Would you please explain how to do that ?.
« Last Edit: November 15, 2015, 12:25:36 PM by Lancelot »

Re: Create "bin" script
« Reply #1 on: December 13, 2014, 07:39:01 AM »

Atari800xl

  • Code Baker
  • Sr. Chef
  • ****
  • Date Registered: Feb 2013
  • Posts: 827
Sorry to bud in, but what exactly do you mean by "bin" scripts?

Re: Create "bin" script
« Reply #2 on: December 13, 2014, 10:13:59 AM »

anshad

  • Chef
  • ***
  • Date Registered: Apr 2012
  • Posts: 323
Quote
Sorry to bud in, but what exactly do you mean by "bin" scripts?

A bin file is a container file to hold only the program's files. An example is "Partition Wizard" program included with "Gena" package. There will be two script files - one main script witch shows the interface and contain all the code, registry entries etc. The bin script will contain the actual "Partition Wizard" program ( instead of embedding it in to the main scrip itself - like custom scripts created using "PC Packed" ). Separating the attachments and codes will make editing and modifying the main interface scrip easier. Also knowing how to do that is partially educational and partially fun for me  :smile:.
« Last Edit: December 13, 2014, 10:15:55 AM by anshad »

Re: Create "bin" script
« Reply #3 on: December 13, 2014, 12:35:24 PM »

Atari800xl

  • Code Baker
  • Sr. Chef
  • ****
  • Date Registered: Feb 2013
  • Posts: 827
Thank you anshad, I really appreciate it that you took the time to explain!
I think I understand what bin scripts are now, I did see these before, I believe in one of the disk imagers scripts.
For personal use, I sometimes just put the unencoded files in a subfolder, but of course the "official" TheOven method is encoding the files.
So you're right, it would be interesting to know how to make these. Thanks again...
« Last Edit: December 13, 2014, 12:35:48 PM by Atari800xl »

Re: Create "bin" script
« Reply #4 on: December 13, 2014, 08:36:28 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
but of course the "official" TheOven method is encoding the files.

Well, for distribution goals and to avoid some troubles with builder, yes,
on the other hand,
for 3rd party, personal plugins, when they are out of project build folders (ex: Plugins under MyPlugins linked to project) ,
 there is no problem to use unencoded files in a subfolder  :thumbsup:

and still,
 for creating plugins for undistributable files
  (and to avoid using files under project folder, since what an end user naturally do at first place))
using a "Put Files Here" button makes life easier,

[Variables]
%ProvideFiles%=%GlobalTemplates%\apps\BlaBlaBla

[ProvideFilesFolder]
Call,OpenDir,%ProvideFiles%

 :thumbsup:
« Last Edit: January 04, 2016, 05:39:47 AM by Lancelot »

Re: Create "bin" script
« Reply #5 on: December 13, 2014, 08:41:41 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
edit: File Container option now available on Utils PC Packed,

no need to do anymore manual things


Quote
Hi anshad,

Let's call this a File Container plugin, or Plugin with File Container  :lol:. ( since bin means too many things, decision made to name that way ;) )


follow this route :
Giving with the example how
Apps\HD Tasks\"Active@ Partition Manager 3"
plugin prepared

on PC Packed:
point ActivePartitionManager3.7z
and executable PartMan.exe
Gooo

inside folder:
Projects\MyScripts\AppsMy\1Prepare\ActivePartitionManager3_PC.Script
+
open editor and change
Title=ActivePartitionManager3
to
Title=ActivePartitionManager3 - File
+
Level=5
to
Level=0
+
Selected=False
to
Selected=None
+
rename file to ActivePartitionManager3_PC_File.Script




than again (repeat) on PC Packed, Gooo
again inside folder
Projects\MyScripts\AppsMy\1Prepare\ActivePartitionManager3_PC.Script

open editor (over small green buton) for ActivePartitionManager3_PC.Script ( Title=ActivePartitionManager3 )
top->attachments
delete attached file ;)

add line to Variables section to bottom
[Variables]
...
%FileContainer%=%ScriptDir%\ActivePartitionManager3_PC_File.Script

at top of process section add line
[Process]
If,Not,ExistFile,%FileContainer%,Exit,"%FileContainer% Not Found"

and at Extract section change ExtractFile line
[Extract]
..
..
//ExtractFile,%ScriptFile%,Folder,%SetupFile%,%ProjectTemp%\TempExtractFolder\%ProgramFolder%
ExtractFile,%FileContainer%,Folder,%SetupFile%,%ProjectTemp%\TempExtractFolder\%ProgramFolder%
..
..

Dinner is ready  :pizza:

further cosmetics on this plugin  :great:







Additional Things (not mandatory) :
at FileContainer plugin
all lines under: [Interface] [Variables] [Process] sections can be removed (leave sections  :wink: )

and only one line at Process section
[Process]
Echo,"File Container"

 sections [Extract] [Launch_Program] can be totally removed,

with above, plugin will be cosmetically very FileContainer plugin at first look inside :wink:

+
Having a MyScripts project ( using "MyScripts Add" http://theoven.org/index.php?topic=193.0 ) would make life easier editorially ..


ps: MyScripts will be changed to MyPlugins one day, but I don't know when.....

***
Well, it was in mind to expand PC Packed and PC Innounp to do above automatically, but with timelessness and with low demand, and since it is easy to do manually, postponed to .....


I also added this question to FAQ
http://theoven.org/index.php?topic=834.0
Q: How to create a Plugin with File Container Plugin (attachment inside a 2nd plugin)

I hope above instruction goes smoothly there  :great:
-> I will modify this post with your further replies where necessary  :wink:


:turtle:
« Last Edit: February 18, 2015, 05:07:18 PM by Lancelot »

Re: Create "bin" script - File Container Plugin
« Reply #6 on: December 14, 2014, 09:34:24 AM »

anshad

  • Chef
  • ***
  • Date Registered: Apr 2012
  • Posts: 323
Hi Lancelot

I followed your instructions and it worked nicely as expected  :great:. I used "Paragon partition Manager 14" as my guinea pig (which is quiet heavy in size )  and succeeded on the very first attempt  :smile:. Thanks to you, learned something new today.

Re: Create "bin" script - File Container Plugin
« Reply #7 on: December 14, 2014, 12:32:46 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Hi anshad,

Thanks for feedback  :smile:  :great:



For paragon 14 plugin, I would like to update the old one ;)

Yomi\AppY\HD Tasks\Paragon_Partition_Manager_11.script

following http://theoven.org/index.php?topic=1057 , further with your feedback,

I feel 14 plugin will also be good example for work folder kind of plugin

check your pm  :wink:

Re: Create "bin" script - File Container Plugin
« Reply #8 on: January 01, 2015, 06:18:18 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Hi anshad,

I update Utils\PC Innounp plugin with FileContainer option  :thumbsup:
it will use FileContainer when file size is > 10 MB

side by side on other topic,
I download Active@ Partition Manager and now it is innounp (multiarchitecture) ;)

I create a new plugin with Utils\PC Innounp

and put to
Yomi\Apps\HD Tasks\Active@ Partition Manager 3.5


multiarchitecture innounp is hard to write from scratch,
with Utils\PC Innounp it is easier,
you just need to update
[Filesx86]
[Filesx64]
sections...

shortly:
+
Utils\PC Innounp
+
download and point PartManFree-Setup.exe
+
exe file PartMan.exe
+
Gooo => go to the created plugin:
+
hit green button
+
check files with your explorer on %ProjectTemp%\TempExtractFolder\%ProgramFolder%\%ProgramFolder%
+
update
[Filesx86]
[Filesx64]
sections...


once you practice you will see  :thumbsup:

ps: I will add one more to Utils\PC Innounp for that case  :wink: meanwhile have fun  :thumbsup:

:turtle:

Re: Create "bin" script - File Container Plugin
« Reply #9 on: January 01, 2015, 06:41:37 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
just updated to v23 with a minor useful addition ;)

:turtle:

Re: Create "bin" script - File Container Plugin
« Reply #10 on: January 01, 2015, 06:48:27 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
and v24 ..  :lol:
hopefully the end, further on your hands  :great:
:turtle:

Re: Create "bin" script - File Container Plugin
« Reply #11 on: January 01, 2015, 08:33:21 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
New
Utils\PC Innounp
Utils\PC Packed

now on server,

Utils\PC Packed now also have FileContainer feature  :thumbsup:


I feel that is enough to me on new year vocation  :wink:

Happy New Year
 :xmas-beer:
« Last Edit: January 01, 2015, 08:33:39 PM by Lancelot »

Re: Create "bin" script - File Container Plugin
« Reply #12 on: January 01, 2015, 08:36:00 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
btw,
also check
Utils\PC Provide Files

it now have a standlong .icon extraction feature, to create Logo for plugins easly  :thumbsup:

All these plugins also have "Example" button to demonstrate how to use them..

Have fun  :great:

:turtle:

Re: Create "bin" script - File Container Plugin
« Reply #13 on: January 01, 2015, 11:29:14 PM »

Prz42

  • Code Baker
  • Sr. Chef
  • ****
  • Date Registered: Jan 2014
  • Posts: 513
New
Utils\PC Innounp
Utils\PC Packed

now on server,

Utils\PC Packed now also have FileContainer feature  :thumbsup:
I guess I don't know where the server is http://win81se.cwcodes.net/projectindex.php,
http://yomi.cwcodes.net/, http://gena.cwcodes.net/projectindex.php, also I did
Update_BLexact_Win8.1SE and no version 24? Sorry for not getting with the program. :confused:

Re: Create "bin" script - File Container Plugin
« Reply #14 on: January 01, 2015, 11:47:14 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
on Gena server Mark  :thumbsup:

as written on FAQ, put all projects to same folder  :wink: this way updating and handing is easy,
After you have both projects on same folder, check
Gena\Utils\Share Plugins -> Share Plugins With button
best way  :great:

or conventional way  :wink:

...  :thumbsup:

Re: Create "bin" script - File Container Plugin
« Reply #15 on: January 02, 2015, 01:58:13 PM »

Galapo

  • Gena Baker
  • Grand Chef
  • *****
  • Location: Australia
  • Date Registered: Sep 2010
  • Posts: 2207
Wow, you've been busy! Great work. :transformer:

Regards,
Galapo.

Re: Create "bin" script - File Container Plugin
« Reply #16 on: January 02, 2015, 04:58:45 PM »

anshad

  • Chef
  • ***
  • Date Registered: Apr 2012
  • Posts: 323
Great work indeed  :thumbsup:. Can't wait to start playing with the new tools  :smile:.

Re: Create "bin" script
« Reply #17 on: January 02, 2015, 06:31:05 PM »

Prz42

  • Code Baker
  • Sr. Chef
  • ****
  • Date Registered: Jan 2014
  • Posts: 513
Hi Lancelot,
follow this route :
Giving with the example how
Apps\HD Tasks\"Active@ Partition Manager 3"
plugin prepared
on PC Packed:
point ActivePartitionManager3.7z
and executable PartMan.exe
Gooo
inside folder:
Projects\MyScripts\AppsMy\1Prepare\ActivePartitionManager3_PC.Script
+
open editor and change
Title=ActivePartitionManager3
to
Title=ActivePartitionManager3 - File
+
Level=5
to
Level=0
+
Selected=False
to
Selected=None
+
rename file to ActivePartitionManager3_PC_File.Script
than again (repeat) on PC Packed, Gooo
again inside folder
Projects\MyScripts\AppsMy\1Prepare\ActivePartitionManager3_PC.Script
open editor (over small green buton) for ActivePartitionManager3_PC.Script ( Title=ActivePartitionManager3 )
top->attachments
delete attached file ;)
add line to Variables section to bottom
[Variables]
...
%FileContainer%=%ScriptDir%\ActivePartitionManager3_PC_File.Script
at top of process section add line
[Process]
If,Not,ExistFile,%FileContainer%,Exit,"%FileContainer% Not Found"
and at Extract section change ExtractFile line
[Extract]
..
//ExtractFile,%ScriptFile%,Folder,%SetupFile%,%ProjectTemp%\TempExtractFolder\%ProgramFolder%
ExtractFile,%FileContainer%,Folder,%SetupFile%,%ProjectTemp%\TempExtractFolder\%ProgramFolder%
Additional Things (not mandatory) :
at FileContainer plugin
all lines under: [Interface] [Variables] [Process] sections can be removed (leave sections  :wink: )
and only one line at Process section
[Process]
Echo,"File Container"
 sections [Extract] [Launch_Program] can be totally removed,
with above, plugin will be cosmetically very FileContainer plugin at first look inside :wink:
I used your explaination and it work perfect :thumbsup:  I then went a step forward and
tried to add Archx64 with different name exe using some of the syntax from Pc Proved Files.
Needless I need a little help. :confused: The code is for TeraByte Image. The script ran in x64
but didn't create the short cut for imagew64.exe.  Thanks for all the help.
Code: [Select]
[Main]
Title=TeraByte
Type=script
Author=Mark
Description=(v2.9.2.0)
Credits=http://TheOven.org
Version=001
Download_Level=2
Level=5
Selected=True
Mandatory=False
NoWarning=False
Contact=http://TheOven.org
Date=2015.01.02
Depend=
Disable=
CertifiedBy=
Certification=
HistoryNotes=
History001='Plugin Creator' http://TheOven.org/index.php?topic=178
History002=

[Interface]
pBevel1=pBevel1,1,12,4,6,133,105
pCheckBox1="Desktop shortcut",1,3,8,10,122,18,True
pCheckBox2="Start Menu shortcut",1,3,8,29,122,18,True
pTextBox1="Start Menu folder:",1,0,11,85,119,18,"System Tools"
Image_Software=,1,5,142,44,301,223
ScrollBox_RunFromWhere="Run from RAM",1,4,143,6,130,21,"Run from Normal","Run from RAM","Run from CD"
Button_Launch_Program=Launch,1,8,13,207,80,25,Launch_Program
pWebLabel1=HomePage,1,10,20,283,200,18,
pWebLabel2="Plugin Page",1,10,20,267,200,18,http://TheOven.org/index.php?board=9

[Variables]
%ProgramTitle%=TeraByte
%ProgramEXE%=Imagew.exe
%ProgramEXEx64%=Imagew64.exe
%ProgramFolder%=TeraByte
%SetupFile%=%SetupFilex86%
%SetupFilex86%=TeraByte.7z
%FileContainer%=%ScriptDir%\TeraByte_File.Script
%SetupFilex64%=

[Process]
If,Not,ExistFile,%FileContainer%,Exit,"%FileContainer% Not Found"
//Arch,x86|x64
Echo,"Processing %ScriptTitle%..."
//--
If,%SourceArch%,Equal,x64,Run,%ScriptFile%,PluginSetx64
StrFormat,REPLACE,%ScrollBox_RunFromWhere%,"Run from ","",%Here%
If,Not,%Here%,Equal,Normal,RunFrom,%Here%
//--
Run,%ScriptFile%,Extract
//--
If,Not,ExistDir,%Target_Prog%,DirMake,%Target_Prog%
If,ExistDir,%Target_Prog%\%ProgramFolder%,Shellexecute,Hide,cmd.exe,"/C rd /s /q #$q%Target_Prog%\%ProgramFolder%#$q"
If,ExistDir,%Target_Prog%\%ProgramFolder%,Call,DirDelete,%Target_Prog%\%ProgramFolder%
DirCopy,%ProjectTemp%\TempExtractFolder\%ProgramFolder%\%ProgramFolder%,%Target_Prog%
//--
If,%pCheckBox1%,Equal,True,Add_Shortcut,Desktop
If,%pCheckBox2%,Equal,True,Add_Shortcut,StartMenu,%pTextBox1%

[Launch_Program]
Call,HostOSArch
If,%HostOSArch%,Equal,x64,Run,%ScriptFile%,PluginSetx64

[Extract]
If,ExistDir,%ProjectTemp%\TempExtractFolder\%ProgramFolder%,Shellexecute,Hide,cmd.exe,"/C rd /s /q #$q%ProjectTemp%\TempExtractFolder\%ProgramFolder%#$q"
If,ExistDir,%ProjectTemp%\TempExtractFolder\%ProgramFolder%,Call,DirDelete,%ProjectTemp%\TempExtractFolder\%ProgramFolder%
DirMake,%ProjectTemp%\TempExtractFolder\%ProgramFolder%
ExtractFile,%FileContainer%,Folder,%SetupFile%,%ProjectTemp%\TempExtractFolder\%ProgramFolder%
ShellExecute,Hide,%Tools%\7z.exe,"x #$q%ProjectTemp%\TempExtractFolder\%ProgramFolder%\%SetupFile%#$q -y -o#$q%ProjectTemp%\TempExtractFolder\%ProgramFolder%\%ProgramFolder%#$q"

[Launch_Program]
Run,%ScriptFile%,Extract
Call,Start,,%ProgramEXE%,,%ProjectTemp%\TempExtractFolder\%ProgramFolder%\%ProgramFolder%

[AuthorEncoded]
Logo=imagew_0_048048.ico
imagew_0_048048.ico=4412,5883

[EncodedFile-AuthorEncoded-imagew_0_048048.ico]
lines=1
0=eJzFWQlUVte1/tt0NSuv7ctr81a6krbPvMGmTVebqXlt4osxJu/FJE5xwhqtONcpDmhSrQPO8xjHOCIg8DOJgChOoDgDDqgMyiCIqKjgLMjZ+33fuf9PfxGUdK2mN+vkXM89/7nf/va39z7n4nJ9C/+98ooL/3/BFd7U5XrW5XL9Ag1DLn+XM84rsKnrG706d+78o65du7bq2LHjWNwHtW3bNqVLly6n/Pz8ijp16lSKZ4Xos9q1a7cT42swPhpjLT/99NN//maR/vXq0aPHM8AxpH379qnAexd4tF+/fjJq1CiZMmWKzpkzRxYsWCCLFi3SuXPnyowZM3TcuHEybNgw6dWrl8Iewe9udejQYVv37t39e/fu/YNvAne3bt1+CN7mAHcl3qnTp0+XiIgI2bNnjx4/flxOnTrFZu8zMzMlPT1dDxw4IGlpabp7925JTk6WzZs3a3BwsCxcuFA+//xzxXqC9S737NlzfOvWrf/p74W9T58+H4G3i8OHD1e3263EWVJSosXFxVpUVKQFBQ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create "bin" script
« Reply #18 on: January 02, 2015, 07:44:04 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Hi Mark,

no need above explanation anymore, it is done automatically now with latest PC Packed  :thumbsup:

assuming terabyte executables are under same folder,
what you ask for is available at
PC Provide Files - "MultiArch - MultiExe - SameFolder"

check how these lines inside arranged at PC Provide Files - "MultiArch - MultiExe - SameFolder"
If,%SourceArch%,Equal,x64,Run,%ScriptFile%,PluginSetx64
[PluginSetx64]
Set,%ProgramEXE%,%ProgramEXEx64%

paste them to your plugin  :wink:

 :thumbsup:
« Last Edit: January 02, 2015, 07:44:29 PM by Lancelot »

Re: Create "bin" script
« Reply #19 on: January 02, 2015, 09:58:57 PM »

Prz42

  • Code Baker
  • Sr. Chef
  • ****
  • Date Registered: Jan 2014
  • Posts: 513
Hi Lancelot,
PC Provide Files - "MultiArch - MultiExe - SameFolder"
check how these lines inside arranged at PC Provide Files - "MultiArch - MultiExe - SameFolder"
If,%SourceArch%,Equal,x64,Run,%ScriptFile%,PluginSetx64
[PluginSetx64]
Set,%ProgramEXE%,%ProgramEXEx64%
I did that before and went through the whole process again and got the same results.
The process of changing the source to x64 and refresh didn't have any success.
I then cleared out the temp folders and ran the project with the start button to have
WinBuilder do a new build and everything came out all right.  I guess changing from
x86 to x64 doesn't change it to source for testing.  It ran perfect with success!  :thumbsup:
Thanks for your complete write up and all the help.  I know this is too easy for you. :w00t:

 

Powered by EzPortal