Topic: MiniTool® Partition Wizard  (Read 19875 times)

MiniTool® Partition Wizard
« on: March 22, 2014, 06:35:06 PM »

Aeolis

  • Chef
  • ***
  • Location: Rio de Janeiro, Brazil
  • Date Registered: Oct 2012
  • Posts: 134
DESCRIPTION: This script is designed to help managing partitions on PE environment using MiniTool® Partition Wizard as the tool for that. With it you can add shortcuts to Desktop, Start Menu and a Start Menu custom folder.

THE PROGRAM: MiniTool Partition Wizard Home Edition is a free partition manager software designed by MiniTool Solution Ltd. Our partition manager supports 32/64 bit Windows Operating System including Windows XP, Vista, Windows 7 and Windows 8. Home users can perform complicated partition operations by using this powerful yet free partition manager to manage their hard disk. Functions include: Resizing partitions, Copying partitions, Create partition, Extend Partition, Split Partition, Delete partition, Format partition, Convert partition, Explore partition, Hide partition, Change drive letter, Set active partition, Partition Recovery.

FROM AUTHOR: I hope you like using it as much as I liked creating it. I hope you can test and post your comments here. I would like suggestions on how to clean/improve this script.

VERSION: 1

CHANGELOG: v1: First release.

DOWNLOAD: * MiniTool_Partition_Wizard.7z (1035.37 kB - downloaded 1397 times.)

Best regards,

Aeolis
« Last Edit: March 22, 2014, 06:37:13 PM by Aeolis »

Re: MiniTool® Partition Wizard
« Reply #1 on: March 22, 2014, 08:54:13 PM »

Lancelot

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

As stated here recently http://theoven.org/index.php?topic=928.msg11585#msg11585
There is already verrrry nice plugin available at
 Gena\Apps\HD Tasks\"Partition Wizard Home"

feel free to add upx option with a checkbox , adding your name to credits or author sections (whichever suits you)
%Target_Prog%\%ProgramFolder%\*.exe
%Target_Prog%\%ProgramFolder%\*.dll
 :wink:


I had selected "MiniTool Partition Wizard" as Gena default partition management utility long time ago,
 I don't understand why it become so popular in 3 days around with +2 plugins  :lol:

ps:
About upx:
upx * sometimes trouble from experience,
 that is the reason upx not popular around much,
  a good way to detect if upx cause trouble is, unupx files and check if md5 compression is ok,
   also when (if) icons required upx with ignoring icons would be better...
    in the end of the day, if upx cause trouble somewhere somereason (today or in future with future releases), better check without upx option (a checkbox) to detect where which file.......
on "Partition Wizard Home" plugin, packing with 7z prefered, gaining space, avoiding upx troubles  :wink:
Still, since nowadays there are enough space & available to everyone, such stuff not demanded as before  :cool:
 with .wim compression set to max  :wink: :wink:
  it was more popular with Gena-ISO creation at past, besides there is .wim on Gena too ....
    shortly, very mostly lost popularity.....

ps2:
I like your upx -> log way  :thumbsup: :thumbsup:
Reminding there is upx.exe at all projects %Tools%\upx.exe


See You
:turtle:
« Last Edit: March 22, 2014, 08:55:59 PM by Lancelot »

Re: MiniTool® Partition Wizard
« Reply #2 on: March 22, 2014, 09:28:38 PM »

Aeolis

  • Chef
  • ***
  • Location: Rio de Janeiro, Brazil
  • Date Registered: Oct 2012
  • Posts: 134
Hello folks,

Dear Lancelot, a few days ago I ended one of my posts in another discussion here on TheOven.org (about AOMEI Backupper) with the following sentence: "Be cool, some more scripts are coming... :great:" in that very day I had there more scripts to post which were AOMEI Partition Assistant, MiniTool® Partition Wizard and Active@ Disk Image. The first one was already posted, the second one is now here and the third one is with a few problems that I am trying to solve before releasing it.

Yes, I have seen your MiniTool® Partition Wizard script, but No i have not copied it in any way. I have used my standard structure to script which is, by the way, a link to download the installer, a file box to feed that installer file and so on... I use that structure in almost all my scripts, because it's the way I think things should be done.

