Topic: Plugin Creator  (Read 29436 times)

0 Members and 1 Guest are viewing this topic.

Plugin Creator
« on: August 19, 2011, 04:17:14 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 7012
Plugin Creator (Packed):

"Hello World" creation of an application plugin and more  :smile:

ila_rendered


ila_rendered


ila_rendered

Now starting to create plugins for portable (packed) applications easy,
 just pack your application (.7z, .rar, .zip etc.)

New feature: Adding .cmd also available , with special features (editor, run from system32) see reply 39 http://theoven.org/index.php?topic=178.msg13633#msg13633

follow 3 steps
and you will quickly get your plugin.

To demonstrate (example):
Hit Example button , than Hit Goo button

Latest version available on Gena and SE projects

Have fun  :cheers:

***
This is the Main Plugin creator that is used to create Apps plugins of all projects  :great:





******
Delay option added
See Reply 75 here
http://TheOven.org/index.php?topic=178.msg22839#msg22839


******
MultiArchitecure support Added
Giving Example with  http://www.nirsoft.net/utils/driverview.html
Select "MultiArch - SameExe - Different Folder" at top
driverview.zip
DriverView.exe
Gooo
==> at created plugin
*
Attach driverview-x64.zip to Folderx64

change lines:
%SetupFilex64%=driverview.zip
-->
%SetupFilex64%=driverview-x64.zip

//Set,%FArch%,x64
-->
Set,%FArch%,x64

You have a working Multi Architecture Plugin  :smile:



More:
for situation
"MultiArch - MultiExe - SameFolder"
ex: Total Commander
%ProgramEXEx64%=%ProgramEXE%
-->
%ProgramEXEx64%=totalcmd64.exe

%ProgramFolderx64%=%ProgramFolder%_x64
-->
%ProgramFolderx64%=%ProgramFolder%


Other MultiArthitecture situations are also can be made by similar minor touchs  :thumbsup:
Info will be given when someone asks in time  :great:


Also:
Plugin Creator Innounp: at reply 1 of current topic
Plugin Creator Provide File plugin: http://TheOven.org/index.php?topic=1119

Old Plugins:
Plugin Creator Packed MultiArch: at reply 1 of current topic (Depricated PC Packed now support MultiArch)
Plugin Creator Method Pack: at reply 3 of current topic
these are old plugins (not updated), but codes inside would be useful

"SinglePackage MultiArchitecture Multiexename" plugin - reply 7 here:
http://theoven.org/index.php?topic=1120.msg12937#msg12937
and for splitting architectures see reply 12

Now PC Packed both have multiachitecture support and File Container support.

Add:
Create a plugin for one.exe
http://theoven.org/index.php?topic=1663
Reply 5 here tutorial/demonstrate startup option of PC Packed (and others ;))
http://theoven.org/index.php?topic=365.msg6041#msg6041
Reply 9 here demonstrate creating plugin for GSmartControl (with sub folder exe)
http://theoven.org/index.php?topic=1181.msg13818#msg13818
Reply 5 here how to put files to desktop
http://theoven.org/index.php?topic=1214.msg14231#msg14231

Related Topics:
Plugin Creator Association Helper:
http://TheOven.org/index.php?topic=189.0
Plugin Create Utilities (painting):
http://TheOven.org/index.php?topic=186.0
MyPlugins Add:
http://TheOven.org/index.php?topic=193.0
Plugin Create Associate:
http://TheOven.org/index.php?topic=200.0
Plugin Creator OtherOS:
http://TheOven.org/index.php?topic=258
Plugin Creator New (Plain):
http://theoven.org/index.php?topic=199
« Last Edit: February 16, 2017, 12:01:56 AM by Lancelot »

Re: Script Creator
« Reply #1 on: August 19, 2011, 04:17:41 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 7012
Plugin Creator (Innounp):

We also have plugin creator for setups created with Innounp,

To demonstrate hit Example button

Latest version available at Gena and SE proejcts

++
Plugin Creator (Innounp) is multiarch aware, for such setup exe,
 you need to add some info to created plugin
   For multiarch innounp try PartManFree-Setup.exe - PartMan.exe (Active Partition manager)
    See reply 8
http://theoven.org/index.php?topic=1117.msg13321#msg13321

-> you can use same codes for wow64-x64 innounp (ex: Partition Wizard Home )



Plugin Creator (Packed) MultiArch:

It is a depricated plugin, codes inside maybe useful

Here is Plugin Creator for packed multiarchitecture utilities
* Script_Creator_10_Packed_MultiArch_v11.7z (691.17 kB - downloaded 660 times.)


