Topic: Plugin Creator (PC Packed)  (Read 68506 times)

Re: Script Creator
« Reply #20 on: October 17, 2011, 02:48:01 PM »

gbrao

  • Chef
  • ***
  • Date Registered: Sep 2011
  • Posts: 258
option to associate a file extension with the program would be nice.

Re: Script Creator
« Reply #21 on: October 17, 2011, 07:04:00 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
option to associate a file extension with the program would be nice.

Script Creator (Packed):
.....................
Related Topics:
Script Creator Association Helper
http://theoven.org/index.php?topic=189.0
Script Create Utilities (painting)
http://theoven.org/index.php?topic=186.0
MyScripts Add:
http://theoven.org/index.php?topic=193.0

Re: Script Creator
« Reply #22 on: October 18, 2011, 07:29:21 AM »

gbrao

  • Chef
  • ***
  • Date Registered: Sep 2011
  • Posts: 258
thanks, lots of hidden treasures here !

Re: Script Creator
« Reply #23 on: November 17, 2011, 09:28:35 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Script_Creator_10_Packed.script
Script_Creator_10_Packed_MultiArch.script
Script_Creator_Innounp.script
Script_Creator_uz50_Method_Pack.script

updated  :cheers:

Re: Script Creator
« Reply #24 on: November 09, 2012, 01:08:23 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Script Creator Packed  ( SC Packed )
updated to v10

with new feature 'Point Folder'  :thumbsup: :thumbsup:

==> so no need to Pack before  :wink: , Pack task now done automatically  :thumbsup:
« Last Edit: November 09, 2012, 01:09:08 PM by Lancelot »

Re: Script Creator
« Reply #25 on: November 11, 2012, 11:19:24 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Script Creator Packed  ( SC Packed )
updated to v11

with new sub feature for startup option, 'hide'   :thumbsup: :thumbsup:

Useful for your batches (.cmd) to start and hide at startup  :thumbsup:

ps: Gena users better have Gena\Basic\"EnvironmentPE" v8 and above  :wink:

:ymca:

Re: Script Creator
« Reply #26 on: December 31, 2012, 11:19:10 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
PC Packed
updated to v14
* Auto-FileVersion to Description + Macro Library Code update

PC Packed MultiArch
updated to v9
*Auto-FileVersion to Description + Macro Library Code update

PC Innounp
updated to v15
*Auto-FileVersion to Description + Macro Library Code update
*Added Support to multiarch innosetups   (icon + specialized macro for multiarch-innosetup)



More Info to Plugin Authors :

Support to multiarch innosetups is significant enhancement,
since their number increases everyday  :wink:

To test,
1)
use "Partition Guru Free" (currently: PGFreeSetup420.exe with programexe PartitionGuru.exe)
A ready "Partition Guru Free" plugin available at \Yomi\AppY\HD Tasks -- http://theoven.org/index.php?topic=175.0

since "Partition Guru Free" is pure (not wow64) application, writing plugin will be straightforward

2)
On the other hand, there are wow64 innosetups,
Typical example: "EASEUS Partition Master"
which like manny, have x64 drivers (+some exe, dll) leaving main utility x86
After creating with "SC Innounp" (currently: epm.exe with programexe bin\epm0.exe)
You can use "TM" button on "SC Innounp" interface to get ready macros/lines already designed for x64 case  :wink:
(which helps creating innounp lines easier and readable)
A ready "EASEUS Partition Master Home" plugin available at \Yomi\AppY\HD Tasks -- http://theoven.org/index.php?topic=175.0




Shortly:
Now it is very easy to create an Innounp MultiArch plugin  :lol: :thumbsup:

Happy New Year
 :xmas-beer:
« Last Edit: May 29, 2013, 08:40:54 PM by Lancelot »

Re: Script Creator
« Reply #27 on: January 17, 2013, 08:48:57 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
PC Packed
updated to v15
(available at topic post)

PC Packed MultiArch
updated to v10
(available at reply 1)