I do have a very big respect and gratitude to all of you who have taught me all over the years how to script and code in AutoIt by examples, advises and tips, so I would never do something that could violate that confidence I think I have earned over the years. So, I would not like to appear that I have copied your work and if that is the case just tell me that and I will remove this script forever. It's better to lose a few days of work than a friend.

Well, that been said, I would like reassure that I have worked from scratch in that script. Again, Lancelot, if I have, unwittingly, done something that disrespected you, please, forgive me. Just let me know if you would like me to remove the script.

Best regards,

Aeolis
« Last Edit: March 22, 2014, 09:32:40 PM by Aeolis »

Re: MiniTool® Partition Wizard
« Reply #3 on: March 22, 2014, 09:43:37 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
I did not say you copied anything  :confused:
 you can copy  :thumbsup:

I like to see plugins developed further together, as you may notice on plugins maintained on projects,
 I had thought we missed something on current plugin ! or you missed there is already one !
  Now all clear  :cool:
    You are sure free to create your own version of plugin  :thumbsup:  :thumbsup:

Also Feel free to use lines on Gena plugin on your version where required  :great:

maybe, just add a note at bottom of your plugin page, when there is another plugin around
ex:
Quote
Another plugin also available at
Gena\Apps\HD Tasks\"Partition Wizard Home"

Also, aside your prefered way of writing plugins,
 let me / us know if there is something missing on plugins around.  :thumbsup:

See You
:turtle:

Re: MiniTool® Partition Wizard
« Reply #4 on: March 23, 2014, 03:43:55 AM »

oliverjia

  • Jr. Chef
  • **
  • Date Registered: Feb 2014
  • Posts: 92
Dear friends,

    Please allow me, a newbie, to share my humble opinion - I would like to share my gratitude to your script authors/experts, for your sharing your work with us to make us newbies' life better and happier. With my full respect to both of your opinions, Lancelot and Aeolis, I personally feel it would be great if Aeolis's work could be kept here in the plugin section as a standalone thread (since as he mentioned, he constructed his scripts in a different way), so that us newbies could have more choices for these great software..

    One more great thing I experience on this forum here is how responsive and helpful you script experts are when us newbies requested some updates of existing scripts, or new scripts. I feel like this place is a wonderland for us newbies. Please, keep up your good work and share your work with us. Your work are always greatly appreciated by us newbies.

Regards,
oliverjia

Re: MiniTool® Partition Wizard
« Reply #5 on: March 23, 2014, 08:29:50 AM »

Lancelot

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

I personally feel it would be great if Aeolis's work could be kept here in the plugin section as a standalone thread
    You are sure free to create your own version of plugin  :thumbsup:  :thumbsup:

maybe english communication problem :confused:

See You
:turtle:

Re: MiniTool® Partition Wizard
« Reply #6 on: March 23, 2014, 04:10:23 PM »

trashy

  • Code Baker
  • Chef
  • ***
  • The Oven will always be my first Home
  • Location: RedNeck County
  • Date Registered: Feb 2013
  • Posts: 179
I think I finally get Lancelots point. What he's really trying to say is he'd rather see
everyone working together on one plugin trying to improve it rather than 3 different plugins
for the same software. I didn't even know that there was already another plugin for
Partition Wizard when I posted mine. See Lancelots Reply about running all projects from one folder.
http://theoven.org/index.php?topic=928.msg11608#msg11608

PS: The only draw back is a newbie, like me, want's to build one project then go to 1 plugin page to search
and download additional plugins!
PSS: I like Partition Wizard I don't care who's plugin it is.
« Last Edit: March 23, 2014, 04:17:48 PM by trashy »

Re: MiniTool® Partition Wizard
« Reply #7 on: March 24, 2014, 04:27:51 AM »

oliverjia

  • Jr. Chef
  • **
  • Date Registered: Feb 2014
  • Posts: 92
Sorry my bad, did not read carefully  :embarrassed:



Hi oliverjia,