To demonstrate,
Here are
hwmonitor_1.18-32bit.zip
* hwmonitor_1.18-32bit.zip (518.81 kB - downloaded 471 times.)
and
hwmonitor_1.18-64bit.zip
* hwmonitor_1.18-64bit.zip (624.4 kB - downloaded 424 times.)

Have Fun  :cheers:
« Last Edit: January 03, 2015, 11:53:45 PM by Lancelot »

Re: Script Creator
« Reply #2 on: August 19, 2011, 02:30:38 PM »

sLiM

  • Diner
  • Jr. Chef
  • *
  • Date Registered: Jun 2011
  • Posts: 41
Thanks.

Will have to give these a try.    :thumbup:

Edit:  Your scripts work easily and save time.

:book:
« Last Edit: August 21, 2011, 02:24:04 AM by sLiM »

Re: Script Creator
« Reply #3 on: August 22, 2011, 03:55:06 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 7012
Plugin Creator Method Pack:

This is a depricated plugin,
codes inside maybe useful  :thumbsup:

This is a plugin that combines popular methods "Packed" and "Innounp",
and adds other methods of Setup Extractions.

Well you need to be "qualified" enough to choose the method,
(with other words: for advanced plugin authors)
Check "Universal Extractor",
also check homepage of application (and google) to figure out
if author already provide a self extraction method with a switch. (ex: tccle.exe /extract)


E_Wise_W example: * YC3Setup.7z (1090.54 kB - downloaded 289 times.)
(Extract YC3Setup.exe from YC3Setup.7z)
ProgramExe: YankClip.exe


Verrry Related:
Universal Extractor
http://legroom.net/software/uniextract
You can find "Universal Extractor" script at Gena\File Tasks\Compression\ with a launch button

Important:
Due to less popularity of "Method Pack" plugin, methods of other plugins not regularly updated
shortly:
use relevant plugins of methods where available (PC Packed , PC Innounp, PC MultiArch)
and
only use "Method Pack" plugin for "E_Wise_W"

ps: Yes, one day maybe I can unite them all to maintain easier  :wink:

dl4=41-dl5=5
« Last Edit: January 03, 2015, 09:55:58 PM by Lancelot »

Re: Script Creator
« Reply #4 on: August 22, 2011, 07:17:56 AM »

sLiM

  • Diner
  • Jr. Chef
  • *
  • Date Registered: Jun 2011
  • Posts: 41
Quote
new scripts availabe with "Test" feature   :cheers:

Looks good. I be trying it out later today.

Thanks.

Re: Script Creator
« Reply #5 on: August 22, 2011, 08:18:59 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 7012
Hi sLiM,

To clear things happened here
http://theoven.org/index.php?topic=186.msg3217#msg3217

"Script Creator" scripts, only create scripts up to a point, it can not find dependencies for you.

inside codes there is a comment out line
Quote
//Dependencies
that points a nice place to add dependencies.

Giving example from the other topic, script creator will create following [Process] section


Quote
[Process]
Arch,x86
Echo,"Processing %ScriptTitle%..."
StrFormat,REPLACE,%ScrollBox_RunFromWhere%," ","",%runfrom%
If,Not,%runfrom%,Equal,Rundefault,%runfrom%,True
//--
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%,Echo,"Directory NOT DELETED",WARN
DirCopy,%ProjectTemp%\TempExtractFolder\%ProgramFolder%\%ProgramFolder%,%Target_Prog%
//--
//Dependencies
//--
If,%pCheckBox1%,Equal,True,Add_Shortcut,Desktop
If,%pCheckBox2%,Equal,True,Add_Shortcut,StartMenu,%pTextBox1%
If,%pCheckBox3%,Equal,True,Add_Shortcut,QuickLaunch

and if you have dependencies you add lines manually,
since Zzoom and ColorConvertor are 32bit applications that requires crtcll.dll
==>

Quote
[Process]
Arch,x86
Echo,"Processing %ScriptTitle%..."
StrFormat,REPLACE,%ScrollBox_RunFromWhere%," ","",%runfrom%
If,Not,%runfrom%,Equal,Rundefault,%runfrom%,True
//--
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%,Echo,"Directory NOT DELETED",WARN
DirCopy,%ProjectTemp%\TempExtractFolder\%ProgramFolder%\%ProgramFolder%,%Target_Prog%
//--
//Dependencies
Set,%PluginArch%,x86
Require_FileQ,Crtdll.dll

//--
If,%pCheckBox1%,Equal,True,Add_Shortcut,Desktop
If,%pCheckBox2%,Equal,True,Add_Shortcut,StartMenu,%pTextBox1%
If,%pCheckBox3%,Equal,True,Add_Shortcut,QuickLaunch