PC Innounp
updated to v16
(available at reply 1)

**
updated RunFrom generator + better syntax  :great: :great: :great: :great:


Finally:
Things now very stable with Latest Macro Library,
 now looking more forward to create enhancements  :thumbsup:  with available time :turtle:
« Last Edit: May 29, 2013, 08:40:33 PM by Lancelot »

Re: Plugin Creator
« Reply #28 on: January 07, 2015, 05:02:29 PM »

Lancelot

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

Plugin Creator (Packed) updated now with MultiArchitecture support,
(currently on Gena server)

An example given at first post:

******
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:


Further,
in fact other kind of MultiArchitectures can also be made,
 Giving example with Total Commander (single zip, different named exe),
   after creating plugin only changing
%ProgramEXEx64%=
    would be enough

There are too many Combinations of MultiArchitecture distributions,
 At least Current feature will help starting a MultiArchitecture plugin easy,
  further only changing some lines enough...

Happy New Year
:turtle:

Re: Plugin Creator
« Reply #29 on: January 08, 2015, 09:15:42 PM »

Prz42

  • Code Baker
  • Sr. Chef
  • ****
  • Date Registered: Jan 2014
  • Posts: 513
Hi Lancelot,
Plugin Creator (Packed) updated now with MultiArchitecture support,
(currently on Gena server)
I made a new Disk Director Plug-in using several source of information.  I don't know if it is compliant?
Code: [Select]
[Main]
Title=Acronis Disk Director 12
Type=script
Author=Mark
Description=(v12.0.0.3223)
Credits=ChrisR
Version=001
Download_Level=2
Level=5
Selected=True
Mandatory=False
NoWarning=False
Contact=http://TheOven.org
Date=2015.01.07
Depend=
Disable=
CertifiedBy=
Certification=
HistoryNotes=
History001=Built
History002=

[Interface]
pBevel1=pBevel1,1,12,3,5,133,105
pCheckBox1="Desktop shortcut",1,3,9,9,122,18,True
pCheckBox2="Start Menu shortcut",1,3,8,48,122,18,True
pCheckBox3="Quicklaunch shortcut",1,3,8,29,122,18,False
pTextBox1="Start Menu folder:",1,0,11,85,119,18,"HD Tasks"
Image_Software=,1,5,141,37,218,74
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,18,286,80,25,Launch_Program,_Launch_Program_,False
pWebLabel1=HomePage,1,10,293,9,51,18,http://www.acronis.com/en-us/personal/disk-manager/
pTextBox_SNr=Serialnr:,1,0,3,240,409,21,"  7  1 13 27  4 13 17 19120 22 25 25 17 22108 97 12120  1 16108 17 98  3 13  5120  4 23 20 98 98 30 97109120 24103 24 15  2 27 96108120109103 96 15 13 19109 96120 31 15  1  1 29103 27  0120 98 22109103  1 18 96 27"
pTextLabel_NoteSnr="Put Serialnr. from installed Version Registry key (with all spaces):  #$qHKEY_LOCAL_MACHINE\SOFTWARE\Acronis\DiskDirector#$q #$qenterprise#$q",1,1,19,191,356,28,8,Normal
pButton_import="Import installed key",1,8,117,145,143,25,pButton_import,0,True,False,_pButton_import_,True
pTextLabel_import="If install AcronisDD on this Build-PC you can import Serialnr. to script",1,1,19,122,336,18,8,Normal
pBevel2=pBevel2,1,12,6,117,353,58
pBevel4=pBevel4,1,12,283,6,75,27
pBevel5=pBevel5,1,12,5,182,380,42

[Variables]
%ProgramTitle%=Acronis Disk Director 12
%ProgramEXE%=DiskDirector.exe
%ProgramFolderR%=Acronis
%ProgramFolder%=%ProgramFolderR%\DiskDirector
%SetupFile%=DiskDirector.7z
%FileContainer86%=%ScriptDir%\DiskDirector_12_x86_File.Script
%FileContainer64%=%ScriptDir%\DiskDirector_12_x64_File.Script

