Jump to content

Recommended Posts

Posted

Just converting an old batch I have for Partition magic 8 which uses an Autoit script but I would like to convert this to Runonceex but having a little difficulty changing, this is my original cmd I was using:

start /wait %systemdrive%\INSTALL\APPLICATIONS\pm800\Setup\pm8pre.exe setup.exe

start /wait %systemdrive%\INSTALL\APPLICATIONS\pm800\Setup\setup.exe /s

& here is the runonceex cmd I changed to have tried a few variations & read the guide can't quite get there?

REG ADD %KEY%\120 /VE /D "Partition Magic 8" /f

REG ADD %KEY%\120 /V 1 /D "\"%systemdrive%\install\pm800\Setup\pm8pre.exe setup.exe\" /s" /f

on one line of course.


Posted
/s /v /qn

But without the two extra \"?

"\" %systemdrive%\install\pm800\Setup\pm8pre.exe setup.exe\" /s" /f

so:

REG ADD %KEY%\120 /VE /D "Partition Magic 8" /f

REG ADD %KEY%\120 /V 1 /D "%systemdrive%\install\pm800\Setup\pm8pre.exe setup.exe /s /v /qn" /f

This is powerquests partition magic 8 a few years old now. Not working with the above switches Astalavista.

Posted

Quick question...why doesn't the autoit script just call the setup executable?

Run ( "setup.exe /s /v /qn" )

Also if you like to toy with new things...MHz has been working with me on a RunOnceEx batch file replacement.

Any ways the proper way would for the batch would look like so:

REG ADD %KEY%\120 /VE /D "Partition Magic 8" /f

REG ADD %KEY%\120 /V 1 /D "%systemdrive%\install\pm800\Setup\pm8pre.exe" /f

REG ADD %KEY%\120 /V 2 /D "%systemdrive%\install\pm800\Setup\setup.exe /s /v /qn" /f

Now with the AutoIt replacement it would look some thing like so:

_FindDrive( "FIXED" , "boot.ini" )

$PATH = "install\Disk Tools\"

_Title ( "Disk Tools Installation..." )

_Key ( "Partition Magic 8" , 'pm800\Setup\pm8pre.exe|^pm800\Setup\setup.exe^ /s /v /qn' )

_Key ( "DiskKeeper 9" , 'DiskKe...

_RunOnce()

Which might seem like a lot more code at first...but as you stack things up it starts to lessen the amount of code required greatly. Check out the sample file included with it. Currently on the last page of the autoit thread.

Posted
i just downloaded the trial version i used the switch it worked.

i dont knw why it doesn't work for you ;)

Don't know exactly either, pretty sure the newer PM is not the same as the earlier Powerquest PM8 one.

@Nologic

Tried that also NG.

Quote:

Any ways the proper way would for the batch would look like so:

REG ADD %KEY%\120 /VE /D "Partition Magic 8" /f

REG ADD %KEY%\120 /V 1 /D "%systemdrive%\install\pm800\Setup\pm8pre.exe" /f

REG ADD %KEY%\120 /V 2 /D "%systemdrive%\install\pm800\Setup\setup.exe /s /v /qn" /f

Posted

<execute display='Partition Magic 8' program='#SourceDrive#\Install\Apps\PartitionMagic8\Setup.exe' arguments='/s /f2#SystemDrive#\Pmagic8.log'></execute>

thats what i use in my xplode, so ..

%cdrom%Install\Apps\PartitionMagic8\Setup.exe /s /f2%SystemDrive%\Pmagic8.log

u need the /f2 if running from cd :)

Posted

Got very tired with this up very late last night trying to sort, ended up dumping my autoit script & modified the setup.txt to setup.iss thanks to a member in these pages just can't remember his name??

I used his runonce ex & modified now working flawlessly thanks Guys.

REG ADD %KEY%\120 /VE /D "Partition Magic 8.00" /f

REG ADD %KEY%\120 /V 1 /D "%CDROM%\Software\pm800\setup\Setup.exe -s -f1\"%CDROM%\Software\pm800\setup\setup.iss"\" /f :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...