maybe english communication problem :confused:

See You
:turtle:

Re: MiniTool® Partition Wizard
« Reply #8 on: March 25, 2014, 08:11:59 AM »

oliverjia

  • Jr. Chef
  • **
  • Date Registered: Feb 2014
  • Posts: 92
Dear Lancelot and other script experts,

I downloaded and tested MiniTool partition wizard plugin in Win8.1SE x64. The plugin I used is from Gena\Apps\HD Tasks\"Partition Wizard Home". The first time launching the partition wizard program everything appears fine, however, once I closed the program and re-lanuch partition wizard, I always get the error message in the pic below:

http://postimg.org/image/xx18f2un1/

Please help me check if there could be something I did wrong, or maybe the plugin could possibly have a bug?

Many thanks in advance for your help.

Regards,
oliverjia

Re: MiniTool® Partition Wizard
« Reply #9 on: March 25, 2014, 08:46:35 AM »

trashy

  • Code Baker
  • Chef
  • ***
  • The Oven will always be my first Home
  • Location: RedNeck County
  • Date Registered: Feb 2013
  • Posts: 179
oliverjia
If you haven't already, I would suggest trying Aeolis plugin it looks very well done!

Re: MiniTool® Partition Wizard
« Reply #10 on: March 25, 2014, 05:24:28 PM »

oliverjia

  • Jr. Chef
  • **
  • Date Registered: Feb 2014
  • Posts: 92
Dear Trashy,

    Thanks for the advice :thumbsup:. I have not tried it yet but will do it tonight when I get home.

Thanks.
oliverjia

Re: MiniTool® Partition Wizard
« Reply #11 on: March 26, 2014, 04:27:01 AM »

oliverjia

  • Jr. Chef
  • **
  • Date Registered: Feb 2014
  • Posts: 92
Hi,

   I tested the script by Aeolis on a Win8.1 x64 build. Unfortunately it did not work out. Please see the pic for error message. It appears the error happened when extracting files from the installer file. The previous version of AOMEI Backupper script worked fine.

The same error also happened for the current version of AOMEI Backupper script by Aeolis. I did not test Aeolis's other scripts such as AOMEI PA, but would it be possible for you to check these also?

 

http://postimg.org/image/wj8hcz1f7/

    Please help troubleshoot. Thanks for your hard work..

Many thanks.
oliverjia
« Last Edit: March 26, 2014, 05:10:01 AM by oliverjia »

Re: MiniTool® Partition Wizard
« Reply #12 on: March 26, 2014, 11:14:54 AM »

Aeolis

  • Chef
  • ***
  • Location: Rio de Janeiro, Brazil
  • Date Registered: Oct 2012
  • Posts: 134
Hello folks,

Dear oliverjia, please, answer a few questions:

1) When you say "I tested the script by Aeolis on a Win8.1 x64 build. Unfortunately it did not work out.", have you tested the script inside the PE environment or you could not even build the script?

2) The problem you are having "Unable to open the file install_script.iss" is a error message displayed by "ISISPECreator.exe" when it tries to read the "install_script.iss" file extracted by "innounp.exe". So I need you to do this: when that message pops-up DO NOT click on Ok. Then go to the folder you specified in the "Work folder" text box for the script you're working and check if there is a file named "install_script.iss" inside it or inside any folder there.

Best regards,

Aeolis
« Last Edit: March 26, 2014, 11:15:12 AM by Aeolis »

Re: MiniTool® Partition Wizard
« Reply #13 on: March 26, 2014, 05:31:24 PM »

oliverjia

  • Jr. Chef
  • **
  • Date Registered: Feb 2014
  • Posts: 92
Dear Aeolis,

    Thanks for your reply. The error message pop up when I run the script in WinBuilder 0.82, i.e., when trying to built the Win8.1SE x64 ISO. The same message also appeared when I click "extract installer" button in WinBuilder. Will report back when I find some time to do the test.

Many thanks for your hard work,
oliverjia

Re: MiniTool® Partition Wizard
« Reply #14 on: March 26, 2014, 08:08:49 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Dear Lancelot and other script experts,