[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%
If,%SourceArch%,Equal,x86,ExtractFile,%FileContainer86%,Folder,%SetupFile%,%ProjectTemp%\TempExtractFolder\%ProgramFolder%
If,%SourceArch%,Equal,x64,ExtractFile,%FileContainer64%,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"

[Process]
Echo, Processing %ProgramTitle%...
If,%pCheckBox1%,Equal,True,Add_Shortcut,Desktop
If,%pCheckBox2%,Equal,True,Add_Shortcut,StartMenu,%pTextBox1%
If,%pCheckBox3%,Equal,True,Add_Shortcut,QuickLaunch
//--
If,%SourceArch%,Equal,x86,Begin
  Run,%ScriptFile%,CopyFiles_x86
  Run,%ScriptFile%,WriteSettings
End
If,%SourceArch%,Equal,x64,Begin
  Run,%ScriptFile%,CopyFiles_x64
  Run,%ScriptFile%,WriteSettings
End

[CopyFiles_x86]
Echo,"Copying Files to Folders..."
If,Not,ExistFile,%FileContainer86%,Exit,"%FileContainer86% Not Found"
//--
Echo,"Processing %ScriptTitle%..."
StrFormat,REPLACE,%ScrollBox_RunFromWhere%,"Run from ","",%Here%
If,Not,%Here%,Equal,Normal,RunFrom,%Here%
//--
Run,%ScriptFile%,Extract
//--
If,Not,ExistDir,%Target_Prog%\%ProgramFolderR%,DirMake,%Target_Prog%\%ProgramFolderR%
If,ExistDir,%Target_Prog%\%ProgramFolderR%,Shellexecute,Hide,cmd.exe,"/C rd /s /q #$q%Target_Prog%\%ProgramFolder%#$q"
If,ExistDir,%Target_Prog%\%ProgramFolderR%,Call,DirDelete,%Target_Prog%\%ProgramFolder%
DirCopy,%ProjectTemp%\TempExtractFolder\%ProgramFolder%\%ProgramFolder%,%Target_Prog%\%ProgramFolderR%
ExtractFile,"%ScriptFile%",Drivers_x86,"snapapi.dll","%Target_Sys%",NOWARN
ExtractFile,"%ScriptFile%",Drivers_x86,"ramdrv.sys","%Target_Sys%\Drivers",NOWARN
ExtractFile,"%ScriptFile%",Drivers_x86,"fltsrv.sys","%Target_Sys%\Drivers",NOWARN
ExtractFile,"%ScriptFile%",Drivers_x86,"snapman.sys","%Target_Sys%\Drivers",NOWARN
//--

[CopyFiles_x64]
Echo,"Copying Files to Folders..."
If,Not,ExistFile,%FileContainer64%,Exit,"%FileContainer64% Not Found"
//--
Echo,"Processing %ScriptTitle%..."
StrFormat,REPLACE,%ScrollBox_RunFromWhere%,"Run from ","",%Here%
If,Not,%Here%,Equal,Normal,RunFrom,%Here%
//--
Run,%ScriptFile%,Extract
//--
If,Not,ExistDir,%Target_Prog%\%ProgramFolderR%,DirMake,%Target_Prog%\%ProgramFolderR%
If,ExistDir,%Target_Prog%\%ProgramFolderR%,Shellexecute,Hide,cmd.exe,"/C rd /s /q #$q%Target_Prog%\%ProgramFolder%#$q"
If,ExistDir,%Target_Prog%\%ProgramFolderR%,Call,DirDelete,%Target_Prog%\%ProgramFolder%
DirCopy,%ProjectTemp%\TempExtractFolder\%ProgramFolder%\%ProgramFolder%,%Target_Prog%\%ProgramFolderR%
ExtractFile,"%ScriptFile%",Drivers_x64,"snapapi.dll","%Target_Sys%",NOWARN
ExtractFile,"%ScriptFile%",Drivers_x64,"ramdrv.sys","%Target_Sys%\Drivers",NOWARN
ExtractFile,"%ScriptFile%",Drivers_x64,"fltsrv.sys","%Target_Sys%\Drivers",NOWARN
ExtractFile,"%ScriptFile%",Drivers_x64,"snapman.sys","%Target_Sys%\Drivers",NOWARN
//--

[WriteSettings]
//Registry
Echo,"Registering components..."
RegHiveLoad,Tmp_Software,%RegSoftware%
RegWrite,"HKLM",0x1,"Tmp_Software\Acronis",,
RegWrite,HKLM,0x1,Tmp_Software\Acronis\DiskDirector,enterprise,%pTextBox_SNr%
RegWrite,"HKLM",0x1,"Tmp_Software\Acronis\DiskDirector\Settings","SystemInfoPath","X:\Program Files\Acronis\DiskDirector\systeminfo.exe"
RegWrite,"HKLM",0x1,"Tmp_Software\Acronis\DiskDirector\Settings","WorkingDir","X:\Program Files\Acronis\DiskDirector"
RegWrite,"HKLM",0x1,"Tmp_Software\Acronis\DiskDirector\CommonComponents","kb_link.dll","X:\Program Files\Acronis\DiskDirector\kb_link.dll"
RegWrite,"HKLM",0x1,"Tmp_Software\Acronis\DiskDirector\CommonComponents","timounter.dll","X:\Program Files\Acronis\DiskDirector\timounter.dll"
RegWrite,"HKLM",0x1,"Tmp_Software\Acronis\DiskDirector\CommonComponents","events_trace.dll","X:\Program Files\Acronis\DiskDirector\events_trace.dll"
RegWrite,"HKLM",0x1,"Tmp_Software\Acronis\DiskDirector\CommonComponents","core_workers_shared_context.dll","X:\Program Files\Acronis\DiskDirector\core_workers_shared_context.dll"
RegWrite,"HKLM",0x1,"Tmp_Software\Acronis\DiskDirector\CommonComponents","ftrace.dll","X:\Program Files\Acronis\DiskDirector\ftrace.dll"
RegWrite,"HKLM",0x1,"Tmp_Software\Acronis\DiskDirector\CommonComponents","fnls.dll","X:\Program Files\Acronis\DiskDirector\fnls.dll"
RegWrite,"HKLM",0x1,"Tmp_Software\Acronis\DiskDirector\CommonComponents","rpc_client.dll","X:\Program Files\Acronis\DiskDirector\rpc_client.dll"
RegWrite,"HKLM",0x1,"Tmp_Software\Acronis\DiskDirector\CommonComponents","gc.dll","X:\Program Files\Acronis\DiskDirector\gc.dll"
RegWrite,"HKLM",0x1,"Tmp_Software\Acronis\DiskDirector\CommonComponents","thread_pool.dll","X:\Program Files\Acronis\DiskDirector\thread_pool.dll"
RegWrite,"HKLM",0x1,"Tmp_Software\Acronis\DiskDirector\CommonComponents","libssl10.dll","X:\Program Files\Acronis\DiskDirector\libssl10.dll"
RegWrite,"HKLM",0x1,"Tmp_Software\Acronis\DiskDirector\CommonComponents","libcrypto10.dll","X:\Program Files\Acronis\DiskDirector\libcrypto10.dll"
RegWrite,"HKLM",0x1,"Tmp_Software\Acronis\DiskDirector\CommonComponents","icu38.dll","X:\Program Files\Acronis\DiskDirector\icu38.dll"
RegWrite,"HKLM",0x1,"Tmp_Software\Acronis\DiskDirector\CommonComponents","resource.dll","X:\Program Files\Acronis\DiskDirector\resource.dll"
RegWrite,"HKLM",0x1,"Tmp_Software\Acronis\DiskDirector","RecoveryExpertPath","X:\Program Files\Acronis\DiskDirector\RecoveryExpert.exe"
RegWrite,HKLM,0x4,Tmp_Software\Acronis\DiskDirector\Settings,Standalone,1
RegHiveUnLoad,Tmp_Software
//--
RegHiveLoad,Tmp_System,%RegSystem%
System,ERROROFF,2
RegMulti,HKLM,Tmp_System\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318},UpperFilters,APPEND,fltsrv
RegWrite,HKLM,0x7,Tmp_System\ControlSet001\Control\Class\{71A27CDD-812A-11D0-BEC7-08002BE2092F},UpperFilters,fltsrv
RegWrite,HKLM,0x1,Tmp_System\ControlSet001\services\fltsrv,DisplayName,"Acronis Storage Filter Management"
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\services\fltsrv,Type,1
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\services\fltsrv,Start,0
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\services\fltsrv,ErrorControl,1
RegWrite,HKLM,0x2,Tmp_System\ControlSet001\services\fltsrv,ImagePath,system32\DRIVERS\fltsrv.sys
RegWrite,HKLM,0x1,Tmp_System\ControlSet001\services\fltsrv,Group,"PnP Filter"
If,%SourceArch%,Equal,x64,RegWrite,HKLM,0x4,Tmp_System\ControlSet001\services\fltsrv,WOW64,1
RegWrite,HKLM,0x1,Tmp_System\ControlSet001\services\snapman,DisplayName,"Acronis Snapshots Manager"
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\services\snapman,Type,1
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\services\snapman,Start,0
RegWrite,HKLM,0x4,Tmp_System\ControlSet001\services\snapman,ErrorControl,1
RegWrite,HKLM,0x7,Tmp_System\ControlSet001\Services\snapman,DependOnService,fltsrv
RegWrite,HKLM,0x2,Tmp_System\ControlSet001\services\snapman,ImagePath,system32\DRIVERS\snapman.sys
If,%SourceArch%,Equal,x64,RegWrite,HKLM,0x4,Tmp_System\ControlSet001\services\snapman,WOW64,1
RegHiveUnLoad,Tmp_System

