Help - Search - Members - Calendar
Full Version: PM8 batch to Runonceex
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   


Google Internet Forums Unattended CD/DVD Guide
MAVERICKS CHOICE
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.
Astalavista
http://www.appdeploy.com/packages/detail.asp?id=382

your solution
MAVERICKS CHOICE
QUOTE (Astalavista @ Jan 3 2005, 08:12 PM)

OK but this was installing fine in the original batch that called an autoit.exe & then pm8 setup.exe. I was just looking for a simple solution to convert this batch over to Runonceex that was all. sad.gif
Astalavista
CODE
/s /v /qn
MAVERICKS CHOICE
QUOTE (Astalavista @ Jan 3 2005, 08:30 PM)
CODE
/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.
Nologic
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.
Astalavista
i just downloaded the trial version i used the switch it worked.

i dont knw why it doesn't work for you newwink.gif
MAVERICKS CHOICE
QUOTE (Astalavista @ Jan 3 2005, 09:53 PM)
i just downloaded the trial version i used the switch it worked.

i dont knw why it doesn't work for you newwink.gif

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
MCT
CODE
<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 smile.gif
MAVERICKS CHOICE
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 smile.gif




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.