I downloaded and tested MiniTool partition wizard plugin in Win8.1SE x64. The plugin I used is from Gena\Apps\HD Tasks\"Partition Wizard Home". The first time launching the partition wizard program everything appears fine, however, once I closed the program and re-lanuch partition wizard, I always get the error message in the pic below:

http://postimg.org/image/xx18f2un1/

Please help me check if there could be something I did wrong, or maybe the plugin could possibly have a bug?

Hi oliverjia,

I confirm your test result  :thumbsup:
I also tested with Gena and Win7PESE, there was no such error.

I guess There is something* with Win8.1SE that prevents such drivers (also tested with another partition manager)

Well I don't have enough time to trace more what is going on....


Besides this event remind me,
Active@ Partition Manager is the Main 3rd party partition manager of Gena,
 for very good reason I like, it does not use driver.
http://theoven.org/index.php?topic=937.new#new
 :wink:
Tested with Win8.1SE, all went fine  :thumbsup:
This will hopefully fit 3rd party partition management untill what is going on figured out well with others  :thumbsup:

See You
:turtle:

Re: MiniTool® Partition Wizard
« Reply #15 on: March 27, 2014, 01:04:28 AM »

oliverjia

  • Jr. Chef
  • **
  • Date Registered: Feb 2014
  • Posts: 92
Thanks Lancelot for the recommendation of Active PM. It does look nice, functions include support for Linux EXT4. Will add it to my Win8.1SE..

Best,
oliverjia

Re: MiniTool® Partition Wizard
« Reply #16 on: March 27, 2014, 11:22:31 PM »

ChrisR

  • XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
I confirm also the problem on the 2nd start in Win8pese and Win8.1se while it runs with Gena, Win7pe  :confused:

It seems to be related to the PartitionWizard disk access service drivers (pwdrvsio- pwdrvsio.sys).
When PartitionWizard is launched, It starts the service, if it is not already started and on exit, it stops it.
But on Win8 Win8.1se, once stopped, the service does not restart, I don't know why !!! Hence the concern to restart PartitionWizard.

Also, on Gena, Win7pe the services are stopped at PE startup. They are started in Win8, 8.1

Not really the right solution, I added a workaround for Win8.x SE with a batch below, to block the service stops, by deleting the service registry.
Thus, the service remains always started and it can be launched several times then. To test, it seems to work.

PartitionWizard_Home.cmd
Code: [Select]
@echo Off
Echo Start-up
for /f "tokens=2* delims= " %%a in ('reg query "HKLM\Software\Microsoft\Windows NT\CurrentVersion" /v CurrentVersion') do Set CurrentVersion=%%b
if "%CurrentVersion%" LEQ "6.1" Goto :StartPartitionWizard

for /f "tokens=1,3 delims=: " %%a in ('sc query pwdrvio') do (
  if "%%a"=="STATE" set statepwdrvio=%%b
)
if "%statepwdrvio%"=="RUNNING" (
  reg query HKLM\System\CurrentControlSet\Services\pwdrvio
  if %ERRORLEVEL% EQU 0 Reg Delete HKLM\System\CurrentControlSet\Services\pwdrvio /f
)

for /f "tokens=1,3 delims=: " %%a in ('sc query pwdspio') do (
  if "%%a"=="STATE" set statepwdspio=%%b
)
if "%statepwdspio%"=="RUNNING" (
  reg query HKLM\System\CurrentControlSet\Services\pwdspio
  if %ERRORLEVEL% EQU 0 Reg Delete HKLM\System\CurrentControlSet\Services\pwdspio /f
)

:StartPartitionWizard
Start Y:\Programs\PartitionWizard_Home\PartitionWizard.exe
Exit


I started with Gena 'Partition Wizard Home' plugin, the same could be done in Aeolis plugin  :smile:
* Partition Wizard Home.7z (203.38 kB - downloaded 193 times.)
The File Container for 'Partition Wizard Home' is in Gena Sweets.

:cheers:

Re: MiniTool® Partition Wizard
« Reply #17 on: March 28, 2014, 05:13:28 PM »