[pButton_import]
Call,HostOSArch
If,%HostOSArch%,Equal,x64,System,REGREDIRECT,64
If,ExistRegKey,HKLM,Software\Acronis\DiskDirector,enterprise,Begin
  RegRead,HKLM,Software\Acronis\DiskDirector,enterprise,%temp_reg_key%
  set,%retValue%,""
  _Calculate,InputBox('Get your current key'#$c 'Your current installed Acronis Disk Director 12 key. If you press OK the existing key in script overwrites!'#$c '%temp_reg_key%'#$c ''#$c 600#$c 150),retValue
  if,not,%retValue%-,Equal,-,Begin
    ScriptInterface,Write,Value,,,pTextBox_SNr,%retValue%
    System,REFRESHINTERFACE
  End
End
Else,Begin
  Message,"No installed serialnr. found!",Error
End
If,%HostOSArch%,Equal,x64,System,REGREDIRECT,OFF
//--
[Launch_Program]
Run,%ScriptFile%,Extract
Call,Start,,%ProgramEXE%,,%ProjectTemp%\TempExtractFolder\%ProgramFolder%\%ProgramFolder%
I'm still a little confused about why you have to enter this syntax to have the directories in the correct order.

If,Not,ExistDir,%Target_Prog%\%ProgramFolderR%,DirMake,%Target_Prog%\%ProgramFolderR%
If,ExistDir,%Target_Prog%\%ProgramFolderR%,Shellexecute,Hide,cmd.exe,"/C rd /s /q #$q%Target_Prog%\%ProgramFolder%#$q"
If,ExistDir,%Target_Prog%\%ProgramFolderR%,Call,DirDelete,%Target_Prog%\%ProgramFolder%
DirCopy,%ProjectTemp%\TempExtractFolder\%ProgramFolder%\%ProgramFolder%,%Target_Prog%\%ProgramFolderR%

Without the R the directory becomes Acronis\DiskDirector\DiskDirector
But every other place like shortcut area in Win8.1SE.cfg it shows up like :confused:
Code: [Select]
[shortcut]
HD Tasks|Acronis Disk Director 12|X:\Program Files\Acronis\DiskDirector\DiskDirector.exe||
Desktop|Total Commander|%SystemDrive%\Program Files\Total Commander\totalcmd64.exe||
It also doesn't use the %SystemDrive%\Program Files like in Total Commander?
I am getting used to the basic's of the coding, but I know there must be a standard or it seems like
you are creating it.  Thanks for all your help. :thumbsup:

Re: Plugin Creator
« Reply #30 on: January 08, 2015, 10:08:31 PM »

Lancelot

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

Total Commander plugin on Win81SE server doesn't use %SystemDrive%\Program Files  :wink:

Let's make a new plugin for Acronis Multiarch and copy paste current ones in time  :wink: it would be a quick step by step tutorial to all  :thumbsup:

Acronis is a commercial un distributable product, better use
Utils\PC Provide Files

Selecting Plugin Type, it is "MultiArch ... ?",
same executable used ( DiskDirector.exe )
and with a subfolder (...\Acronis\DiskDirector)

so on Utils\PC Provide Files
1) Type: "MultiArch - SameExe - DifferentFolder - SubExeFolder"
2) give a name to plugin:
Acronis Disk Director 12
3) Goooooo