I hope all clear now.  :thumbsup:

 :cheers:
« Last Edit: November 17, 2011, 11:32:40 AM by Lancelot »

Re: Script Creator
« Reply #6 on: August 22, 2011, 10:44:10 AM »

sLiM

  • Diner
  • Jr. Chef
  • *
  • Date Registered: Jun 2011
  • Posts: 41
Lancelot,

I follow you what you say about using Script Creator. I understand and use it that way. I had too many downloads and some were downloaded to a different place where I did not miss them.  Now, I understand that I need separate (matching) scripts at L5 and that this is where I adjust the dependencies. At first I thought your programs were small, and that they were coded into Script Creator Utility. I wasn't familiar with them and I didn't know that they were not complete. After searching, I found the lost download containing the three small scripts that I needed.

Thanks,
:book:

Re: Script Creator
« Reply #7 on: August 22, 2011, 01:56:04 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 7012
sLiM,

   
"Script Create Utilities (painting)" script is complete script  :thumbsup: I do not expect further updates in near time  :great:

"Script Creator" scripts (Script_Creator_10_Packed.script & Script_Creator_Innounp.script) are working scripts, and would be improved in time following end user response (like in all).
Like now,  :whistling: I added some commented-out lines to the creation of new scripts to avoid confusions and help  :great: (updated on server)




Further:
Embedding Logo (.ico) automatically is on the way, probably tomorrow  :thumbsup:
After that nothing left to do on my side with these 2 scripts  :great:

Later another (3rd) script (Script_Creator_10_Packed_MultiArch.script) to create multiarchitecture scripts easly :turtle:




The goal of these scripts are to get initial steps of script creation fast, easy, tidy and working..
I had been making copy-paste from my personal templates in the past, it is now very easy to me too.

After creating a working script, playing further is much more easier,
changing script filename if desired,
changing
[Variables]
%ProgramTitle%=
%ProgramFolder%=
values if desired,
adding dependencies (if required), registry lines (if required or desired) and additional options (ifff required or desired).

Rest All up to the utility you are making script, and options you want to have.


Generally, making scripts for small portable applications (ex: paf) are quite straight forward, and very easy with "script creator", sometimes with writing some dependencies, things goes smoothly.  :great:

ps: paf at last (after years) improved its portable executer application, on latest releases it checks its environment writable or not, and do things further, not requiring my workarounds. :wink:






Here is another tip:
as you know new scripts are created at \Apps\1Prepare\
after creating and making initial adjustments,
copy script file to .....\Projects\MyScripts\AppsMy\HD Tasks\
(approriate subfolder, \HD Tasks\ is only do demonstrate)
Than at "Utils\Share Scripts" click 'Get links from'.

This would get your script operational on your project (Gena) ex: Gena\AppsMy\HD Tasks\-->

Reason behind:
It is much more secure and tidy to put your custom scripts away from project folder (...\Projects\Gena.....)
by using ...\Projects\MyScripts you already tidy up which scripts are your custom ones (none project scripts)
and in case required (and after you are away a while, be sure you will require, experience  :whistling:), you will not be effected by deleting all ...\Projects\Gena\  (probably to download new, clean, after sometime passed)

Also, you get your passwords secure too, follow JonF post http://theoven.org/index.php?topic=90.0

 :cheers:
« Last Edit: August 22, 2011, 01:58:26 PM by Lancelot »

Re: Script Creator
« Reply #8 on: August 22, 2011, 04:04:32 PM »

sLiM

  • Diner
  • Jr. Chef
  • *
  • Date Registered: Jun 2011
  • Posts: 41
Lancelot,

Ambitious project.  :smart:  Working smoothly at the moment. 

Thanks,
:book:

« Last Edit: August 23, 2011, 03:47:08 AM by sLiM »

Re: Script Creator
« Reply #9 on: August 24, 2011, 08:39:03 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 7012
New scripts on server,

Now have auto logo adding option (Thanks to BlueLife).
And some other enhancements.

If the logo automatically added do not fit for any reason,
Use one of icon utilities here (Currently: IcoFX or Extract Icon Tool)
http://theoven.org/index.php?topic=186.0


At this point, all design features in my mind ended.  :cheers:

Re: Script Creator
« Reply #10 on: August 24, 2011, 11:30:50 PM »

ChrisR

  • Win7PE SE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 2809
Hi Lancelot,

Thank you for the collection of Script Creator,  packed, innoup, Associate and Utilities  :thumbsup:
happy to discover Extract Icon Tool, I used mainly IcoFx.

I am sure that users will enjoy them  :great:

Re: Script Creator
« Reply #11 on: August 25, 2011, 04:38:36 AM »