Aeolis

  • Chef
  • ***
  • Location: Rio de Janeiro, Brazil
  • Date Registered: Oct 2012
  • Posts: 134
Hello folks,

Finally, now I have a Windows 8.1 x64 image to test Win8.1 x64 PE builds. :great:

Well, while oliverjia doesn't come back with the answer for the tests I have asked him to do I did some tests myself. :lol:

The script I have done and is in the first post of this topic works very well in both Win8.1 x86 and Win8.1 x64 builds. Please, give it at least a try .

I have opened and closed MiniTool® Partition Wizard several times under Win8.1 x64 PE build and it still works as expected. Again, please, give it at least a try .

Best regards,

Aeolis
« Last Edit: March 28, 2014, 05:20:43 PM by Aeolis »

Re: MiniTool® Partition Wizard
« Reply #18 on: March 28, 2014, 10:04:36 PM »

ChrisR

  • XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
Hi Aeolis,

I have opened and closed MiniTool® Partition Wizard several times under Win8.1 x64 PE build and it still works as expected. Again, please, give it at least a try .
I confirm also[, It works well in win8 Win8.1 x86/x64, nice work  :thumbsup:
The disk access service drivers are started and stopped by PartitionWizard as expected and so no worries to restart it several times.

Thanks for your dependency list, I will study it to know what's wrong with the other plugin or to add to the base  :thumbsup:

Re: MiniTool® Partition Wizard
« Reply #19 on: March 29, 2014, 09:56:30 AM »

ChrisR

  • XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
I found what's wrong in Gena PartitionWizard for Win8, Win8.1. Thanks to Aeolis plugin :thumbsup:
In services, ImagePath needs to be written at Run time, in any case to have the path changed in the registry services.
Iin Win8.x the disk drivers service seems to be loaded earlier with the paths. I guess that the paths are different once the drives are assigned.

Code: [Select]
Retrieve,FILEVERSION,%Source_Sys%\hal.dll,%SourceVer%
If,%SourceVer%,Smaller,6.2.9200.00000,RegWrite,HKLM,0x2,Tmp_System\ControlSet001\Services\pwdrvio,ImagePath,system32\drivers\pwdrvio.sys
Else,RegAddBoot,HKLM,0x1,System\ControlSet001\Services\pwdrvio,ImagePath,\??\%SystemDrive%\windows\system32\drivers\pwdrvio.sys

If,%SourceVer%,Smaller,6.2.9200.00000,RegWrite,HKLM,0x2,Tmp_System\ControlSet001\Services\pwdspio,ImagePath,system32\drivers\pwdspio.sys
Else,RegAddBoot,HKLM,0x1,System\ControlSet001\Services\pwdspio,ImagePath,\??\%SystemDrive%\windows\system32\drivers\pwdspio.sys

Now, both scripts work  :great:
Gena's Partition Wizard Home v13 with some other additions (next to Partition Wizard Home_Bin.Script)
* Partition Wizard Home.7z (203.3 kB - downloaded 226 times.)

It is the same thing for EASEUS Partition Master Home and perhaps for other plugins.

Code: [Select]
Retrieve,FILEVERSION,%Source_Sys%\hal.dll,%SourceVer%
If,%SourceVer%,Smaller,6.2.9200.00000,RegWrite,HKLM,0x2,Tmp_System\ControlSet001\Services\epmntdrv,ImagePath,system32\epmntdrv.sys
Else,RegAddBoot,HKLM,0x1,System\ControlSet001\Services\epmntdrv,ImagePath,\??\%SystemDrive%\windows\system32\epmntdrv.sys

If,%SourceVer%,Smaller,6.2.9200.00000,RegWrite,HKLM,0x2,Tmp_System\ControlSet001\Services\EuGdiDrv,ImagePath,system32\EuGdiDrv.sys
Else,RegAddBoot,HKLM,0x1,System\ControlSet001\Services\EuGdiDrv,ImagePath,\??\%SystemDrive%\windows\system32\EuGdiDrv.sys

Thanks :thumbsup:

 

Powered by EzPortal