Now we have
AppsMy\1Prepare\Acronis Disk Director 12
start editing with [Variables]

these are easy:
%ProgramTitle%=Acronis Disk Director 12
%ProgramEXE%=DiskDirector.exe

I see you confuse this part
%ProgramFolderR%=Acronis
%ProgramFolder%=%ProgramFolderR%\DiskDirector

and this
%ProgramSourceFiles%=Acronis Disk Director 12_Files

Results should be:

Code: [Select]
[Variables]
%ProgramTitle%=Acronis Disk Director 12
%ProgramEXE%=DiskDirector.exe
%ProgramEXEx64%=%ProgramEXE%
%ProgramFolderR%=Acronis
%ProgramFolder%=%ProgramFolderR%\DiskDirector
%ProgramFolderx64%=%ProgramFolder%_x64
%ProgramSourceFiles%=Acronis Disk Director 12_Files
%ProvideFiles%=%GlobalTemplates%\%ProgramSourceFiles%
%FArch%=x86

now back to plugin interface, hit "Provide Files" button
put your acronis files to

\Workbench\Common\Acronis Disk Director 12_Files\x86\Acronis\DiskDirector

\Workbench\Common\Acronis Disk Director 12_Files\x64\Acronis\DiskDirector_x64


for additional files (like snapapi.dll )
create a folders
\Workbench\Common\Acronis Disk Director 12_Files\x86\Drivers
\Workbench\Common\Acronis Disk Director 12_Files\x64\Drivers
and put them inside
snapapi.dll
ramdrv.sys
fltsrv.sys
snapman.sys

