Help - Search - Members - Calendar
Full Version: Is this syntax ok?
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   


Google Internet Forums Unattended CD/DVD Guide
Mekrel
Ok, I know perfect Disk 6 is mentioned around here but I only have version 5,

I tried installing it myself on Vm Machine, but it didnt install.

I found a readme.txt in the extracted setup.exe which explain unattended installs.

I have to use the msiexec syntax, can this be used with RunonceEx?

CODE
REG ADD %KEY%\050 /VE /D "Perfect Disk + Update" /f
REG ADD %KEY%\050 /V 1 /D "%systemdrive%\install\Applications\perfectdisk\perfectdisk.exe /s" /f
REG ADD %KEY%\050 /V 2 /D "%systemdrive%\install\Applications\perfectdisk\msiexec /i Perfectdisk.msi /q ALLUSERS=1 ADDLOCAL="PDEngine,HelpFiles,GUI,DesktopIcon" INSTALL_DESKTOP_ICON=1" /f


Is this code alright? Never too sure on things when there are too many " lying about.

P.S Perfectdisk.exe is just a self extracting archieve.
Nologic
I think this is correct:

CODE
REG ADD %KEY%\050 /V 2 /D "msiexec /i %systemdrive%\install\Applications\perfectdisk\Perfectdisk.msi /q ALLUSERS=1 ADDLOCAL=\"PDEngine,HelpFiles,GUI,DesktopIcon\" INSTALL_DESKTOP_ICON=1" /f
Mekrel
Oh Poop huh.gif

just after I decided to test myself lol, such a pain cus i got to open up my pc - push in fdisk floppy and format the E drive on the virtual PC etc.. etc..

ok thanks, will try that after but I can see why it would be like that smile.gif

/OT You heard about sof3 nologic newwink.gif ?
Nologic
Heh yeah I heard about it...I'm going to see about talking to some of Apoxol's old mod dev team (Urban Terror by SID) and see if one of the guys will break me off a chunk of info. smile.gif
totoymola
Whoah.. You have a very long command.

Suggestion only: Why don't you compress your msi with winrar and add the switch/es to the comment?
Mekrel
Well I cant really see the advantage to that other than not having so much code in the command in runoncex.cmd - which I cant see as being a major problem.

but suggestions always welcome thumbup.gif
totoymola
The only advantage I think is.. you don't need to add long commands in your runonce. So it will look better. laugh.gif tongue.gif And of course, your installer will become smaller.




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.