Topic: Provide Files - Plugin  (Read 6690 times)

Provide Files - Plugin
« on: December 14, 2014, 09:46:07 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
ila_rendered

New Provide Plugin is now available at Utils\PC Provide Files
Latest version available on Gena and SE projects

It creates a plugin with 'Provide Files' button,

I try to give popular situations with some Types,
Normal
SubExe
"MultiArch - MultiExe - SameFolder"
"MultiArch - SameExe - DifferentFolder"
"MultiArch - SameExe - DifferentFolder - SubExeFolder"



Normal
 --> Most of your plugins ;) that has one exe which mostly is x86

SubExe
 --> ProgramEXE is under a %ProgramFolder%\subfolder , Example Easus put its .exe under \bin
I practice an example with BlueScreenView

"MultiArch - MultiExe - SameFolder"
 --> 2 different named executables, Example TotalCommander, HWMonitor ( HWMonitor_x32.exe, HWMonitor_x64.exe)

"MultiArch - SameExe - DifferentFolder"
 --> like Nirsoft utilities , DriverView.exe available both x86 and x64

"MultiArch - SameExe - DifferentFolder - SubExeFolder"
 --> like Acronis, they use same folder (Acronis) and different subfolder for their products (ex: DiskDirector)
I practice an example with DevManView using Nirsoft main folder ;) \NirSoft\DevManView\DevManView.exe


on provide "Provide Plugin" interface,
Choose Type
Choose New file name
Goooo

It will give you a Plugin Template which you can easly modify to your needs. Read HistoryNotes ...

Further There is "Example" button that will give you working example of plugin types
 (it will extract provided files for the examples ;) )

***
Icon:
+
Plugin now have option to add Plugin Logo (Optional .exe location)
+
This option also is standalone,
 after pointing to .exe file,
  you can extract .ico of executables with 'rounded green play' button..
Useful if you want to add logo later  :wink:




"Pack To Desktop" button creates 7z archive to desktop, if there is same file previously it deletes without asking  :wink:
ps: You may need to refresh desktop ( press keyboard F5 ) to see archive on desktop.
It will give you chance to share plugin+files with others

ps: I could not figure out if it is possible to add files to 7z archive under \Workbench\Common subfolder , which I feel would ease instruction..


I can not cover all situations,
 besides I hope these "Plugin Creator" s helps starting new plugins easly with proper syntax.  :thumbsup:

ps:
See Infos/Links on
Plugin Creator Packed http://theoven.org/index.php?topic=178.0 topic
Plugin Creator Packed is the main plugin creator of projects, provide infos with all links from there

:turtle:
« Last Edit: January 04, 2015, 08:12:08 AM by Lancelot »

Re: Provide Files - Plugin
« Reply #1 on: December 14, 2014, 09:46:15 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Simple method depricated, old topic post and reply saved here.


old topic post
Code: [Select]
[quote author=Lancelot link=topic=1119.msg12886#msg12886 date=1418593567]
Hi All,

Reminding: use Utils\"PC Packed" to create simple plugins, it creates single plugin file, portable, easly distributable and usable plugin.
Most of the Apps plugins around are single plugins.

"Provide Files - Plugin" and previously mentioned "File Container - Plugin" are methods created to overcome situations that a single plugin (ex:plugins created with "PC Packed" ) can not handle.


Here is the story:
After anshad topic about "File Container plugin" with reply 5 instruction,

I decide to create a "Provide File plugin template"

It would hopefully ease creating plugins where files desired to be out and open,
like undistributable , or frequently changing files for whatever reason, etc.


In addition:
I create "Pack To Desktop" button, to ease sending plugin [u]with files[/u] easly,
 unlike "File Container plugin" you need to instruct copying files to \Workbench\Common subfolder  :wink:

"Pack To Desktop" button creates 7z archive to desktop, if there is same file previously it deletes without asking  :wink:
ps: You may need to refresh desktop ( press keyboard F5 ) to see archive on desktop.

ps: I could not figure out if it is possible to add files to 7z archive under \Workbench\Common subfolder , which I feel would ease instruction..


There is also HistoryNotes inside plugin for some additional Provide Files tasks
+ Providing files under a sub-sub folder (you may need to put some additional files not to be processed by plugin)
+ A small note about none x86 plugins
+ Multiple Architecture usage (ex: so you provide files for both x86 and x64 of an application under provide files - sub folder)
Tip: never use same folder name on Multiple Architecture plugins  :wink: instruction already made to avoid that..


That is all, I hope you like  :thumbsup:

I wish this plugin helps more plugins around, since there will be no undistributables inside  :cool: besides would provide useful app specific additions (registries, requirements, instructions etc..) ...

Next post with a step by step example  :great:

:turtle:
[/quote]


Old reply 1
Code: [Select]
Giving example with A43 FileManager application (attached)


Copy
ProvideFiles Template.Script
with name
A43_ProvideFiles.Script

inside plugin change
Title=A43 - ProvideFiles

copy plugin to an Apps folder, refresh or restart builder

inside plugin:

%ProgramTitle%=BlaBla
->
%ProgramTitle%=A43

%ProgramEXE%=BlaBla.exe
->
%ProgramEXE%=A43.exe

%ProgramFolder%=BlaBla_Folder
->
%ProgramFolder%=A43_Manager


Than on interface, hit "Provide Files" button,
put a43 files

Dinner ready :pizza:


On your plugins, required files or registry, informations on interface etc.. up to you  :thumbsup:


Further cosmetics, you can disable buttons if not desired, sometimes Launch not desired  :wink: etc. etc.....


Keep in mind: It is much better to create "A43 application" plugin with Utils\"PC Packed" , since A43 small sized, distributable, it is much more easier to handle a single plugin. Here example given with A43 only to demonstrate easly.


:turtle:


« Last Edit: December 30, 2014, 08:42:45 PM by Lancelot »

Re: Provide Files - Plugin
« Reply #2 on: December 15, 2014, 12:03:59 AM »

vercetti757

  • Jr. Chef
  • **
  • Date Registered: Dec 2014
  • Posts: 19
Thank you Lancelot! This looks very promising and easier than the methods I have currently been using. I hope to be able to test this plugin with my current Build over the next couple days and respond back with the results!  You are a Gem to this forum and dev community Lancelot! :thumbsup:

Re: Provide Files - Plugin
« Reply #3 on: December 15, 2014, 02:55:16 AM »

Lancelot

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

just updated plugin with some small additions  :wink:

I hope it goes well, I did not check extensively  :xmas-beer:

:turtle:

Re: Provide Files - Plugin
« Reply #4 on: December 15, 2014, 06:04:07 PM »

anshad

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

I just checked the new "Provide files" plugin and it seems to work okay as expected  :thumbsup:.

 Btw, you should consider changing the username to Lance"lot"  :grin:.

Re: Provide Files - Plugin
« Reply #5 on: December 15, 2014, 07:54:53 PM »

Lancelot

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

I made a little improvment,
Version_Template=003 added
[Pack] section improved to secure deleting file

See You
:turtle:

Re: Provide Files - Plugin
« Reply #6 on: December 30, 2014, 09:32:40 PM »

Lancelot

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

New Provide Files now on Gena server
Utils\PC Provide Files
further maybe on others ...

See Topic post  :thumbsup:

I hope this will ease creating and sharing provide file type plugins  :thumbup:

:turtle:
« Last Edit: December 30, 2014, 09:33:18 PM by Lancelot »

 

Powered by EzPortal