inside plugin before //Dependencies line
Code: [Select]
//--
Set,%ProvideFilesDrivers%,%ProvideFiles%\%SourceArch%\Drivers
Call,FileCopyBiggerVersion,%ProvideFilesDrivers%\snapapi.dll,%Target_Sys%
Call,FileCopyBiggerVersion,%ProvideFilesDrivers%\ramdrv.sys,%Target_Sys%\Drivers
Call,FileCopyBiggerVersion,%ProvideFilesDrivers%\fltsrv.sys,%Target_Sys%\Drivers
Call,FileCopyBiggerVersion,%ProvideFilesDrivers%\snapman.sys,%Target_Sys%\Drivers
//--
//Dependencies - Require_FileQ : http://TheOven.org/index.php?topic=43.0 -- Macro Library : http://TheOven.org/index.php?board=14.0


ps: btw,
ramdrv.sys fltsrv.sys are Acronis files !? or Windows files !?  :wink:

they seem to be Acronis files  :wink:
 I only follow your plugin for this things, your further feedback will make things shape better  :wink:

up to this point,
File part of your plugin finished,
 See how it works on build (shortcuts corrects, files copied correctly etc... it won't work but we will be sure files ok)
  next episode registry and other stuff ;)

attach this new plugin with above instruction and we continue  :thumbsup:

:turtle:


edit:
fixed
Call,FileCopyBiggerVersion,%ProvideFilesDrivers%\snapapi.dll,%Target_Sys%\Drivers
-->
Call,FileCopyBiggerVersion,%ProvideFilesDrivers%\snapman.sys,%Target_Sys%\Drivers
« Last Edit: January 08, 2015, 11:08:16 PM by Lancelot »

Re: Plugin Creator
« Reply #31 on: January 09, 2015, 02:32:40 AM »

Prz42

  • Code Baker
  • Sr. Chef
  • ****
  • Date Registered: Jan 2014
  • Posts: 513
Hi Lancelot
Let's make a new plugin for Acronis Multiarch and copy paste current ones in time  :wink: it would be a quick step by step tutorial to all  :thumbsup:
Acronis is a commercial un distributable product, better use
Utils\PC Provide Files
 See how it works on build (shortcuts corrects, files copied correctly etc... it won't work but we will be sure files ok)
  next episode registry and other stuff ;)

attach this new plugin with above instruction and we continue  :thumbsup:
This definitely the way to go.  So many tools.  You have created a great tool. :thumbsup:
There was a couple of things that might make it more automated for beginners.
%ProgramSourceFiles%=Program_Files\Acronis Disk Director 12_Files
I put the Program_Files because I plan on adding 10 more programs to that location, which should make it cleaner.
Code: [Select]
%ProgramTitle%=DevManView
%FArch%=x64
It seems as if New Plugin Name should be linked to %ProgramTitle%=DevManView  as I used Acronis Disk Director 12
I have to tell you our directions seemed very straight forward. Is there anything you can add for adding
the drivers even though you explanation was spot on.  Thanks for all your help you are very insightful :great:.

Re: Plugin Creator
« Reply #32 on: January 09, 2015, 02:37:32 AM »

Lancelot

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

may I first ask one thing,
I just downloaded adirector trial to see what you are dealing with,
are you trying to create plugin for WinPE32.zip WinPE64.zip ?

Re: Plugin Creator
« Reply #33 on: January 09, 2015, 02:46:00 AM »

Prz42

  • Code Baker
  • Sr. Chef
  • ****
  • Date Registered: Jan 2014
  • Posts: 513
Hi Lancelot,
I am using the 32bit and the 64 bit files.   I put the files in the respected folders. Maybe that is the harder way.
But I got that insight from Atari, but you probably have a easier way.  Thanks for the help. :thumbsup:

Re: Plugin Creator
« Reply #34 on: January 09, 2015, 02:54:14 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
I mean,

are you using  WinPE32.zip WinPE64.zip files ?
--> these are files already available when you install Acronis DD (shortly dd)
C:\Program Files\Common Files\Acronis\DiskDirector\WinPE

?

Re: Plugin Creator
« Reply #35 on: January 09, 2015, 03:07:35 AM »

Prz42

  • Code Baker
  • Sr. Chef
  • ****
  • Date Registered: Jan 2014
  • Posts: 513
Hi Lancelot,
I installed the setup on VMWare on x86 and x64 and had the program create a windows pe.  Then I copied the files from
the wim file to the appropriate folders.  I then copied the serial number from the registry to use in the Pe.  I don't like
to use disk tool in anything but a PE.  I think that decision if because of the restore and backup.  :thumbsup: I didn't
have a direct download to the WinPe32.zip or the WinPe64.zip as in Acronis True Image as posted by Atari. :grin:

Re: Plugin Creator
« Reply #36 on: January 09, 2015, 03:26:06 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
I see,

ok than here are things:
I have WinPe32.zip and WinPe64.zip , so I continued with them
(you can get them from dd12 trial install ;))
https://www.dropbox.com/s/kle9561aym35ij3/Acronis%20Disk%20Director%2012_WinPE.7z?dl=0