sLiM

  • Diner
  • Jr. Chef
  • *
  • Date Registered: Jun 2011
  • Posts: 41
Lancelot,

New Script Creator (Packed) is finding icons - no problem.  I see it needs single files zipped too.
Your whole "Script Creation Package"  is great, working well and... a huge help for people like me.

Thanks for sharing.  :1st:

Re: Script Creator
« Reply #12 on: August 25, 2011, 08:48:36 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 7012
Hi All,

Thanks :hi:

As mentioned before, a script creator for packed multiarch packages (x86 and x64) is at "reply 1".

I guess that is all for now, There are lots of different script creator scenarios I am aware, better wait for requests etc.,
besides current ones would mostly ease the new user making own scripts  :thumbsup:, and personally they will help me a lot at start of writing a new script.  :great:

See you.  :cheers:
« Last Edit: August 25, 2011, 08:50:02 AM by Lancelot »

Re: Script Creator
« Reply #13 on: August 27, 2011, 07:07:04 AM »

sLiM

  • Diner
  • Jr. Chef
  • *
  • Date Registered: Jun 2011
  • Posts: 41
Lancelot,

I've been trying to test Script Creator (Packed) MultiArch script. I downloaded hwmonitor.zip but when I try to test it I receive file not found error message. I have tried Gooo button and Test button, but even when I browse to the file I get the same message. I've tried many times, but always file not found.

No luck with associations, yet. I may not be filling in the information correctly.  Can you tell me what should I fill in for these three fields?

Associate RegKey
Open RegKey Name
open command

I've attempted simple associations several times, but no success.

Re: Script Creator
« Reply #14 on: August 27, 2011, 02:00:18 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 7012
Hi sLiM,

*
association: check here http://theoven.org/index.php?topic=189

*
Script Creator (Packed) MultiArch:
you must point both (x86 and x64) packed files at step 1.
ex:
.....hwmonitor_1.18-32bit.zip
.....hwmonitor_1.18-64bit.zip
ex:
.....blabla1.7z
.....blabla2.7z
ex:
.....pirapirax86.7z
.....pirapirax64.7z

 If one not found, than "file not found"

Re: Script Creator
« Reply #15 on: August 28, 2011, 03:53:26 AM »

sLiM

  • Diner
  • Jr. Chef
  • *
  • Date Registered: Jun 2011
  • Posts: 41
Lancelot,

Yep, only downloaded 32 bit.
Working well.

Thanks,
:book:
« Last Edit: August 28, 2011, 04:05:06 AM by sLiM »

Re: Script Creator
« Reply #16 on: August 29, 2011, 04:01:40 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 7012
Script Creator Scripts updated (Package and Innounp at server, MultiPack at post2)

Functionality not changed,
* Main Improvment: Scripts now created at "MyScripts" and linked to project, protecting end user delete scripts accidentally via deleting project folder etc.... :thumbsup:
* and a small template (T) button get template easly for advanced scripts authors.

Also related, MyScripts Add: http://theoven.org/index.php?topic=193.0

 :cheers:

Re: Script Creator
« Reply #17 on: August 30, 2011, 04:36:05 AM »

sLiM

  • Diner
  • Jr. Chef
  • *
  • Date Registered: Jun 2011
  • Posts: 41
Lancelot,
 
A little short on time right now, but your "Script Creator" scripts are saving much time.

Thanks for the new updates.

:book:

Re: Script Creator
« Reply #18 on: September 04, 2011, 12:42:03 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 7012
Script Creator Scripts updated (Package and Innounp at server, MultiPack at post2)

changes:
+ Author box
+ Startup option (following maanu request)

Tips:
+ Startup option required rarely, like for MultiRes, Rainlander... do not unneccessarly provide such option on scripts, it would mix end users mind.
+ If you plan to use with batch file (.cmd), follow batch advice about cd /d %~dp0 here  http://theoven.org/index.php?topic=50.0

 :cheers:

edit:
now latest versions also attached to initial posts
« Last Edit: September 19, 2011, 10:28:56 PM by Lancelot »

Re: Script Creator
« Reply #19 on: October 15, 2011, 11:46:23 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 7012
Script_Creator_Innounp.script updated to v8, at reply 1 above

We have new "Script Creator Method Pack" script at reply 3 above,
In time "Script Method Pack" will expand more when I meet utilities that require new methods

 :cheers:

edit:
Script_Creator_Innounp.script updated to v9, at reply 1 above
"Script Creator Method Pack"updated to v2, at reply 3 above
« Last Edit: October 16, 2011, 11:55:08 AM by Lancelot »

 

Powered by EzPortal