it seems working ok on Win7PESE  :thumbsup:

The difference between your plugin is, multiarch zip files provided with provide files plugin, for a sub folder app ... brrr ;)
it cause lots of changes since I extract .zip file from provide file folder to temp first ... etc...  :wink:




anyway,
further with your plugin (without WinPe32.zip, WinPe64.zip by providing files manually)
you need to provide Microsoft.VC80.CRT files,
better under drivers folder
so your lines would be (at line 83 of your plugin)

Set,%t%,%ProvideFilesDrivers%,%ProvideFiles%\%SourceArch%\Drivers\Microsoft.VC80.CRT
FileCopy,%t%\Microsoft.VC80.CRT.manifest,%Target_Prog%\%ProgramFolder%
FileCopy,%t%\msvcm80.dll,%Target_Prog%\%ProgramFolder%
FileCopy,%t%\msvcp80.dll,%Target_Prog%\%ProgramFolder%
FileCopy,%t%\msvcr80.dll,%Target_Prog%\%ProgramFolder%

(or you may decide to put these 4 to your provide folder so  you won't need these lines ;))

after that (after line 89 of my plugin and probably same with yours ) take all rest to your plugin (overwrite previous things)

I made rest arrangements ready  :great:

I followed lines of 2aCD dd11 plugin and edit where required, you don't need to change but only modify if required (do not change RegAddBoot, lines etc. ;))

I hope you get rest nicely now  :thumbsup:

Re: Plugin Creator
« Reply #37 on: January 09, 2015, 04:49:01 AM »

Prz42

  • Code Baker
  • Sr. Chef
  • ****
  • Date Registered: Jan 2014
  • Posts: 513
Hi Lancelot,
I see,

ok than here are things:
I have WinPe32.zip and WinPe64.zip , so I continued with them
(you can get them from dd12 trial install ;))

it seems working ok on Win7PESE  :thumbsup:
I hope that didn't take you 5 minutes to modify the script.  :w00t:  It works great.  Also I could find the file
be doing the 7zip open inside and I found the files inside the install exe.  Just had to rename the
files to WinPe32.zip and WinPe64.zip.  I guess that is while they call you Lance a lot.  Thanks for the
help. :thumbsup:

Re: Plugin Creator
« Reply #38 on: January 09, 2015, 07:40:06 AM »

Lancelot

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

I now found, there is already plugin there
http://theoven.org/index.php?topic=1047.0

lost lots of time....  :sad: :sad:

Anyway, I am glad it worked out for you,
 Plıugin Creators are nice and will get things more easly for most apps, Acronis special case  :wink:

See You
:turtle:

Re: Plugin Creator
« Reply #39 on: January 13, 2015, 11:59:18 PM »

Lancelot

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

New Plugin Creator (v25) on server,

Now supporting batch (.cmd) files, just point a batch file and hit Goooo
1) ....blabla.cmd
2) blabla.cmd
3) Gooo

Tip:
Click "CMD" button at right bottom of "PC Packed" plugin
Than click Gooo button
You will get a quick "Test - Me" plugin



Special features of .cmd creation:
+ "Run From System32" option (default enabled)
+ See .cmd at interface of plugin
+ "Edit" button
ps: Startup option default enabled, hide option is optional for startup

(check 3rd picture at first topic post)







More words:

"PC Packed" plugin -> Options button --> "hide" option available to hide .cmd files

If you select Add Startup + hide options on PC Packed, you will get a hidden startup cmd  :wink:


Some notes for .cmd authors,
+
don't forget
Code: [Select]
cd /d "%~dp0"
at the begining of batch
+
don't forget
Code: [Select]
exit
at the end of the batch (if you want it close at the end ;))


Here is "Test ME.cmd" to test easly  :thumbsup:
Code: [Select]
cd /d "%~dp0"
Echo Test ME
cmd
(disable hide on this example)

Have fun
:turtle:
« Last Edit: August 16, 2017, 09:01:12 AM by Lancelot »

 

Powered by EzPortal